/* =============================================
   SUNROOF SOLAR SOLUTIONS — GLOBAL STYLES
   Orange & White Theme
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
  --orange:       #F47B20;
  --orange-dark:  #D96211;
  --orange-light: #FF9A45;
  --orange-pale:  #FFF4EA;
  --orange-bg:    #FEF3E8;
  --white:        #FFFFFF;
  --off-white:    #FAFAFA;
  --dark:         #1A1A1A;
  --dark-2:       #2D2D2D;
  --gray:         #6B7280;
  --gray-light:   #F3F4F6;
  --border:       #E5E7EB;
  --green:        #16A34A;
  --shadow-sm:    0 2px 8px rgba(244,123,32,0.12);
  --shadow:       0 8px 32px rgba(244,123,32,0.15);
  --shadow-lg:    0 20px 60px rgba(244,123,32,0.2);
  --shadow-dark:  0 8px 32px rgba(0,0,0,0.12);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── TOPBAR ── */
.topbar { background: var(--dark); color: #D1D5DB; font-size: 0.775rem; padding: 8px 0; position: relative; z-index: 100; }
.topbar-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #D1D5DB; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange-light); }
.topbar i { color: var(--orange); }
.topbar-social a { color: #9CA3AF; font-size: 0.85rem; }
.topbar-social a:hover { color: var(--orange); }

/* ── NAVBAR ── */
nav { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: var(--transition); }
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.nav-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 76px; }

/* ── LOGO (image based) ── */
.logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.logo-text-fallback strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); line-height: 1.1; }
.logo-text-fallback span { font-size: 0.68rem; color: var(--orange); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

/* Footer logo */
.footer-logo-img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }

/* ── NAV MENU ── */
.nav-menu { display: flex; list-style: none; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 13px; font-size: 0.85rem; font-weight: 500; color: var(--dark-2); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: var(--orange-pale); color: var(--orange-dark); }
.nav-menu > li > a .chevron { font-size: 0.55rem; transition: transform 0.2s; }
.nav-menu > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.14); border: 1px solid var(--border); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 300; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 0.85rem; color: var(--dark-2); transition: background 0.2s; border-bottom: 1px solid var(--gray-light); }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--orange-bg); color: var(--orange-dark); }
.dropdown-menu a i { color: var(--orange); width: 18px; font-size: 0.9rem; }

.nav-cta { background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important; color: white !important; padding: 10px 22px !important; border-radius: 50px !important; font-weight: 600 !important; box-shadow: 0 4px 16px rgba(244,123,32,0.35) !important; transition: var(--transition) !important; }
.nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 20px rgba(244,123,32,0.45) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 100vw); background: var(--white); z-index: 2000; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: -20px 0 60px rgba(0,0,0,0.15); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mobile-close { background: var(--gray-light); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dark); }
.mobile-links { padding: 16px 0; }
.mobile-links a { display: flex; align-items: center; gap: 12px; padding: 13px 24px; font-size: 0.9rem; font-weight: 500; color: var(--dark-2); border-bottom: 1px solid var(--gray-light); transition: background 0.2s; }
.mobile-links a:hover { background: var(--orange-bg); color: var(--orange-dark); }
.mobile-links a i { color: var(--orange); width: 18px; }
.mobile-links .sub { padding-left: 52px; font-size: 0.82rem; color: var(--gray); }
.mobile-links .sub:hover { color: var(--orange-dark); }
.mobile-nav-footer { padding: 24px; background: var(--orange-bg); margin-top: auto; }
.mobile-nav-footer a { display: flex; align-items: center; gap: 8px; color: var(--dark-2); font-size: 0.85rem; margin-bottom: 10px; }
.mobile-nav-footer a i { color: var(--orange); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); border: none; font-family: 'Poppins', sans-serif; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: white; box-shadow: 0 6px 20px rgba(244,123,32,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,123,32,0.45); }
.btn-outline { background: transparent; color: var(--orange-dark); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: white; }
.btn-white { background: white; color: var(--orange-dark); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── SECTIONS ── */
.section { padding: 90px 24px; }
.section-inner { max-width: 1200px; margin: auto; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange-dark); background: var(--orange-bg); padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 16px; }
.section-title span { color: var(--orange-dark); }
.section-sub { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #2D1B0E 60%, #1A1A1A 100%); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(244,123,32,0.2) 0%, transparent 70%); }
.page-hero h1 { font-family: 'Playfair Display', serif; color: white; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; position: relative; z-index: 2; margin-bottom: 12px; }
.page-hero h1 span { color: var(--orange-light); }
.page-hero p { color: #D1D5DB; font-size: 1rem; max-width: 580px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.8rem; color: #9CA3AF; margin-bottom: 16px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--orange-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.6rem; }

/* ── STATS BAR ── */
.stats-bar { background: var(--orange); padding: 40px 24px; }
.stats-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { color: white; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; display: block; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; opacity: 0.9; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── FEATURE CARDS ── */
.feature-card { background: white; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-dark); transition: var(--transition); border: 1px solid var(--border); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--orange-bg); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; transition: var(--transition); }
.feature-card:hover .feature-icon { background: var(--orange); }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ── CHECK LIST ── */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--dark-2); margin-bottom: 12px; line-height: 1.5; }
.check-list li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: #9CA3AF; }
.footer-top { max-width: 1200px; margin: auto; padding: 70px 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; margin: 16px 0; max-width: 300px; }
footer h4 { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 12px; }
footer ul li a { font-size: 0.85rem; color: #9CA3AF; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
footer ul li a::before { content: '›'; color: var(--orange); font-size: 1rem; line-height: 1; }
footer ul li a:hover { color: var(--orange-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.85rem; }
.footer-contact-item i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: #9CA3AF; }
.footer-contact-item a:hover { color: var(--orange-light); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: #9CA3AF; font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--orange); color: white; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--orange-light); }

/* ── FLOATING WHATSAPP ── */
.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 8999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: var(--transition); animation: waPulse 2.5s ease-in-out infinite; }
.float-wa:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); } 50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7); } }
.float-wa-label { position: absolute; right: 70px; background: var(--dark); color: white; font-size: 0.72rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition); }
.float-wa:hover .float-wa-label { opacity: 1; }

/* ── ANIMATIONS ── */
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

/* ── FORM FIELDS ── */
.form-field { margin-bottom: 15px; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--dark-2); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.form-field label span { color: #EF4444; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 11px 15px; font-size: 0.88rem; font-family: 'Poppins', sans-serif; color: var(--dark); transition: border 0.2s; background: white; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,123,32,0.12); }
.form-field textarea { resize: vertical; min-height: 88px; }
.form-success-msg { display: none; background: #DCFCE7; border: 1px solid #86EFAC; border-radius: 10px; padding: 14px 18px; color: var(--green); font-size: 0.88rem; font-weight: 600; align-items: center; gap: 10px; margin-top: 12px; }
.form-success-msg.show { display: flex; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } .stats-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .nav-menu { display: none; } .hamburger { display: flex; } .topbar { display: none; } .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } .section { padding: 60px 20px; } .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; text-align: center; } .stats-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } .stats-inner { grid-template-columns: 1fr 1fr; } }
