/* =========================================
   Vyom Green Solar Solution - Main Styles
   Author: VGSS Development Team
   Version: 1.0.0
   ========================================= */

/* ---- CSS Reset & Base Styles ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FFC107;
    --primary-dark: #FFA000;
    --secondary: #0A2540;
    --secondary-light: #1A3A5C;
    --accent: #00BCD4;
    --accent-dark: #0097A7;
    --light: #F5F7FA;
    --dark: #1A2B3C;
    --success: #4CAF50;
    --danger: #F44336;
    --warning: #FF9800;
    --info: #2196F3;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #E0E0E0;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 50px;
    /* Social colors */
    --facebook: #1877F2;
    --instagram: #E4405F;
    --linkedin: #0A66C2;
    --youtube: #FF0000;
    --twitter: #1DA1F2;
    --whatsapp: #25D366;
    --hero-h1-min: 1.7rem;
    --hero-h1-fluid: 3.8vw;
    --hero-h1-max: 2.8rem;
    --hero-p-min: 0.95rem;
    --hero-p-fluid: 1.7vw;
    --hero-p-max: 1.1rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ---- Utility Classes ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light);
}

.section-dark {
    background-color: var(--secondary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
}

/* ---- Header & Navigation ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.header .container {
    display: flex;
    flex-direction: column;
}

.header-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a2a4f 0%, #0f4c81 60%, #1565a7 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #f3f8ff;
}

.header-contact a i {
    color: #ffd257;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.header-social a.fb { color: var(--facebook); }
.header-social a.ig { color: var(--instagram); }
.header-social a.li { color: var(--linkedin); }
.header-social a.yt { color: var(--youtube); }
.header-social a.tw { color: var(--twitter); }

.header-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--secondary);
    z-index: 1001;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
}

.logo-icon.has-image {
    background: transparent;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.logo.has-brand-logo {
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    margin-left: -14px;
    max-width: 58%;
}

.logo.has-brand-logo .logo-icon {
    width: auto;
    height: auto;
    background: linear-gradient(180deg, #0A2540 0%, #1A2B3C 100%);
    border-radius: 12px;
    padding: 4px 6px;
    box-shadow: 0 8px 18px rgba(10, 37, 64, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.logo.has-brand-logo .logo-icon img {
    width: clamp(130px, 17vw, 170px);
    height: auto;
    display: block;
}

.logo.has-brand-logo .logo-text {
    display: block;
    text-align: left;
    min-width: 0;
}

.logo.has-brand-logo .logo-text .brand-name {
    font-size: clamp(0.88rem, 1.05vw, 0.98rem);
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1;
    color: #0A2540;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    margin-bottom: 6px;
}

.logo.has-brand-logo .logo-text .brand-tagline {
    font-size: clamp(0.48rem, 0.6vw, 0.56rem);
    letter-spacing: 1.3px;
    color: #0E6FB7;
    white-space: nowrap;
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 992px) {
    .logo.has-brand-logo {
        margin-left: 0;
        max-width: none;
    }
}

.logo-text {
    line-height: 1.1;
}

.logo-text .brand-name {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.logo-text .brand-tagline {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
    background: rgba(255, 193, 7, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links .admin-link {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    color: var(--white) !important;
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.nav-links .admin-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary) !important;
}

.nav-links .admin-link::after { display: none; }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 193, 7, 0.1);
}

/* ---- Hero Slider ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(26, 43, 60, 0.7) 50%, rgba(10, 37, 64, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(var(--hero-h1-min), var(--hero-h1-fluid), var(--hero-h1-max));
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(var(--hero-p-min), var(--hero-p-fluid), var(--hero-p-max));
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 35px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-partnership {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: -6px auto 24px;
    padding: 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-partnership span {
    font-size: clamp(1rem, 1.55vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    line-height: 1;
}

.hero-partnership img {
    width: min(640px, 78vw);
    max-height: 180px;
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* ---- Marquee / Ticker ---- */
.ticker-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0;
}

.experience-badge p {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
}

.about-text h3 {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(255, 193, 7, 0.1);
    transform: translateX(5px);
}

.about-feature i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
}

.about-feature span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-card p {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(0, 188, 212, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card .btn {
    margin-top: 15px;
}

/* ---- Calculator Section ---- */
.calculator-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
}

.calculator-section .section-title h2 { color: var(--white); }
.calculator-section .section-title p { color: rgba(255, 255, 255, 0.8); }

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-form,
.calc-results {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-form h3,
.calc-results h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.form-group input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.range-value {
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.results-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.results-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.result-item.show {
    opacity: 1;
    transform: translateY(0);
}

.result-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.calc-success {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--success);
    display: none;
    color: var(--success);
}

.calc-success.show { display: block; }

/* ---- Projects Section ---- */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 37, 64, 0.9));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay .badge {
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---- Team Section ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 34px;
}

.team-card {
    background: linear-gradient(165deg, #f9fcff 0%, #eef5ff 100%);
    border-radius: 26px;
    padding: 24px 22px;
    border: 1px solid #dce9ff;
    box-shadow: 0 16px 35px rgba(18, 74, 140, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(10, 37, 64, 0.2);
}

.team-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 290px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
}

.team-halo {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #dff2ff 0%, #c8e3ff 50%, #b8d9ff 100%);
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.85);
}

.team-visual img {
    position: relative;
    z-index: 2;
    width: 76%;
    height: 76%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 24px rgba(10, 37, 64, 0.2);
}

.team-float {
    position: absolute;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #336dff, #00a4ff);
    box-shadow: 0 7px 18px rgba(0, 91, 255, 0.35);
    transition: var(--transition);
}

.team-float-a { top: 10%; left: 5%; }
.team-float-b { top: 8%; right: 8%; }
.team-float-c { bottom: 12%; left: 8%; }
.team-float-d { bottom: 10%; right: 6%; }

.team-card:hover .team-float {
    transform: translateY(-4px) scale(1.07);
}

.team-badge {
    position: absolute;
    z-index: 3;
    top: 49%;
    right: 2%;
    background: #ffffff;
    color: var(--secondary);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #d7e7ff;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.13);
}

.team-social {
    display: flex;
    gap: 9px;
    margin-top: 14px;
}

.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--white);
}

.team-social a.fb { background: var(--facebook); }
.team-social a.ig { background: var(--instagram); }
.team-social a.li { background: var(--linkedin); }
.team-social a.tw { background: var(--twitter); }

.team-social a:hover {
    transform: translateY(-2px);
}

.team-info {
    text-align: left;
}

.team-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.team-info .position {
    color: #1f7ae0;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    color: #58708c;
}

/* ---- Testimonials Section ---- */
.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
    position: relative;
}

.testimonial-card.active { display: block; }

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-card p.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 25px;
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0 2px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

.yt-subscribe-cta {
    margin: 34px auto 0;
    max-width: 900px;
    padding: 26px 28px;
    border-radius: 22px;
    background: linear-gradient(130deg, #111111 0%, #1e1e1e 45%, #da1a1a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 18px 38px rgba(14, 14, 14, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.yt-subscribe-copy h3 {
    color: #fff;
    margin-bottom: 4px;
    font-size: 1.4rem;
}

.yt-subscribe-copy p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9rem;
    max-width: 540px;
}

.yt-mini {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    font-size: 0.67rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.yt-subscribe-btn {
    background: #ff0000;
    color: #fff;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.45);
}

.yt-subscribe-btn:hover {
    background: #d40000;
    transform: translateY(-2px);
}

.video-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.video-review-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(10, 37, 64, 0.1);
    border: 1px solid #e6edf8;
    transition: var(--transition);
}

.video-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(10, 37, 64, 0.16);
}

.video-review-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-review-card:hover .video-review-thumb img {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.92);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 22px rgba(255, 0, 0, 0.35);
}

.video-source-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
}

.video-source-chip.youtube {
    background: rgba(255, 0, 0, 0.9);
}

.video-source-chip.upload {
    background: rgba(10, 37, 64, 0.85);
}

.video-review-body {
    padding: 18px 18px 20px;
}

.video-review-body h3 {
    font-size: 1.08rem;
    margin-bottom: 7px;
}

.video-review-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.video-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(120deg, #0a2540 0%, #0f4c81 100%);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
}

.video-watch-btn:hover {
    transform: translateX(3px);
}

/* ---- Blog Section ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-category {
    background: rgba(255, 193, 7, 0.1);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--accent);
}

.blog-content .excerpt {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.blog-popup {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 44, 0.72);
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.blog-popup.active {
    display: flex;
}

.blog-popup-content {
    position: relative;
    width: min(860px, calc(100vw - 20px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(4, 16, 32, 0.35);
    padding: 22px 22px 26px;
}

.blog-popup-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f0f4fa;
    color: #243a5a;
    cursor: pointer;
}

.blog-popup-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
}

.blog-popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.85rem;
    color: #5e6f87;
    margin-bottom: 10px;
}

.blog-popup-body {
    color: #2a3b52;
    line-height: 1.75;
}

.blog-popup-body p:last-child {
    margin-bottom: 0;
}

/* Blog Detail */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.blog-detail-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.blog-detail-content p { margin-bottom: 1.5rem; }
.blog-detail-content ul, .blog-detail-content ol {
    margin: 15px 0;
    padding-left: 30px;
}
.blog-detail-content li {
    margin-bottom: 8px;
    list-style: disc;
}

/* ---- Gallery Section ---- */
.gallery-albums {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.album-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.album-card:hover img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95), transparent);
    color: var(--white);
}

.album-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.album-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Gallery Grid (inside album) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--danger);
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Contact Section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-info-card p {
    font-size: 0.85rem;
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    border: 1px solid var(--border);
    background: var(--light);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 430px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.contact-map #contactMapEmbed {
    height: 100%;
    min-height: inherit;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: inherit;
}

/* ---- Journey / Timeline ---- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    width: calc(100% - 40px);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-dot {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.2);
}

.timeline-year {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.timeline-content h3 { font-size: 1.1rem; }

/* ---- Professional Chatbot ---- */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: 'Poppins', sans-serif;
}

.chatbot-btn {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.chatbot-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--secondary);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-header .bot-img {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.chat-header .bot-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: white;
}

.chat-header .bot-info p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--primary);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

.msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.msg.bot {
    background: white;
    color: #444;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.msg.user {
    background: var(--primary);
    color: var(--secondary);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 25px;
    outline: none;
    font-size: 0.85rem;
}

.chat-footer button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--secondary);
    cursor: pointer;
    transition: 0.2s;
}

.chat-footer button:hover {
    background: var(--primary-dark);
}

.chat-quick-btns {
    padding: 0 15px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8f9fa;
}

.quick-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--primary);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--secondary);
    cursor: pointer;
    transition: 0.2s;
}

.quick-btn:hover {
    background: var(--primary);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--white);
}

.footer-social a.fb { background: var(--facebook); }
.footer-social a.ig { background: var(--instagram); }
.footer-social a.li { background: var(--linkedin); }
.footer-social a.yt { background: var(--youtube); }
.footer-social a.tw { background: var(--twitter); }
.footer-social a.wa { background: var(--whatsapp); }

.footer-social a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover { color: var(--primary); }

.visitor-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.visitor-count i { color: var(--primary); }

/* ---- Page Header (internal pages) ---- */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.page-header .breadcrumb a { color: var(--primary); }
.page-header .breadcrumb a:hover { color: var(--white); }

/* ---- Flyer Popup ---- */
.flyer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flyer-popup.active { display: flex; }

.flyer-popup-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    animation: popIn 0.4s ease-out;
    box-shadow: var(--shadow-xl);
}

.flyer-popup-content img {
    width: 100%;
    display: block;
}

.flyer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.flyer-close:hover { background: var(--danger); }

@keyframes popIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show { display: flex; }
.back-to-top:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

/* ---- Loading Spinner ---- */
.loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Alert Messages ---- */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid var(--success); }
.alert-danger { background: #FFEBEE; color: #C62828; border-left: 4px solid var(--danger); }
.alert-warning { background: #FFF3E0; color: #E65100; border-left: 4px solid var(--warning); }
.alert-info { background: #E3F2FD; color: #1565C0; border-left: 4px solid var(--info); }

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid,
    .calculator-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yt-subscribe-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .yt-subscribe-btn {
        width: 100%;
        justify-content: center;
    }

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

    .header-top {
        padding-bottom: 8px;
        margin-bottom: 8px;
        gap: 8px;
    }

    .header-contact {
        gap: 10px;
    }

    .header-contact a {
        font-size: 0.7rem;
    }

    .header-social a {
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transform: translateX(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: 550px;
    }
    
    .section { padding: 60px 0; }
    
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .team-float {
        width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before { left: 20px; }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content { width: 100%; }
    
    .contact-info-cards { grid-template-columns: 1fr; }
    
    .gallery-albums { grid-template-columns: 1fr; }

    .contact-map,
    .contact-map #contactMapEmbed,
    .contact-map iframe {
        min-height: 320px;
    }
}

@media (max-width: 576px) {
    .yt-subscribe-copy h3 {
        font-size: 1.15rem;
    }

    .video-review-body {
        padding: 16px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact {
        width: 100%;
        justify-content: flex-start;
    }

    .container { padding: 0 15px; }
    
    .section { padding: 50px 0; }
    
    .hero { min-height: 500px; }
    
    .team-grid { grid-template-columns: 1fr; }

    .team-visual {
        max-width: 260px;
    }
    
    .stats-row { grid-template-columns: 1fr; }
    
    .hero-btns { flex-direction: column; align-items: center; }
    
    .cta-btns { flex-direction: column; align-items: center; }
    
    .about-features { grid-template-columns: 1fr; }
    
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Print Styles ---- */
@media print {
    .header, .footer, .whatsapp-float, .back-to-top, .flyer-popup { display: none !important; }
    body { color: #000; }
    .section { padding: 20px 0; }
}
