:root {
    --primary: #064E3B;
    --primary-light: #10B981;
    --primary-dark: #064030;
    --accent: #F59E0B;
    /* Amber for professional CTA contrast */
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6B7280;
    --bg-white: #FFFFFF;
    --bg-soft: #F3F4F6;
    --bg-mint: #F0FDF4;
    --glass: rgba(255, 255, 255, 0.8);
    --border: #E5E7EB;
    --red: #ef4444;
    /* Added for contact page accents */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1280px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 110px;
    /* Offset for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-dark);
}

a {
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

/* Corporate Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.25);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Improved Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    /* Full screen header */
    margin: 0;
    padding: 10px 4rem;
    /* Generous padding for full width look */
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo-text span {
    color: var(--primary-light);
    margin-left: 2px;
}

footer .logo-text {
    color: #FFFFFF;
}

footer .logo-text span {
    color: var(--primary-light);
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    /* Remove points */
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1500;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links li:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
    list-style: none;
    /* Extra assurance */
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-mint);
    color: var(--primary);
}

.dropdown-menu a::after {
    display: none;
}

/* Hamburger Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Nav Overlay */
.nav-links-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.nav-links-mobile.active {
    right: 0;
}

.nav-links-mobile a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-overlay-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    backdrop-filter: blur(5px);
}

.mobile-overlay-blur.active {
    display: block;
}

/* Corporate Hero */
.hero {
    position: relative;
    height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-inner {
    height: 35vh !important;
    /* Decreased size for all pages */
    min-height: 300px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: transform 0.1s linear;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.9) 0%, rgba(6, 78, 59, 0.6) 100%);
    z-index: -1;
}

.hero-paver {
    width: 450px;
    height: auto;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

/* Modern Sections */
.section-padding {
    padding: 120px 0;
}

/* Visibility fixes for buttons on dark backgrounds */
.hero-btns .btn-primary {
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btns .btn-primary:hover {
    background: #FFFFFF;
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-btns .btn-outline {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero-btns .btn-outline:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    display: block;
}

/* Service Card Concept - Image Style */
.service-card {
    background: #FFFFFF;
    padding: 3.5rem 2.5rem;
    border-radius: 4px 16px 16px 4px;
    /* Slightly more rounded on the right */
    border: 1px solid var(--border);
    border-left: 6px solid var(--primary);
    /* Thick green left border */
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 800;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    flex-grow: 1;
}

.service-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.service-card-link i {
    font-size: 2rem;
    /* Even larger arrow as per image */
    color: var(--primary);
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-card:hover .service-card-link i {
    transform: translateX(10px);
}

/* Animations (Internal Only - applied via JS/Classes) */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Micro-animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Contact Page Refinement */
.contact-label {
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: block;
}

.contact-info-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-red {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-red:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 78, 59, 0.3);
}

/* Floating Widget */
.floating-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 2000;
}

.floating-btn {
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.05);
    background: #20BA5A;
}

.floating-btn i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center !important;
        gap: 2rem !important;
    }

    .hero-paver {
        width: 300px !important;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
    }

    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Contact Page Mobile */
    .contact-info-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .grid>div:first-child {
        text-align: center;
    }

    .grid>div:first-child p,
    .grid>div:first-child .contact-label {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Corporate Footer */
footer {
    background: #0d1117;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.scroll-top i {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}