/* ===== PRIME CONSULTANCY - Premium Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-900: #070e1a;
  --navy-800: #0a1628;
  --navy-700: #0f2044;
  --navy-600: #152c5a;
  --navy-500: #1e3a6e;
  --gold-500: #d4af37;
  --gold-400: #e0c35c;
  --gold-300: #f0d78c;
  --gold-200: #f5e6b8;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-gold: 0 4px 20px rgba(212,175,55,.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--navy-800); }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .label {
  display: inline-block; font-family: 'Inter',sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-500);
  margin-bottom: 12px; position: relative; padding: 0 20px;
}
.section-header .label::before, .section-header .label::after {
  content:''; position: absolute; top: 50%; width: 30px; height: 2px; background: var(--gold-500);
}
.section-header .label::before { left: -20px; }
.section-header .label::after { right: -20px; }
.section-header h2 { font-size: 2.6rem; margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  border-radius: 50px; font-family: 'Inter',sans-serif; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-800); box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,.4); }
.btn-outline {
  background: transparent; border: 2px solid var(--gold-500); color: var(--gold-500);
}
.btn-outline:hover { background: var(--gold-500); color: var(--navy-800); }
.btn-white { background: var(--white); color: var(--navy-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }

/* --- Preloader --- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center; transition: opacity .5s;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.loader { width: 50px; height: 50px; border: 4px solid var(--navy-600); border-top-color: var(--gold-500); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,22,40,.95); backdrop-filter: blur(16px);
  padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo span { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; color: var(--white); }
.nav-logo .gold { color: var(--gold-500); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; position: relative; }
.nav-links a::after {
  content:''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold-500); transition: var(--transition);
}
.nav-links a:hover { color: var(--gold-400); }
.nav-links a:hover::after { width: 100%; }
.nav-cta .btn { padding: 10px 24px; font-size: .85rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.mobile-overlay { display: none; }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background: url('assets/hero-bg.png') center/cover no-repeat;
  opacity: .3;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,14,26,.85), rgba(15,32,68,.7)); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-top: 80px; }
.hero-content h1 { font-size: 3.4rem; color: var(--white); margin-bottom: 8px; }
.hero-content h1 .gold { color: var(--gold-500); }
.hero-content .tagline {
  font-size: 1.2rem; color: var(--gold-300); font-weight: 500; margin-bottom: 20px;
  font-family: 'Inter',sans-serif;
}
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,.7); margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-number { font-size: 2.2rem; font-weight: 800; color: var(--gold-500); font-family: 'Inter',sans-serif; }
.hero-stats .stat-label { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 440px;
}
.hero-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.quick-service-list { display: flex; flex-direction: column; gap: 14px; }
.quick-service-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: rgba(255,255,255,.06); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition); cursor: default;
}
.quick-service-item:hover { background: rgba(212,175,55,.1); border-color: rgba(212,175,55,.3); transform: translateX(6px); }
.quick-service-item .icon { font-size: 1.5rem; min-width: 36px; text-align: center; }
.quick-service-item span { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; }

/* --- Floating shapes --- */
.floating-shape {
  position: absolute; border-radius: 50%; opacity: .08; pointer-events: none;
}
.shape-1 { width: 300px; height: 300px; background: var(--gold-500); top: 10%; right: -5%; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; background: var(--blue-500); bottom: 15%; left: -3%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-30px); } }

/* --- About --- */
.about { background: var(--gray-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.about-image .accent-box {
  position: absolute; bottom: -20px; right: -20px; width: 200px; padding: 20px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-gold);
}
.accent-box .number { font-size: 2.4rem; font-weight: 800; color: var(--navy-800); font-family: 'Inter',sans-serif; }
.accent-box .text { font-size: .8rem; font-weight: 600; color: var(--navy-700); text-transform: uppercase; letter-spacing: 1px; }
.about-content h2 { font-size: 2.4rem; margin-bottom: 20px; }
.about-content .lead { font-size: 1.1rem; color: var(--navy-600); font-weight: 500; margin-bottom: 16px; }
.about-content p { margin-bottom: 24px; color: var(--gray-600); }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature .check {
  min-width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--navy-800);
}
.about-feature span { font-size: .95rem; color: var(--gray-600); padding-top: 3px; }

/* --- Services --- */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; padding: 36px 28px; background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); transition: var(--transition); overflow: hidden; cursor: default;
}
.service-card::before {
  content:''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-500)); transform: scaleX(0);
  transform-origin: left; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(59,130,246,.1));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: 'Inter',sans-serif; font-weight: 700; }
.service-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: .85rem; font-weight: 600; color: var(--gold-500);
}
.service-card:hover .learn-more { color: var(--navy-700); }

/* --- Why Choose Us --- */
.why-us { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: rgba(255,255,255,.6); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-card {
  text-align: center; padding: 40px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.why-card:hover { background: rgba(212,175,55,.08); border-color: rgba(212,175,55,.3); transform: translateY(-4px); }
.why-card .icon {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.why-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; font-family: 'Inter',sans-serif; font-weight: 700; }
.why-card p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* --- Process --- */
.process { background: var(--gray-50); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-steps::before {
  content:''; position: absolute; top: 50px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-500)); opacity: .3;
}
.process-step { text-align: center; position: relative; }
.step-number {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--white); border: 3px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display',serif; font-size: 1.5rem; font-weight: 700;
  color: var(--gold-500); position: relative; z-index: 2;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: 'Inter',sans-serif; font-weight: 700; }
.process-step p { font-size: .88rem; color: var(--gray-500); }

/* --- CTA --- */
.cta {
  position: relative; padding: 100px 0; text-align: center;
  background: url('assets/cta-bg.png') center/cover no-repeat;
}
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,14,26,.92), rgba(15,32,68,.88)); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: 2.6rem; color: var(--white); margin-bottom: 16px; }
.cta p { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-info > p { color: var(--gray-500); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item .icon-box {
  min-width: 50px; height: 50px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(59,130,246,.1));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item h4 { font-size: .95rem; font-family: 'Inter',sans-serif; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .9rem; color: var(--gray-500); }
.contact-item a:hover { color: var(--gold-500); }
.contact-form-wrapper {
  background: var(--gray-50); padding: 40px; border-radius: var(--radius-xl); border: 1px solid var(--gray-200);
}
.contact-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'Inter',sans-serif; font-size: .9rem; background: var(--white);
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-wrapper .btn { width: 100%; justify-content: center; }

/* --- Footer --- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo img { height: 40px; }
.footer-brand .logo span { font-family: 'Playfair Display',serif; font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-brand .logo .gold { color: var(--gold-500); }
.footer-brand p { font-size: .88rem; margin-bottom: 20px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: var(--transition); font-size: .9rem;
}
.social-links a:hover { background: var(--gold-500); color: var(--navy-800); }
.footer-col h4 { color: var(--white); font-size: 1rem; font-family: 'Inter',sans-serif; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content:''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gold-500); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; }
.footer-col ul a:hover { color: var(--gold-400); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: .82rem; }

/* --- Testimonials --- */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
  background: var(--white); padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); position: relative; transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.testimonial-card .quote-icon {
  position: absolute; top: 20px; right: 20px; font-size: 2.5rem; color: rgba(212,175,55,.1);
}
.testimonial-card p { font-style: italic; color: var(--gray-600); margin-bottom: 24px; position: relative; z-index: 2; }
.testimonial-user { display: flex; align-items: center; gap: 15px; }
.testimonial-user .avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--navy-100);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold-500);
  background: var(--navy-800);
}
.testimonial-user h4 { font-size: 1rem; margin-bottom: 2px; font-family: 'Inter',sans-serif; }
.testimonial-user span { font-size: .8rem; color: var(--gray-500); }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Back to Top --- */
#backToTop {
  position: fixed; bottom: 100px; right: 30px; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-800); border: none; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow-gold);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,.5); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-overlay {
    display: none; position: fixed; inset: 0; z-index: 998;
    background: rgba(7,14,26,.97); flex-direction: column; align-items: center;
    justify-content: center; gap: 24px;
  }
  .mobile-overlay.active { display: flex; }
  .mobile-overlay a { color: var(--white); font-size: 1.3rem; font-weight: 600; }
  .mobile-overlay a:hover { color: var(--gold-400); }
  .mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-card { padding: 28px; }
  .section-header h2 { font-size: 2rem; }
  .section-padding { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .hero-stats .stat-number { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { padding: 12px 28px; font-size: .88rem; }
  .process-steps { grid-template-columns: 1fr; }
}
