/* ═══════════════════════════════════════════════════════
   Vivek Vijay & Company — Main Stylesheet
   Palette: Navy #1a3a6b | Gold #c9a227 | White #fff | Offwhite #f5f4f0
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a3a6b;
  --navy2:   #112850;
  --gold:    #c9a227;
  --gold2:   #a8841a;
  --white:   #ffffff;
  --off:     #f5f4f0;
  --gray:    #6b7280;
  --dark:    #1a1a2e;
  --text:    #333;
  --border:  #e2e2e2;
  --shadow:  0 4px 24px rgba(26,58,107,.12);
  --radius:  8px;
  --trans:   0.3s ease;
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: color var(--trans); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--off); }

/* ── Eyebrow Label ── */
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(201,162,39,.12); padding: 5px 14px; border-radius: 40px; margin-bottom: 14px; }

/* ── Section Title ── */
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin-bottom: 16px; }
.section-title span { color: var(--gold); }
.section-sub { color: var(--gray); max-width: 620px; }
.title-center { text-align: center; }
.title-center .section-sub { margin: 0 auto; }

/* ── Divider ── */
.divider { width: 56px; height: 4px; background: var(--gold); margin: 16px 0 28px; border-radius: 2px; }
.divider.center { margin: 16px auto 28px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-weight: 600; font-size: .92rem; letter-spacing: .04em; cursor: pointer; transition: all var(--trans); border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gold); color: var(--white); }

/* ════════════════════════════════
   TOP BAR
═════════════════════════════════*/
.top-bar { background: var(--navy2); color: rgba(255,255,255,.8); font-size: .82rem; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-contact { display: flex; align-items: center; gap: 14px; }
.top-contact a { color: rgba(255,255,255,.8); }
.top-contact a:hover { color: var(--gold); }
.top-contact .sep { opacity: .4; }
.top-social a { color: rgba(255,255,255,.8); margin-left: 10px; font-size: .9rem; transition: color var(--trans); }
.top-social a:hover { color: var(--gold); }

/* ════════════════════════════════
   HEADER / NAV
═════════════════════════════════*/
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 46px; height: 46px; background: var(--navy); border-radius: 10px; display: grid; place-items: center; color: var(--gold); font-size: 1.3rem; }
.logo-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--navy); }
.logo-text small { font-size: .72rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 8px 16px; border-radius: 6px; font-weight: 500; font-size: .9rem; color: var(--dark); position: relative; transition: all var(--trans); }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }
.site-nav a.active::after { content: ''; display: block; height: 3px; background: var(--gold); border-radius: 2px; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 60%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--trans); }

/* ════════════════════════════════
   HERO / SLIDER
═════════════════════════════════*/
.hero { position: relative; min-height: 600px; background: var(--navy2); overflow: hidden; display: flex; align-items: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(17,40,80,.85) 0%, rgba(26,58,107,.6) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 640px; }
.hero-content .eyebrow { color: var(--gold); background: rgba(201,162,39,.18); }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white); margin: 12px 0 20px; }
.hero-content p { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all var(--trans); border: none; }
.hero-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }
.hero-stats { position: absolute; bottom: 0; right: 0; background: var(--gold); display: flex; z-index: 3; }
.hero-stat { padding: 20px 30px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.hero-stat:last-child { border: none; }
.hero-stat strong { display: block; font-size: 1.8rem; font-family: 'Playfair Display', serif; color: var(--white); }
.hero-stat span { font-size: .75rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; }

/* ════════════════════════════════
   ABOUT SECTION
═════════════════════════════════*/
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
.about-img-main { border-radius: 12px; overflow: hidden; }
.about-img-thumb { position: absolute; bottom: -24px; right: -24px; width: 200px; border-radius: 10px; border: 4px solid var(--white); box-shadow: var(--shadow); overflow: hidden; }
.about-badge { position: absolute; top: -20px; left: -20px; background: var(--gold); color: var(--white); padding: 18px; border-radius: 10px; text-align: center; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 1.8rem; font-family: 'Playfair Display', serif; }
.about-badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.about-content { padding-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon { width: 40px; height: 40px; background: rgba(201,162,39,.12); border-radius: 8px; display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.about-feature h5 { font-size: .9rem; color: var(--navy); margin-bottom: 2px; }
.about-feature p { font-size: .82rem; color: var(--gray); }

/* ════════════════════════════════
   SERVICES
═════════════════════════════════*/
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; transition: all var(--trans); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gold); transition: height var(--trans); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { height: 100%; }
.service-icon { width: 52px; height: 52px; background: rgba(26,58,107,.07); border-radius: 10px; display: grid; place-items: center; color: var(--navy); font-size: 1.3rem; margin-bottom: 16px; transition: all var(--trans); }
.service-card:hover .service-icon { background: var(--navy); color: var(--gold); }
.service-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: .88rem; color: var(--gray); }
.service-card .service-loc { font-size: .78rem; color: var(--gold); margin-top: 10px; font-weight: 600; }

/* ════════════════════════════════
   PROJECTS
═════════════════════════════════*/
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 40px; }
.project-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); position: relative; height: 280px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,40,80,.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--white); transform: translateY(60px); transition: transform var(--trans); }
.project-card:hover .project-overlay { transform: translateY(0); }
.project-overlay .cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 6px; }
.project-overlay h3 { font-size: 1.1rem; margin-bottom: 6px; }
.project-overlay p { font-size: .82rem; color: rgba(255,255,255,.8); }
.project-placeholder { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.2); font-size: 3rem; }

/* ════════════════════════════════
   CTA BAND
═════════════════════════════════*/
.cta-band { background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%); padding: 70px 0; text-align: center; color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(201,162,39,.08); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,.8); }

/* ════════════════════════════════
   CLIENTS
═════════════════════════════════*/
.clients-track { overflow: hidden; position: relative; margin-top: 40px; }
.clients-track::before, .clients-track::after { content: ''; position: absolute; top: 0; width: 80px; height: 100%; z-index: 2; }
.clients-track::before { left: 0; background: linear-gradient(to right, var(--off), transparent); }
.clients-track::after { right: 0; background: linear-gradient(to left, var(--off), transparent); }
.clients-inner { display: flex; gap: 40px; animation: scroll-clients 20s linear infinite; width: max-content; }
.clients-inner:hover { animation-play-state: paused; }
.client-item { width: 140px; height: 80px; background: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 12px; flex-shrink: 0; }
.client-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all var(--trans); }
.client-item:hover img { filter: grayscale(0); opacity: 1; }
.client-placeholder { color: var(--gray); font-size: .8rem; font-weight: 600; text-align: center; }
@keyframes scroll-clients { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════
   PAGE HERO (inner pages)
═════════════════════════════════*/
.page-hero { background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%); padding: 70px 0; color: var(--white); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='rgba(255,255,255,.04)' stroke-width='1'/%3E%3C/svg%3E"); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb span { opacity: .5; }

/* ════════════════════════════════
   ABOUT PAGE
═════════════════════════════════*/
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.pillar-card { background: var(--white); border-radius: 12px; padding: 32px 24px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--gold); transition: transform var(--trans); }
.pillar-card:hover { transform: translateY(-4px); }
.pillar-card .pillar-icon { width: 60px; height: 60px; background: rgba(201,162,39,.1); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 1.4rem; margin: 0 auto 16px; }
.pillar-card h3 { color: var(--navy); margin-bottom: 10px; }
.pillar-card p { font-size: .88rem; color: var(--gray); }
.stats-row { display: flex; gap: 0; margin-top: 40px; background: var(--navy); border-radius: 12px; overflow: hidden; }
.stat-item { flex: 1; padding: 36px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border: none; }
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); }
.stat-item span { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

/* ════════════════════════════════
   SERVICES PAGE
═════════════════════════════════*/
.services-intro { max-width: 700px; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img { border-radius: 12px; overflow: hidden; height: 380px; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-img .img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--navy2)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.15); font-size: 4rem; }
.service-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.service-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray); }
.service-list li i { color: var(--gold); }

/* ════════════════════════════════
   CONTACT PAGE
═════════════════════════════════*/
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { display: flex; gap: 16px; background: var(--white); border-radius: 10px; padding: 20px; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.contact-info-card .ci-icon { width: 46px; height: 46px; background: rgba(201,162,39,.1); border-radius: 8px; display: grid; place-items: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-card h5 { color: var(--navy); font-size: .9rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: .85rem; color: var(--gray); }
.contact-form-wrap { background: var(--white); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .9rem; font-family: inherit; transition: border-color var(--trans); background: var(--off); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success { background: #ecfdf5; border: 1.5px solid #6ee7b7; color: #065f46; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; display: none; }
.form-success.show { display: block; }

/* ════════════════════════════════
   FOOTER
═════════════════════════════════*/
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.footer-logo i { color: var(--gold); font-size: 1.4rem; }
.footer-col p { font-size: .88rem; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 6px; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: .85rem; transition: all var(--trans); }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; font-family: 'Playfair Display', serif; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .87rem; color: rgba(255,255,255,.65); transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul li a i { font-size: .7rem; margin-right: 6px; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: .85rem; }
.contact-list li i { color: var(--gold); margin-top: 4px; flex-shrink: 0; }
.footer-newsletter h5 { color: var(--white); font-size: .88rem; margin: 20px 0 10px; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-right: none; border-radius: 6px 0 0 6px; color: var(--white); font-size: .85rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button { padding: 10px 16px; background: var(--gold); color: var(--white); border: none; border-radius: 0 6px 6px 0; cursor: pointer; transition: background var(--trans); }
.newsletter-form button:hover { background: var(--gold2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 48px; padding: 20px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ── Back to top ── */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--gold); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 4px 16px rgba(201,162,39,.4); opacity: 0; pointer-events: none; transition: all var(--trans); z-index: 999; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* ════════════════════════════════
   RESPONSIVE
═════════════════════════════════*/
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-imgs { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { position: relative; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 4px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .top-contact { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .about-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
}
