/* ========================================
   FRANCFIN - Financial Services Website
   Design System & Styles
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #A3D636;
    --primary-hover: #8BC12A;
    --primary-dark: #7AA820;
    --primary-light: rgba(163, 214, 54, 0.15);
    --dark: #0F3D3E;
    --dark-lighter: #134B4C;
    --dark-card: #0A2E2F;
    --dark-surface: #112F30;
    --white: #FFFFFF;
    --gray-100: #F8FAF8;
    --gray-200: #E8F0E8;
    --gray-300: #C8D8C8;
    --gray-400: #B0C4C4;
    --gray-500: #8A9E9E;
    --text-light: #D0E0D0;
    --text-muted: #9AB0B0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(163, 214, 54, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-400);
    background-color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--primary);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(163, 214, 54, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(163, 214, 54, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(163, 214, 54, 0.1);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ========== SECTION BADGE ========== */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 12px;
}

/* ========== SECTION ========== */
.section {
    padding: 100px 0;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 61, 62, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon svg {
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 61, 62, 0.92) 0%, rgba(10, 46, 47, 0.88) 50%, rgba(15, 61, 62, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 140px 0 100px;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(163, 214, 54, 0.15);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(163, 214, 54, 0.25);
}

.hero h1 {
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview {
    background: var(--gray-100);
}

.services-overview .section-header h2,
.services-overview .section-header p {
    color: var(--dark);
}

.services-overview .section-header p {
    color: var(--gray-500);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid rgba(15, 61, 62, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(163, 214, 54, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* ========== WHY CHOOSE US ========== */
.why-choose-us {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(163, 214, 54, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ========== PROCESS SECTION ========== */
.process-section {
    background: var(--gray-100);
}

.process-section .section-header h2 {
    color: var(--dark);
}

.process-section .section-header p {
    color: var(--gray-500);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(163, 214, 54, 0.3);
    position: relative;
    z-index: 1;
}

.step-connector {
    position: absolute;
    top: 36px;
    left: calc(50% + 46px);
    width: calc(100% - 92px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(163, 214, 54, 0.3));
}

.process-step:last-child .step-connector {
    display: none;
}

.step-content h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-500);
    font-size: 0.92rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(163, 214, 54, 0.2);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.98rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 61, 62, 0.93), rgba(10, 46, 47, 0.9));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== DETAILED SERVICES ========== */
.detailed-services {
    background: var(--gray-100);
}

.detailed-services .section-header h2 {
    color: var(--dark);
}

.detailed-services .section-header p {
    color: var(--gray-500);
}

.detail-service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 61, 62, 0.08);
    transition: var(--transition);
}

.detail-service-item:hover {
    box-shadow: var(--shadow-md);
}

.detail-service-item.reverse .detail-service-content {
    order: 2;
}

.detail-service-item.reverse .detail-service-visual {
    order: 1;
}

.detail-service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(163, 214, 54, 0.2);
    line-height: 1;
    margin-bottom: 12px;
}

.detail-service-content h3 {
    color: var(--dark);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.detail-service-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.detail-benefits {
    margin-bottom: 24px;
}

.detail-benefits li {
    padding: 6px 0;
    color: var(--dark);
    font-size: 0.92rem;
    font-weight: 500;
}

.detail-service-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.detail-service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.detail-service-item:hover .detail-service-visual img {
    transform: scale(1.05);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.about-content .section-badge {
    margin-bottom: 12px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 32px;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.mv-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
}

.mv-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.mv-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-why {
    margin-bottom: 32px;
}

.about-why h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.about-why li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.92rem;
}

.about-closing {
    color: var(--primary) !important;
    font-size: 1.05rem !important;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: var(--gray-100);
}

.contact-section .section-header h2 {
    color: var(--dark);
}

.contact-section .section-header p {
    color: var(--gray-500);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 61, 62, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(15, 61, 62, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--gray-100);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(163, 214, 54, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230F3D3E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(15, 61, 62, 0.08);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(163, 214, 54, 0.3);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

.contact-info-card h4 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-info-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-card);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 16px;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links li:not(:has(a)) {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: ensure content is always visible */
.no-js .fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ========== FORM SUCCESS ========== */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success .success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .detail-service-item {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .detail-service-item.reverse .detail-service-content {
        order: 1;
    }

    .detail-service-item.reverse .detail-service-visual {
        order: 2;
    }

    .detail-service-visual {
        height: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 46, 47, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content {
        padding: 220px 0 80px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-mission-vision {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .detail-service-item {
        padding: 24px;
        margin-bottom: 48px;
    }

    .detail-service-visual {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== PAGE HERO (Sub-pages) ========== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 61, 62, 0.94) 0%, rgba(10, 46, 47, 0.9) 50%, rgba(15, 61, 62, 0.88) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-content h1 {
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-hero-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========== ABOUT STORY SECTION ========== */
.about-story-section {
    background: var(--dark);
}

.about-story-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-section .about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-story-section .about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-story-section .about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.about-story-section .about-content .section-badge {
    margin-bottom: 12px;
}

.about-story-section .about-content h2 {
    margin-bottom: 20px;
}

.about-story-section .about-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ========== MISSION & VISION ========== */
.mission-vision-section {
    background: var(--gray-100);
}

.mission-vision-section .section-header h2 {
    color: var(--dark);
}

.mission-vision-section .section-header p {
    color: var(--gray-500);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(15, 61, 62, 0.08);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(163, 214, 54, 0.2);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.mv-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.mv-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== VALUES SECTION ========== */
.values-section {
    background: var(--dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(163, 214, 54, 0.2);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.stat-card-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(15, 61, 62, 0.7);
}

/* ========== TEAM SECTION ========== */
.team-section {
    background: var(--gray-100);
}

.team-section .section-header h2 {
    color: var(--dark);
}

.team-section .section-header p {
    color: var(--gray-500);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(15, 61, 62, 0.08);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(163, 214, 54, 0.2);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.team-card h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ========== WHY SECTION ========== */
.why-section {
    background: var(--dark);
}

.why-list {
    max-width: 720px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-item:last-child {
    border-bottom: none;
}

.why-check {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-item h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: var(--dark);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(163, 214, 54, 0.15);
}

.faq-item.open {
    border-color: rgba(163, 214, 54, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== MAP SECTION ========== */
.map-section {
    background: var(--gray-100);
}

.map-wrapper {
    max-width: 100%;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* ========== CONTACT INFO WRAPPER ========== */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-wrapper .contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(15, 61, 62, 0.08);
    transition: var(--transition);
}

.contact-info-wrapper .contact-info-card:hover {
    border-color: rgba(163, 214, 54, 0.3);
    box-shadow: var(--shadow-sm);
}

.contact-info-wrapper .info-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.contact-info-wrapper .contact-info-card h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-info-wrapper .contact-info-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-info-wrapper .info-note {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 4px;
}

.whatsapp-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.03)) !important;
    border-color: rgba(37, 211, 102, 0.2) !important;
}

.form-note {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 12px;
    text-align: center;
}

.form-note a {
    color: var(--primary);
    font-weight: 500;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ========== SECTION CTA ========== */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========== RESPONSIVE FOR NEW SECTIONS ========== */
@media (max-width: 1024px) {
    .about-story-section .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-section .about-image img {
        height: 350px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
        min-height: 320px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-info-wrapper .contact-info-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 240px;
    }
}