/* ServiFlex Global — Warm Editorial Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #F8F5F0;
    --white: #FFFFFF;
    --charcoal: #1C1C1C;
    --dark: #2a2a2a;
    --emerald: #1B4332;
    --emerald-mid: #2D6A4F;
    --sage: #74897C;
    --sage-light: #B5C4BA;
    --coral: #E07A5F;
    --gold: #D4A039;
    --light-green: #EDF2EE;
    --border: rgba(27,67,50,0.1);
    --border-dark: rgba(27,67,50,0.2);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --ease: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-body); background:var(--cream); color:var(--charcoal); line-height:1.7; overflow-x:hidden; }
::selection { background:rgba(27,67,50,0.15); }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition:color var(--ease); }
ul,ol { list-style:none; }

/* Typography — Editorial */
h1,h2,h3 { font-family:var(--font-display); font-weight:700; color:var(--charcoal); line-height:1.15; }
h1 { font-size:clamp(2.8rem,6vw,5.5rem); letter-spacing:-0.02em; }
h2 { font-size:clamp(2rem,4.5vw,3.8rem); letter-spacing:-0.01em; }
h3 { font-size:clamp(1.3rem,2.5vw,1.8rem); }
h4 { font-family:var(--font-body); font-weight:600; font-size:1.1rem; color:var(--charcoal); }
p { color:var(--sage); font-size:1.05rem; line-height:1.85; }
.accent { color:var(--emerald); }
.accent-coral { color:var(--coral); }
.italic { font-style:italic; }

.label { font-family:var(--font-body); font-size:0.8rem; font-weight:600; text-transform:uppercase; letter-spacing:2.5px; color:var(--emerald-mid); display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.label::before { content:''; width:28px; height:2px; background:var(--coral); display:inline-block; }
.container { max-width:1200px; margin:0 auto; padding:0 32px; }
section { position:relative; }

/* Buttons — Pill shaped */
.btn { display:inline-flex; align-items:center; gap:10px; padding:16px 36px; border-radius:100px; font-family:var(--font-body); font-weight:600; font-size:0.95rem; cursor:pointer; border:none; transition:all var(--ease); }
.btn-fill { background:var(--emerald); color:var(--white); }
.btn-fill:hover { background:var(--emerald-mid); transform:translateY(-2px); box-shadow:0 8px 24px rgba(27,67,50,0.2); }
.btn-line { background:transparent; color:var(--emerald); border:1.5px solid var(--emerald); }
.btn-line:hover { background:var(--emerald); color:var(--white); }
.btn-coral { background:var(--coral); color:var(--white); }
.btn-coral:hover { background:#c96b50; transform:translateY(-2px); }
.btn .arr { transition:transform var(--ease); }
.btn:hover .arr { transform:translateX(4px); }

/* ========= HEADER ========= */
.header { position:fixed; top:0; left:0; width:100%; z-index:100; padding:20px 0; transition:all var(--ease); }
.header.scrolled { background:rgba(248,245,240,0.95); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); padding:14px 0; }
.header .container { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:14px; }
.logo img { height:44px; border-radius:8px; }
.logo-text { font-family:var(--font-display); font-size:1.5rem; font-weight:700; color:var(--emerald); letter-spacing:1px; }
.nav-links { display:flex; gap:40px; }
.nav-links a { font-size:0.95rem; font-weight:500; color:var(--sage); position:relative; }
.nav-links a::after { content:''; position:absolute; bottom:-6px; left:0; width:0; height:2px; background:var(--coral); transition:width var(--ease); }
.nav-links a:hover, .nav-links a.active { color:var(--charcoal); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.hamburger { display:none; cursor:pointer; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--border-dark); background:transparent; flex-direction:column; align-items:center; justify-content:center; gap:5px; z-index:1001; }
.hamburger span { display:block; width:20px; height:1.5px; background:var(--charcoal); border-radius:2px; transition:all var(--ease); }
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(4.5px,4.5px)} .hamburger.active span:nth-child(2){opacity:0} .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(4.5px,-4.5px)}
.mobile-menu { position:fixed; top:0; right:-100%; width:100%; height:100dvh; background:var(--cream); z-index:999; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:36px; transition:right 0.5s ease; }
.mobile-menu.active { right:0; }
.mobile-menu a { font-family:var(--font-display); font-size:2.2rem; font-weight:600; color:var(--sage); transition:color var(--ease); }
.mobile-menu a:hover, .mobile-menu a.active { color:var(--emerald); }

/* ========= HERO ========= */
.hero { min-height:100vh; display:flex; align-items:center; padding:120px 0 80px; position:relative; overflow:hidden; }
.hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hero-text h1 { margin-bottom:28px; }
.hero-text h1 em { font-style:italic; color:var(--coral); }
.hero-text p { font-size:1.15rem; margin-bottom:40px; max-width:480px; }
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }
.hero-visual { position:relative; }
.hero-visual img { border-radius:24px; width:100%; height:500px; object-fit:cover; }
.hero-visual .float-badge { position:absolute; bottom:-20px; left:-20px; background:var(--white); padding:20px 28px; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,0.08); }
.float-badge .badge-num { font-family:var(--font-display); font-size:2rem; font-weight:800; color:var(--emerald); line-height:1; }
.float-badge .badge-label { font-size:0.8rem; color:var(--sage); margin-top:4px; }

/* ========= MARQUEE ========= */
.marquee { padding:28px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; background:var(--white); }
.marquee-inner { display:flex; gap:60px; animation:marquee 30s linear infinite; white-space:nowrap; width:max-content; }
.marquee-inner span { font-family:var(--font-display); font-size:1.3rem; font-weight:600; color:var(--sage-light); display:flex; align-items:center; gap:20px; }
.marquee-inner span .dot { width:8px; height:8px; border-radius:50%; background:var(--coral); flex-shrink:0; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ========= ABOUT ========= */
.about-section { padding:120px 0; }
.about-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:center; }
.about-layout.reverse { grid-template-columns:1fr 1.1fr; }
.about-layout.reverse .about-img { order:2; }
.about-img { position:relative; }
.about-img img { border-radius:20px; width:100%; height:420px; object-fit:cover; }
.about-img .deco { position:absolute; top:-16px; right:-16px; width:120px; height:120px; border-radius:20px; border:2px solid var(--coral); opacity:0.3; z-index:-1; }
.about-content h2 { margin-bottom:24px; }
.about-content p { margin-bottom:18px; }
.about-content .btn { margin-top:16px; }

/* ========= GREEN BAND (divider) ========= */
.green-band { background:var(--emerald); padding:80px 0; position:relative; overflow:hidden; }
.green-band * { color:var(--white); }
.green-band p { color:rgba(255,255,255,0.7); }
.green-band .container { position:relative; z-index:1; }
.green-band .band-deco { position:absolute; right:-80px; top:-80px; width:300px; height:300px; border-radius:50%; border:1px solid rgba(255,255,255,0.1); }
.stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center; }
.stat-item .stat-num { font-family:var(--font-display); font-size:3.5rem; font-weight:800; line-height:1; margin-bottom:8px; }
.stat-item .stat-label { font-size:0.9rem; opacity:0.7; }

/* ========= SERVICES ========= */
.services-section { padding:120px 0; background:var(--white); }
.services-header { text-align:center; margin-bottom:64px; }
.services-header h2 { margin-bottom:16px; }
.services-header p { max-width:500px; margin:0 auto; }
.services-list { display:flex; flex-direction:column; gap:0; }
.service-row { display:grid; grid-template-columns:80px 1fr auto; align-items:center; gap:32px; padding:36px 0; border-bottom:1px solid var(--border); transition:all var(--ease); cursor:default; }
.service-row:first-child { border-top:1px solid var(--border); }
.service-row:hover { padding-left:16px; background:var(--light-green); margin:0 -32px; padding-right:48px; padding-left:48px; border-radius:16px; }
.service-row .snum { font-family:var(--font-display); font-size:1.5rem; font-weight:300; color:var(--sage-light); }
.service-row:hover .snum { color:var(--coral); }
.service-row h3 { margin-bottom:4px; transition:color var(--ease); }
.service-row:hover h3 { color:var(--emerald); }
.service-row p { font-size:0.95rem; max-width:500px; }
.service-row .sarrow { font-size:1.4rem; color:var(--sage-light); transition:all var(--ease); }
.service-row:hover .sarrow { color:var(--emerald); transform:translateX(6px); }

/* ========= TESTIMONIAL ========= */
.testimonial-section { padding:120px 0; background:var(--cream); }
.testimonial-inner { max-width:820px; margin:0 auto; text-align:center; }
.tq { font-family:var(--font-display); font-size:8rem; line-height:0.5; color:var(--coral); opacity:0.25; margin-bottom:20px; display:block; }
.testimonial-inner blockquote { font-family:var(--font-display); font-size:clamp(1.3rem,2.5vw,1.8rem); font-weight:400; font-style:italic; color:var(--dark); line-height:1.7; margin-bottom:32px; }
.testimonial-inner .t-author { font-family:var(--font-body); font-weight:600; font-size:0.95rem; color:var(--emerald); }
.testimonial-inner .t-role { font-size:0.85rem; color:var(--sage); margin-top:4px; }

/* ========= MISSION / VISION ========= */
.mv-section { padding:120px 0; }
.mv-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.mv-item { padding:48px; background:var(--white); border-radius:20px; border:1px solid var(--border); position:relative; overflow:hidden; transition:all var(--ease); }
.mv-item:hover { border-color:var(--emerald-mid); box-shadow:0 20px 60px rgba(27,67,50,0.08); }
.mv-item::before { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:linear-gradient(180deg,var(--coral),var(--gold)); }
.mv-item .mv-icon { font-size:2rem; margin-bottom:20px; }
.mv-item h3 { margin-bottom:16px; }

/* ========= VALUES ========= */
.values-section { padding:100px 0; background:var(--light-green); }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:48px; }
.value-item { padding:36px 28px; text-align:center; background:var(--white); border-radius:16px; border:1px solid var(--border); transition:all var(--ease); }
.value-item:hover { transform:translateY(-6px); box-shadow:0 16px 48px rgba(27,67,50,0.08); }
.value-item .vi-icon { width:52px; height:52px; border-radius:50%; background:var(--light-green); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:22px; }
.value-item h4 { margin-bottom:10px; }
.value-item p { font-size:0.9rem; }

/* ========= CONTACT ========= */
.contact-section { padding:120px 0; background:var(--white); }
.contact-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:80px; }
.contact-info h2 { margin-bottom:16px; }
.contact-info>p { margin-bottom:36px; }
.ci-item { display:flex; align-items:flex-start; gap:16px; margin-bottom:28px; }
.ci-item .ci-icon { width:48px; height:48px; border-radius:50%; background:var(--light-green); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; color:var(--emerald); }
.ci-item h4 { margin-bottom:4px; }
.ci-item p, .ci-item a { color:var(--sage); font-size:0.95rem; }
.ci-item a:hover { color:var(--coral); }
.contact-form { padding:48px; background:var(--cream); border-radius:24px; }
.contact-form h3 { margin-bottom:28px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-weight:500; font-size:0.9rem; color:var(--charcoal); margin-bottom:8px; }
.form-group input, .form-group textarea { width:100%; padding:14px 18px; background:var(--white); border:1.5px solid var(--border); border-radius:12px; font-family:var(--font-body); font-size:0.95rem; color:var(--charcoal); outline:none; transition:border-color var(--ease); }
.form-group input:focus, .form-group textarea:focus { border-color:var(--emerald); }
.form-group textarea { resize:vertical; min-height:130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* ========= CTA BAND ========= */
.cta-band { background:var(--emerald); padding:100px 0; text-align:center; position:relative; overflow:hidden; }
.cta-band h2, .cta-band p { color:var(--white); }
.cta-band p { color:rgba(255,255,255,0.7); margin:16px auto 36px; max-width:480px; }
.cta-band .cta-deco { position:absolute; width:400px; height:400px; border-radius:50%; border:1px solid rgba(255,255,255,0.07); }
.cta-band .cta-deco:nth-child(1) { top:-200px; left:-100px; }
.cta-band .cta-deco:nth-child(2) { bottom:-200px; right:-100px; }

/* ========= PAGE HERO (inner pages) ========= */
.page-hero { padding:160px 0 80px; background:var(--white); border-bottom:1px solid var(--border); }
.breadcrumb { display:flex; gap:8px; font-size:0.9rem; margin-bottom:20px; }
.breadcrumb a { color:var(--sage); }
.breadcrumb a:hover { color:var(--coral); }
.breadcrumb .sep { color:var(--sage-light); }
.breadcrumb .cur { color:var(--charcoal); font-weight:500; }
.page-hero h1 { max-width:700px; }
.page-hero p { margin-top:16px; max-width:550px; }

/* ========= FOOTER ========= */
.footer { background:var(--charcoal); color:var(--white); padding:80px 0 40px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:48px; margin-bottom:60px; }
.footer-brand .logo-text { color:var(--white); margin-bottom:4px; }
.footer-brand p { color:rgba(255,255,255,0.5); font-size:0.9rem; margin-top:14px; }
.footer-col h4 { color:var(--white); margin-bottom:20px; position:relative; padding-bottom:12px; }
.footer-col h4::after { content:''; position:absolute; bottom:0; left:0; width:24px; height:2px; background:var(--coral); }
.footer-col a { display:block; padding:5px 0; color:rgba(255,255,255,0.5); font-size:0.9rem; transition:all var(--ease); }
.footer-col a:hover { color:var(--coral); padding-left:6px; }
.fci { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; color:rgba(255,255,255,0.5); font-size:0.9rem; }
.fci .fi { color:var(--coral); flex-shrink:0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; display:flex; justify-content:space-between; font-size:0.85rem; color:rgba(255,255,255,0.35); }
.footer-bottom a { color:rgba(255,255,255,0.5); }
.footer-bottom a:hover { color:var(--coral); }

/* Back to Top */
.btt { position:fixed; bottom:32px; right:32px; width:48px; height:48px; border-radius:50%; background:var(--emerald); border:none; color:white; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transform:translateY(20px); transition:all var(--ease); z-index:90; box-shadow:0 4px 16px rgba(27,67,50,0.25); }
.btt.visible { opacity:1; visibility:visible; transform:translateY(0); }
.btt:hover { background:var(--emerald-mid); transform:translateY(-4px); }

/* Scroll Reveal */
.reveal { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity:1; transform:translateY(0); }
.rd1{transition-delay:.1s} .rd2{transition-delay:.2s} .rd3{transition-delay:.3s} .rd4{transition-delay:.4s}

/* ========= RESPONSIVE ========= */
@media(max-width:1024px) {
    .services-grid, .values-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; gap:40px; }
    .stats-row { grid-template-columns:repeat(3,1fr); gap:24px; }
}
@media(max-width:768px) {
    .nav-links { display:none; }
    .hamburger { display:flex; }
    .hero { padding:100px 0 60px; min-height:auto; }
    .hero-inner { grid-template-columns:1fr; gap:40px; }
    .hero-visual img { height:320px; }
    .hero-visual .float-badge { bottom:-12px; left:12px; padding:14px 20px; }
    .about-layout, .about-layout.reverse { grid-template-columns:1fr; gap:40px; }
    .about-layout.reverse .about-img { order:0; }
    .about-img img { height:280px; }
    .mv-grid { grid-template-columns:1fr; }
    .values-grid { grid-template-columns:1fr; }
    .contact-layout { grid-template-columns:1fr; gap:48px; }
    .stats-row { grid-template-columns:1fr; gap:32px; }
    .footer-grid { grid-template-columns:1fr; gap:32px; }
    .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
    .form-row { grid-template-columns:1fr; }
    .page-hero { padding:130px 0 60px; }
    .service-row { grid-template-columns:50px 1fr; gap:16px; }
    .service-row .sarrow { display:none; }
    .service-row:hover { margin:0; padding-left:16px; padding-right:16px; }
    section { padding:80px 0; }
    .green-band, .cta-band { padding:60px 0; }
}
