:root {
    --primary: #16a34a;
    --primary-hover: #15803d;
    --accent: #bef264;
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-light: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
    --theme-dark: #1a2e2a;
    /* Color from user image */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 60px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(90deg, #bef264, #16a34a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navbar */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo span {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    color: #ffffff;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    /* Slight move down for balance */
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    /* Full visibility */
}

/* Removed hero background overlay as requested */


.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 6px 5px #1B3738;
    /* Prominent shadow */
}

.hero-text span {
    display: block;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 450px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 5px #1B3738;
    /* Prominent shadow */
}

.hero-form {
    margin-top: 0;
}

/* Form Styling */
.lead-form {
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    width: 450px;
    /* Explicit width to force expansion */
    max-width: 100%;
    /* Ensure responsiveness */
    border-radius: 12px;
}

.lead-form h3 {
    font-size: 1.25rem;
    margin-bottom: 0.1rem;
}

.lead-form p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fdfdfd;
}

.form-group input:disabled,
.form-group textarea:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.5rem 1rem;
}

/* Why Us Section */
.why-us-section {
    background: #ffffff;
    color: var(--text-main);
}

.why-us-section h2 {
    color: var(--text-main);
}

.subtitle {
    color: var(--accent);
}

.why-us-header {
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    padding: 2.5rem;
    height: 100%;
}

.why-card .icon {
    width: 80px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.why-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.why-card h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-card.highlight {
    background: var(--primary);
    color: white;
}

.why-card.highlight p,
.why-card.highlight .enquire-link {
    color: rgba(255, 255, 255, 0.9);
}

.why-card .enquire-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.why-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* About Section New Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.about-main-title {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-description p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.btn-pill-enquire {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #1a2e2a;
    color: white;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-pill-enquire:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.pill-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.about-img-frame {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 20px;
    height: auto;
}

.card-dark {
    background: #1a2e2a;
    color: white;
}

.card-bright {
    background: var(--accent);
    color: #1a2e2a;
}

.card-num {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.about-stats-header h3 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mini-stat h4 {
    font-size: 2rem;
    color: var(--text-main);
}

.mini-stat p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-main-title {
        font-size: 2.5rem;
    }
}

/* Services */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    height: 380px;
    /* Taller cards for a more premium feel */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    position: absolute;
    inset: 0;
    height: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.service-card:hover .service-content {
    padding-bottom: 2rem;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.5) 70%,
            transparent 100%);
}

.service-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1a2e2a;
    font-weight: 800;
}

.service-content p {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
    font-weight: 500;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateX(0);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Testimonial */
.testimonial-section {
    background: var(--bg-dark);
}

.testimonial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--glass-bg);
    border-radius: 24px;
    overflow: hidden;
}

.testimonial-text {
    padding: 2.5rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-boxed-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.partner-box {
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.partner-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partner-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Partner Strip - Infinite Scroll */
.partner-strip {
    padding: 1.5rem 0;
    /* Reduced padding for double row */
    background: transparent;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.partner-strip::before,
.partner-strip::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.partner-strip::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.partner-strip::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: 40s scroll linear infinite;
}

.partner-strip.reverse .logos-track {
    animation: 40s scroll-reverse linear infinite;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 6rem;
    /* Increased gap */
    padding: 0 2.5rem;
}

.logos-slide img {
    height: 50px;
    /* Larger logos */
    width: auto;
    margin: 0 40px;
    transition: var(--transition);
    opacity: 1;
    /* Full opacity */
}

.logos-slide img:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Footer */
.main-footer {
    padding: 3.5rem 0 1.5rem;
    background: var(--theme-dark);
    /* Color from user image */
    color: #ffffff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    background: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 450px;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(45, 78, 72, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-text label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-text span {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-credit {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
        display: flex;
        align-items: center;
        padding: 4rem 0;
    }

    .hero-background img {
        object-position: 30% center;
        /* Adjusting focus for mobile */
    }

    .hero .container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-form {
        order: 2;
        margin: 0 auto;
        /* Center form on mobile */
    }

    .about-layout,
    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .lead-form {
        width: 100%;
        max-width: 450px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .lead-form {
        padding: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .section-padding {
        padding: 60px 0;
    }

    .why-us-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .testimonial-text {
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-logo,
    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-item {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Sticky CTA Footer Section - Mobile Only */
.sticky-cta-footer {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: #1a2e2a;
    color: white;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0;
    max-width: 600px;
    /* Centered on desktop, full on mobile */
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.cta-item i {
    font-size: 1.4rem;
}

.cta-item:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Sticky CTA Section Styles */

@media (max-width: 768px) {
    .main-footer {
        padding-bottom: 90px;
        /* Space for sticky CTA footer with dark background */
    }

    .sticky-cta-footer {
        display: block;
        /* Visible on mobile */
    }

    .cta-flex {
        padding: 0.6rem 0;
    }

    .cta-item i {
        font-size: 1.25rem;
    }

    .cta-item span {
        font-size: 0.7rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .lead-form h3 {
        font-size: 1.1rem;
    }

    .lead-form p {
        font-size: 0.8rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .logo img {
        height: 30px;
    }
}

/* Desktop Floating CTA */
.desktop-fab-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.fab-item {
    width: 60px;
    height: 60px;
    background: var(--theme-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-item:hover {
    background: var(--primary);
    transform: translateY(-5px) scale(1.05);
    color: white;
}

/* Hide FAB on mobile since sticky footer is active */
@media (max-width: 1024px) {
    .desktop-fab-container {
        display: none;
    }
}