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

:root {
    --primary: #1a3c6e;
    --secondary: #e63946;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #2a9d8f;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    padding-top: 130px;
    /* Adjusted for fixed header */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

/* Top Header Bar */
.top-header {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-contact i {
    color: var(--accent);
}

.header-social {
    display: flex;
    gap: 1rem;
}

.header-social a {
    color: white;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--accent);
}

/* Main Header & Navigation */
header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1.2;
}

.logo-text span {
    color: var(--secondary);
    font-weight: 700;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--secondary);
}

.nav-menu>li>a:hover::after,
.nav-menu>li>a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: var(--secondary);
}

/* Nav Button Style */
.nav-menu .nav-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary);
    height: auto;
    line-height: 1.6;
}

.nav-menu .nav-btn:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-menu .nav-btn::after {
    display: none !important;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid var(--secondary);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--secondary);
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
    color: var(--gray);
}

.dropdown-menu a:hover i {
    color: var(--secondary);
}

.nav-menu>li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-button {
    background-color: var(--secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
}

/* Mobile Menu */
@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 130px);
        background-color: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 15px;
        border-bottom: 1px solid var(--light-gray);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu>li>a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .nav-menu>li>a.active::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light);
        margin-top: 0;
        display: none;
        border-top: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.active {
        display: block;
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 12px 25px;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 15px;
    }

    .top-header .header-contact {
        flex-direction: column;
        gap: 5px;
    }

    .top-header .header-social {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    .header-container {
        padding: 10px 0;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .top-header {
        font-size: 0.8rem;
        padding: 5px 0;
    }

    .nav-menu {
        top: 120px;
        height: calc(100vh - 120px);
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.3rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .header-actions {
        gap: 10px;
    }

    .top-header .header-contact span {
        font-size: 0.75rem;
    }
}

/* Header Scroll Effect */
header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 60, 110, 0.85), rgba(26, 60, 110, 0.8)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    text-align: center;
    margin-top: -130px;
    padding-top: 180px;
}

.hero h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-light:hover {
    background-color: white;
    color: var(--primary);
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: var(--primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 1.5rem;
}

.service-content {
    padding: 0 1.5rem 1.5rem;
}

.service-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
}

.service-content ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 0;
    background-color: var(--light);
}


.why-us-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.why-us-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us-img img {
    width: 100%;
    height: auto;
    display: block;
}

.why-us-content {
    flex: 1;
}

.why-us-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    background-color: var(--success);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.why-us-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary);
}

.why-us-icon {
    background: var(--primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(26, 60, 110, 0.2);
}

.why-us-card:hover .why-us-icon {
    background: var(--secondary);
    transform: rotateY(360deg);
}

.why-us-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary);
}

/* Mission & Vision */
.mission-vision {
    padding: 5rem 0;
    background-color: var(--light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary);
}

.mission-icon {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    display: inline-block;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Core Values */
.core-values {
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-gray);
}

.value-icon {
    background: var(--primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--secondary);
    transform: rotateY(180deg);
}

/* Team Section */
.team {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    margin-bottom: 0.3rem;
}

.team-info p {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Industries We Serve */
.industries {
    padding: 5rem 0;
    background-color: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-icon {
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-services a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
}

.footer-newsletter input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Styles for other sections */
@media (max-width: 1100px) {
    .why-us-container {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        margin-top: -120px;
        padding-top: 160px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .btn-light {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }

    .services,
    .why-us,
    .team,
    .industries,
    .contact {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Our Clients Section */
.clients-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.client-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary);
}

.client-icon {
    background: var(--primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(26, 60, 110, 0.2);
}

.client-card:hover .client-icon {
    background: var(--secondary);
    transform: rotateY(360deg);
}

.client-card h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.4;
}