/* ==================== Global Styles ==================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* ==================== Typography ==================== */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #273E26;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

/* ==================== Navigation ==================== */

.navbar {
    background-color: #92927B;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
     text-transform: uppercase;
}

.nav-brand h1 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-weight: 300;
    color: #273E26;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #273E26;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
     text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffc107;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.25rem;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    background: #273E26;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==================== Buttons ==================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ffc107;
    color: #273E26;
}

.btn-primary:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-light {
    background-color: white;
    color: #273E26;
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ==================== Hero Section ==================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #273E26 0%, #92927B 100%);
    color: white;
    padding: 10rem 2rem;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: center;
    animation: slideInLeft 0.8s ease;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== Services Section ==================== */

.services {
    padding: 4rem 0;
    background-color: white;
}

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

.service-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    cursor: pointer;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 61, 130, 0.15);
    background: linear-gradient(135deg, #92927B 0%, #59594b 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

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

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: white;
}

/* ==================== Why Choose Us Section ==================== */

.why-choose-us {
    padding: 4rem 0;
    background: linear-gradient(0deg, #273E26 0%, #92927B 100%);
    color: white;
}

.why-choose-us h2 {
    color: white;
    margin-bottom: 3rem;
}

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

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    transform: translateY(-5px);
}

.feature h3 {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== References Section ==================== */

.references {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

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

.reference-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reference-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.reference-card:hover img {
    transform: scale(1.05);
}

.references-cta {
    text-align: center;
}

/* ==================== Reviews Section ==================== */

.reviews {
    padding: 4rem 0;
    background-color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: #333;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-author {
    color: #003d82;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==================== CTA Section ==================== */

.cta {
     background: linear-gradient(0deg, #273E26 0%, #92927B 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.2rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== Page Header ==================== */

.page-header {
   background: linear-gradient(0deg, #273E26 0%, #92927B 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== Contact Section ==================== */

.contact-section {
    padding: 4rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #273E26;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #003d82;
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

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

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ==================== Contact Info Wrapper ==================== */

.contact-info-wrapper h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.info-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: #273E26;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-box p {
    color: #666;
    margin-bottom: 0.5rem;
}

.info-box a {
    color: #273E26;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #ffc107;
}

/* ==================== Map Section ==================== */

.map-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    margin-bottom: 2rem;
}

.map-placeholder {
    background: white;
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #003d82;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== Footer ==================== */

.footer {
    background-color: #273E26;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ==================== Gallery Page ==================== */

.gallery-container {
    padding: 4rem 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==================== Responsive Design ==================== */

@media (max-width: 1024px) {
    .navbar .container {
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem;
        gap: 1.5rem;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
        z-index: 1050;
    }

    .navbar.nav-open .nav-menu {
        transform: translateX(0);
    }

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

    .nav-menu a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        text-align: left;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        border-bottom: none;
        color: #273E26;
    }

    .hero {
        flex-direction: column;
        padding: 10rem 2rem;
    }

    .hero {
        flex-direction: column;
        padding: 10rem 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0.5rem 10px;
    }

    .nav-brand h1 {
        font-size: 12px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
    }
}
