@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #1B4332;
    /* Deep Forest Green */
    --primary-light: #2D6A4F;
    --secondary: #D4AF37;
    /* Gold */
    --accent: #2D3436;
    /* Slate */
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #636E72;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    /* Explicitly align all headings to the left */
}

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

/* Header & Nav */
.nav-container {
    width: 100%;
    padding: 0 40px;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: var(--transition);
    background: var(--primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 5px 0;
    background: var(--primary);
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

header.scrolled .logo {
    color: var(--white);
}

.logo .gold-text {
    color: var(--secondary);
}

.logo-text-container {
    display: inline-grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    position: relative;
}

.logo-text-container .text-ml,
.logo-text-container .text-en {
    grid-area: 1 / 1 / 2 / 2;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    white-space: nowrap;
}

.logo-text-container .text-ml {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logo-text-container .text-en {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.logo:hover .logo-text-container .text-ml,
.logo.active-touch .logo-text-container .text-ml {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.logo:hover .logo-text-container .text-en,
.logo.active-touch .logo-text-container .text-en {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transform: scale(1.6);
    transform-origin: center;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

header.scrolled .nav-links a {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary) !important;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

header.scrolled .nav-toggle {
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.3);
}

.nav-cta {
    background-color: var(--secondary);
    color: var(--primary);
}

.nav-cta:hover {
    background-color: #e5bf48;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
    background: radial-gradient(circle at 10% 20%, rgba(27, 67, 50, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

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



.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    /* increased gap for standard spacing */
    flex-wrap: wrap;
    padding: 0 40px;
    width: 100%;
}


.hero-image-box {
    flex: 0 1 700px;
    max-width: 55%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    /* Enforce consistent ratio */
    background: transparent;
    /* Prevent white flash */
    position: relative;
}

#hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

#hero-img.zoom {
    animation: heroZoom 5s linear forwards;
}



.hero-content {
    flex: 1;
    min-width: 300px;
}





.hero h1 {
    font-size: clamp(2rem, 7vw, 3.8rem);
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero h1 span {
    display: block;
}

.hero h1 span:last-child {
    white-space: nowrap;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

.hero-image {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s forwards 0.4s;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
    display: block;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: left !important;
    /* Force left alignment */
    margin-bottom: 60px;
    width: 100%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
}

/* About Section */
.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    padding: 0 40px;
    width: 100%;
}

.about-content {
    flex: 1;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.4s ease;
    border-radius: 20px;
}

.service-card:hover .card-overlay {
    background: #ffffff;
}

.card-body {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    display: block;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #1A1A1A;
    text-shadow: none;
}

.service-card ul {
    list-style: none;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover ul {
    margin-top: 14px;
    max-height: 500px;
    opacity: 1;
}

.service-card ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #1A1A1A;
    display: flex;
    align-items: flex-start;
}

.service-card ul li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.services-section {
    padding: 40px 0 100px;
    /* Reduced top padding */
}

.service-pillar {
    margin-bottom: 100px;
}

.pillar-title {
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-left: 5px;
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
    text-transform: uppercase;
}

.service-pillar:last-child {
    margin-bottom: 0;
}



.pillar-header {
    margin-bottom: 40px;
}

.pillar-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pillar-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Maintenance Packages Section */
.packages-section {
    background: linear-gradient(160deg, #0f2027, #1B4332, #0f2027);
    padding: 100px 0;
}

.packages-section .section-title h2 {
    color: var(--white);
}

.packages-section .section-title p {
    color: rgba(255, 255, 255, 0.65);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 40px;
}

.package-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Featured Gold card — removed (no longer highlighted) */

/* Popular badge — removed */

/* Tier badge */
.package-tier-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.tier-icon {
    font-size: 2rem;
    line-height: 1;
}

.tier-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* Bronze / Silver / Gold accent colors on tier name */
.package-card.bronze .tier-name {
    color: #cd7f32;
}

.package-card.silver .tier-name {
    color: #c0c0c0;
}

.package-card.gold .tier-name {
    color: var(--secondary);
}

/* Price */
.package-price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 8px;
}

.package-price .currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.package-price .period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

/* Tagline */
.package-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    text-align: left !important;
}

/* Feature list */
.package-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left !important;
}

.package-features li i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.package-features li i.fa-check {
    color: #52d68a;
}

.package-features li i.fa-times {
    color: rgba(255, 255, 255, 0.25);
}

.package-features li.inactive {
    color: rgba(255, 255, 255, 0.3);
}

.package-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.4px;
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.package-btn:hover {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

/* Footer note */
.packages-note {
    text-align: center !important;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

.packages-note a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.packages-note a:hover {
    text-decoration: underline;
}

.packages-note i {
    margin-right: 6px;
}

/* Packages responsive */
@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* NRI Section */
.nri-section {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 40px;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    position: relative;
}

.nri-content {
    flex: 1;
}

.nri-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.nri-image img {
    width: 100%;
    height: auto;
}

/* Solar Section */
.solar-section {
    padding: 120px 0;
    background-color: #f0f7f4;
}

.solar-header {
    margin-bottom: 60px;
}

.solar-eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solar-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.solar-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.solar-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.solar-stat {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 4px solid var(--secondary);
}

.solar-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.solar-stat-number sup {
    font-size: 1.2rem;
    color: var(--secondary);
}

.solar-stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.solar-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solar-image-wrap {
    position: relative;
}

.solar-image-wrap img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.solar-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
}

.solar-image-badge i {
    color: #4CAF50;
}

.solar-benefits h3 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.solar-benefit-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}


.solar-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(27, 67, 50, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.solar-benefit-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.solar-benefits-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solar-benefit-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.solar-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
}

.solar-cta:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2);
}

@media (max-width: 992px) {
    .solar-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .solar-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .solar-stats {
        grid-template-columns: 1fr;
    }

    .solar-header h2 {
        font-size: 2.2rem;
    }
}


/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width for mobile */
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--primary) !important;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-cta {
        display: none;
        /* Hide button in mobile nav for cleaner look or move it inside nav-links */
    }

    .hero h1 {
        font-size: 3rem;
    }
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.service-options {
    display: flex;
    gap: 40px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
        text-align: center !important;
    }

    .hero-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center !important;
    }

    .hero-content {
        order: 1;
        text-align: center !important;
        padding-left: 0;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 1.8rem;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 span:last-child {
        white-space: normal;
    }

    .hero p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn-primary {
        width: 75%;
        max-width: 240px;
        padding: 9px 18px;
        font-size: 0.88rem;
        text-align: center;
        flex: none;
        white-space: nowrap;
    }

    .hero-video-box {
        order: 2;
        width: 75%;
        /* Significantly reduced width */
        max-width: 320px;
        max-height: 400px;
        /* Prevent it from being too tall */
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: var(--shadow);
        aspect-ratio: auto;
        /* Remove aspect ratio constraint if it's forcing size */
    }

    .service-options {
        flex-direction: column;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Back to one column */
        gap: 25px;
    }

    .service-card {
        width: 85%;
        /* Reduced width as requested */
        max-width: 320px;
        margin: 0 auto;
        /* Center the narrower cards */
        min-height: 180px;
        /* Restored some height for better proportions */
        border-radius: 18px;
    }

    .section-title {
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem; /* Matches hero heading size */
        text-align: center !important;
    }

    .section-title p {
        font-size: 0.95rem;
        text-align: center !important;
        margin: 0 auto;
    }

    .service-card h3 {
        font-size: 1rem;
        /* Smaller titles */
    }

    .card-body {
        padding: 15px;
    }
}

/* Global Alignment Fix */
h1,
h2,
h3,
h4,
h5,
h6,
p,
.hero-content,
.section-title {
    text-align: left !important;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

/* Portfolio Bento Layout */
.portfolio-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bento-col-left,
.bento-col-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}



.bento-col-left .bento-text {
    margin-bottom: auto;
}

.bento-col-right .bento-text {
    margin-top: auto;
}

.bento-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bento-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bento-img-wrap:hover img {
    transform: scale(1.05);
}

.bento-col-left .bento-img-wrap {
    height: 250px;
}





.bento-col-mid .full-height {
    height: 100%;
    min-height: 400px;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--primary);
    margin: 0 0 10px;
    font-weight: 800;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.contact-card {
    background: white;
    padding: clamp(20px, 4vw, 35px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}





.bento-col-right .bento-img-wrap {
    height: 190px;
}

.bento-quote {
    flex: 1;
    background: transparent;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-left: 2px solid var(--secondary);
    /* subtle gold accent for quote */
    padding-left: 20px;
    margin-top: 10px;
}

.bento-quote p {
    margin: 0;
    color: #ccc !important;
    /* matching description color */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    text-align: left !important;
}









@media (max-width: 992px) {
    .portfolio-bento {
        grid-template-columns: 1fr;
    }

    .bento-col-left .bento-img-wrap,
    .bento-col-mid .full-height,
    .bento-col-right .bento-img-wrap {
        height: 300px;
        min-height: auto;
    }
}

.contact-btn:hover {
    transform: translateY(-5px);
}

.theme-email-btn:hover {
    background: var(--primary-light) !important;
    box-shadow: 0 12px 25px rgba(27, 67, 50, 0.3) !important;
}

.theme-whatsapp-btn:hover {
    background: #1da851 !important;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3) !important;
}

/* Mobile Optimization for Hero Section */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    .hero {
        padding: 120px 0 40px;
    }
    .hero-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        overflow-wrap: break-word;
    }
    .hero h1 {
        text-align: center !important;
        font-size: 2.2rem;
    }
    .hero h1 span:last-child {
        white-space: normal;
    }
    .hero p {
        text-align: center !important;
        margin: 0 auto 30px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }
    .hero-buttons .btn-primary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-image-box {
        max-width: 90%;
        width: 90%;
        height: 250px;
        aspect-ratio: auto;
        flex: none;
        margin: 20px auto 0;
    }
    
    .about-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .about-content .section-title {
        align-items: center !important;
    }
    
    .about-content p {
        text-align: center !important;
    }
}