/* --- Variables & Global Styles --- */
:root {
    --primary-color: #f7b32c; /* Yellow/Gold from the button/icons */
    --secondary-color: #1a237e; /* Dark Blue from the logo/text */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    --primary-yellow: #fddb3a;
    --dark-blue: var(--secondary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative; /* Essential for mobile menu positioning */
}

.logo-container {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
}

.logo-container img {
    height: 30px; 
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    transition: all 0.3s ease-in-out; 
}

.nav-links a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px; 
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
   color: var(--primary-yellow);
   border-bottom: 2px solid var(--primary-yellow);
}

/* Burger Menu Button (Hidden by default) */
.burger-menu {
    display: none; 
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--dark-blue);
    z-index: 110;
}


/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    background-color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    max-width: 50%; 
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    display: block; 
}

.services-tag {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-text p {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color); 
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background-color: #e5a425; 
}


/* --- What We Do Section (Services Grid) --- */
.services-grid-section {
    padding: 60px 0 100px;
    background-color: var(--light-bg);
}

.services-grid-section h3 {
    text-align: left;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--secondary-color); 
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    padding: 20px 0;
    border-top: 1px solid #eee;
    background-color: var(--white);
    color: #666;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .logo {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.footer-content .logo img {
    height: 30px;
}


/* --- Responsive Design --- */

/* Tablet and Smaller Desktop Adjustments */
@media (max-width: 992px) {
    /* Main Layout */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 30px;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    /* Navigation Bar Adjustments */
    .navbar {
        padding: 20px 30px;
        margin: 15px 15px;
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    /* Main Layout */
    .services-grid {
        grid-template-columns: 1fr; 
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    /* Mobile Navigation (Burger Menu Implementation) */
    .navbar {
        padding: 15px 20px;
        margin: 10px 10px;
    }

    .burger-menu {
        display: block; 
    }

    .nav-links {
        /* Mobile menu state: hidden off-screen */
        position: fixed; /* Use fixed to cover the whole viewport */
        top: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--dark-blue); 
        width: 70%;
        height: 100vh;
        padding: 100px 30px 20px;
        transform: translateX(100%); 
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    /* JavaScript will add this class to show the menu */
    .nav-links.open {
        transform: translateX(0); 
    }

    /* Style for the links inside the mobile menu */
    .nav-links a {
        color: var(--white);
        margin: 15px 0;
        font-size: 1.2rem;
        display: block;
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
       color: var(--primary-yellow);
       /* Use box shadow or a bottom padding trick if border-bottom looks too sharp on mobile */
    }
    .hero-image{
        display: none;
    }
}