/* teamsTechnology.css */

/* --- Base Styles --- */
:root {
    --primary-color: #0056b3; /* Darker Blue */
    --primary-light: #007bff; /* Brighter Blue */
    --accent-color: #fd7e14; /* Orange/Yellow for accents */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #dee2e6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif; /* A professional and readable font */
    line-height: 1.6;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures footer stays at bottom */
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* A strong heading font */
    color: var(--primary-color);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-light);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-light);
    padding: 8px 15px;
    border: 2px solid var(--primary-light);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: white;
}

.btn-white {
    display: inline-block;
    background-color: white;
    color: var(--primary-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-white:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* --- Header --- */
.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a:not(.btn-primary) {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    /* Background for this specific page's hero section */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1600x900?team,innovation,education');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 500px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.hero-btn {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
    text-align: center;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.content-section h2 {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: -30px auto 50px auto;
    color: #555;
}

/* Mission Section (used for Our Team) */
.mission-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mission-item {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Courses Section (used for Our Technology) */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.course-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.course-card p {
    color: #555;
    flex-grow: 1;
}

.course-card .btn-secondary {
    margin-top: 20px;
    align-self: flex-start;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-light);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}


/* --- Footer Styles --- */
.site-footer {
    background-color: var(--bg-dark); /* Dark background */
    color: var(--text-light); /* Light text */
    padding: 40px 20px;
    margin-top: auto; /* Pushes footer to the bottom */
    font-size: 0.9em;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light); /* Accent color on hover */
}

.footer-branding p {
    margin-top: 0;
    line-height: 1.8;
}

/* Firebase Credit Styling */
.site-footer .footer-branding .firebase-credit {
    font-size: 1em; /* Make it slightly larger than the default footer text (which is likely 0.9em) */
    font-weight: 600; /* Make it bolder for better visibility */
    color: white; /* Ensure it's pure white for maximum contrast against the dark footer background */
    margin-top: 15px; /* Add a bit more space above it to separate it visually */
    margin-bottom: 15px; /* Add a bit more space below it */
    opacity: 1; /* Ensure full opacity if any parent element has lower opacity */
}

/* Color for "Powered by Google" */
.site-footer .firebase-credit .google-powered {
    color: #4285F4; /* Google Ecosystem Blue */
    font-weight: 700; /* Make it extra bold to stand out */
    text-shadow: 0 0 5px rgba(66, 133, 244, 0.4); /* Optional: Add a subtle text shadow for more pop */
}

.footer-branding .tagline {
    font-style: italic;
    font-size: 0.95em;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-light);
}

.newsletter-callout {
    margin-top: 20px;
    font-style: italic;
}

.newsletter-callout a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: bold;
}

.newsletter-callout a:hover {
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 1.9em;
    }
}

@media (max-width: 768px) {
    .main-header .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-section {
        padding: 80px 20px;
        height: auto;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .mission-item, .testimonial-card {
        max-width: 100%; /* Full width on smaller screens */
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        width: 100%;
        max-width: 400px;
    }
    .footer-section h3 {
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
    }
    .footer-section ul {
        margin-bottom: 20px;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .btn-primary, .btn-white {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .site-footer {
        padding: 30px 15px;
    }
}
