/* ========================
   CSS Reset & Variables
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #16a34a; 
    --primary-dark: #128c40;
    --primary-light: #dcfce7;
    --secondary-color: #2c3e50; 
    --text-color: #4b5563; 
    --light-bg-color: #f9fafb;
    --white-color: #ffffff;
    --border-color: #e5e7eb;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ========================
   Buttons
   ======================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.whatsapp-btn i {
    margin-right: 8px;
}

/* ========================
   Header (Sticky & Polished)
   ======================== */
.main-header {
    background-color: var(--white-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

.main-header.sticky {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-accent {
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-link:not(.active)::after {
    transform: scaleX(0);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s ease;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

/* ========================
   Hero Slider Section
   ======================== */
.hero-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px; /* To account for the fixed header */
}

.hero-slider {
    display: flex;
    width: 300%;
    height: calc(100vh - 80px); /* Adjust height to fill viewport below header */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--white-color);
    width: 90%;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInDown 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.hero-content .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.slide-btn {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-btn.active, .slide-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================
   About Section
   ======================== */
.about-section {
    background-color: var(--white-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-content .description {
    margin-bottom: 1rem;
}

.differentiators {
    list-style: none;
    margin-top: 1.5rem;
}

.differentiators li {
    font-weight: 500;
    margin-bottom: 10px;
}

.differentiators li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ========================
   Services Section
   ======================== */
.services-section {
    background-color: var(--light-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .icon-box i {
    color: var(--white-color);
}

.service-card .read-more {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card:hover .read-more {
    color: var(--white-color);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card p {
    transition: color 0.3s ease;
}

/* ========================
   Gallery Section 1 (Grid)
   ======================== */
.gallery-section {
    background-color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
}

/* ========================
   Gallery Section 2 (Boxed Style)
   ======================== */
.project-showcase-section {
    background-color: var(--light-bg-color);
}

.project-showcase-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.showcase-item {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.showcase-content {
    padding: 2rem;
}

.showcase-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.showcase-content p {
    margin-bottom: 1.5rem;
}

.btn-showcase {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.btn-showcase:hover {
    transform: translateX(5px);
    color: var(--primary-dark);
}

.btn-showcase i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #1a242f);
    color: var(--white-color);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ========================
   Contact Section
   ======================== */
.contact-section {
    background-color: var(--white-color);
}

.contact-section .section-title {
    color: var(--secondary-color);
}

.contact-section .section-title::after {
    background-color: var(--primary-color);
}

.contact-grid-three-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid-three-col {
        grid-template-columns: 1.2fr 1.5fr 1fr;
    }
}

.contact-column h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
}

.contact-info .info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-form-container {
    background-color: var(--light-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.btn-full-width {
    width: 100%;
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-tagline {
    font-size: 1rem;
    color: var(--text-color);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--white-color);
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.whatsapp-share-btn {
    background-color: #25d366;
}

.facebook-btn {
    background-color: #3b5998;
}

.instagram-btn {
    background-color: #c13584;
}

.share-options h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

/* ========================
   Footer
   ======================== */
.main-footer {
    background-color: #1a232f;
    color: #a0a0a0;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    border-bottom: 1px solid #3e4b5d;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo:hover {
    color: var(--white-color);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-column a {
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-start;
    }
}

.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* ========================
   Modals
   ======================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: var(--white-color);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.4s ease-in-out;
}

.close-btn {
    color: var(--secondary-color);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-body ul {
    list-style: none;
}

.modal-body li {
    background-color: var(--light-bg-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========================
   WhatsApp Floating Button
   ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========================
   Responsiveness
   ======================== */
@media (max-width: 991px) {
    .contact-grid-three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--white-color);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }
    .main-nav ul.show {
        display: flex;
    }
    .main-nav ul li {
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: 1rem;
    }
    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }
}