/* --- 1. GLOBAL & TYPOGRAPHY --- */
:root {
    --primary-color: #1a73e8; /* Google Blue */
    --secondary-color: #34a853; /* Google Green */
    --background-light: #f5f5f5;
    --background-dark: #3c4043; /* Dark gray for footer */
    --text-dark: #202124;
    --text-light: #ffffff;
}

body {
    font-family: 'Roboto', Arial, sans-serif; /* Clean, modern font */
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}
h1, h2, h3 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.section {
    padding: 60px 0;
    text-align: center;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px; /* Slightly rounded edges */
    margin-top: 15px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:hover { 
    background-color: #145cb3; 
    transform: translateY(-1px);
}

/* --- 2. NAVIGATION BAR --- */
.navbar {
    background-color: var(--text-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95em;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}
.navbar-menu a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- 3. HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1600x500/004085/ffffff?text=Modern+Code+Background');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 120px 20px; /* Increased vertical padding */
    text-align: center;
}
.hero h1 { 
    font-size: 3em; 
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero p { 
    font-size: 1.2em; 
    opacity: 0.9; 
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- 4. FEATURE SECTION --- */
.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 25px;
    margin-top: 40px;
}
.feature-item {
    flex: 1;
    background: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}
.feature-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.feature-item h3 { color: var(--secondary-color); font-size: 1.3em; }
.feature-item p { color: #6c757d; font-size: 0.95em; }

/* --- 5. CARD LAYOUT (Companies) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}
.company-card {
    background-color: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color);
}
.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.company-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid var(--background-light);
}
.company-card h3 { color: var(--secondary-color); margin: 5px 0; }
.card-grid .btn { 
    background-color: var(--secondary-color); 
    padding: 8px 20px;
    font-size: 0.9em;
}
.card-grid .btn:hover { background-color: #2b7d41; }


/* --- 6. ATTRACTIVE FOOTER --- */
.footer {
    background-color: var(--background-dark);
    color: #bdbdbd;
    padding: 40px 0 20px;
    font-size: 0.9em;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #545454;
}
.footer-col {
    width: 30%; 
    padding: 15px 0;
}
.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 15px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li a {
    color: #bdbdbd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--text-light); }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #888;
}

/* --- 7. RESPONSIVENESS (Media Queries) --- */

/* Tablet and Smaller Desktop (Max 992px) */
@media (max-width: 992px) {
    .features-grid {
        flex-direction: column; /* Stack features vertically */
    }
    .feature-item {
        margin-bottom: 20px;
    }
    .footer-col {
        width: 45%; /* Two columns in the footer */
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .navbar-menu {
        display: none; /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 65px;
        left: 0;
        background-color: var(--text-light);
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
        padding-bottom: 10px;
    }
    .navbar-menu.active {
        display: flex; /* Show menu when active */
    }
    .navbar-menu a {
        margin: 10px 0;
        padding: 10px 20px;
        text-align: left;
        border-bottom: none;
    }
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }
    .footer-col {
        width: 100%; /* Single column footer on mobile */
        text-align: center;
    }
    .footer-col h4 {
        margin-top: 20px;
    }
}