/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, #3d4f5f 0%, #2a3a47 50%, #3d4f5f 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #fff;
}

.nav-links li a.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 56px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-home {
    background: linear-gradient(135deg, #4a5b6a 0%, #3d4f5f 25%, #2a3a47 50%, #3d4f5f 75%, #4a5b6a 100%);
    min-height: 300px;
}

.hero-services {
    background: linear-gradient(135deg, #25476f 0%, #1a3654 50%, #25476f 100%);
    min-height: 340px;
    position: relative;
}

.hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/s1.jpg') center/cover;
    opacity: 0.15;
}

.hero-contact {
    background: linear-gradient(135deg, #3d4f5f 0%, #343e44 50%, #3d4f5f 100%);
    min-height: 340px;
}

.hero-content {
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

/* Section Styles */
.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    color: #333;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.6;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 30px 0;
}

/* Features Grid */
.features-section {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
}

.feature-card img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
}

.feature-title {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Office Section */
.office-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.office-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about-section {
    padding-top: 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* Why Section */
.why-section {
    padding-top: 20px;
}

.why-content {
    text-align: center;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background-color: #3d4f5f;
    padding: 40px 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #4a9ba8;
    color: #fff;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #3d8a96;
}

/* Footer */
.footer {
    padding: 30px 20px;
    text-align: right;
    background-color: #fff;
}

.footer p {
    color: #666;
    font-size: 13px;
}

/* Services Page Styles */
.services-main {
    padding-top: 50px;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.services-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 0;
}

.services-list ul {
    list-style: disc;
    padding-left: 25px;
}

.services-list ul li {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 5px;
}

/* Contact Page Styles */
.contact-info {
    text-align: center;
    padding-bottom: 30px;
}

.contact-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.contact-phone {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-phone strong {
    font-weight: 700;
}

.contact-hours {
    font-size: 18px;
    color: #333;
}

/* Location Section */
.location-section {
    padding-top: 0;
}

.divider-with-text {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.divider-with-text span {
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.divider-with-text p {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.location-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.location-map {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Menu Open State */
body.menu-open .nav-links {
    display: flex;
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-image {
        text-align: center;
    }

    .services-image img {
        max-width: 100%;
    }

    .location-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #3d4f5f 0%, #2a3a47 100%);
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-links li a {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card img {
        max-width: 100%;
        height: auto;
    }

    .contact-title {
        font-size: 18px;
    }

    .contact-phone,
    .contact-hours {
        font-size: 15px;
    }

    .footer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 15px;
    }

    .hero {
        min-height: 250px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 16px;
    }

    .about-content p,
    .why-content,
    .services-list ul li {
        font-size: 14px;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }
}
