/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #1a3c6e;
  --primary-light: #2557a7;
  --accent: #f0a500;
  --accent2: #e8562a;
  --green: #2e7d32;
  --bg: #f8f9fc;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #5a6475;
  --border: #e2e8f0;
  --shadow: 0 8px 32px rgba(26,60,110,0.10);
  --shadow-hover: 0 16px 48px rgba(26,60,110,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Tiro Telugu', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1300px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white; font-weight: 900;
}
.firm-name {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--primary);
}
.firm-sub { display: block; font-size: 11px; color: var(--text-light); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px;
  color: var(--text); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary); background: rgba(26,60,110,0.07);
}
.btn-nav-login {
  background: var(--primary) !important;
  color: white !important;
  padding: 9px 20px !important;
}
.btn-nav-login:hover { background: var(--primary-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--primary); border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3c6e 50%, #0d3b5e 100%);
  display: flex; align-items: center;
  padding: 120px 32px 60px;
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(240,165,0,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37,87,167,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  flex: 1; max-width: 600px;
  position: relative; z-index: 2;
}
.badge-top {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  color: var(--accent);
  border: 1px solid rgba(240,165,0,0.3);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}
.hero-title {
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title .te {
  display: block;
  font-family: 'Tiro Telugu', serif;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--accent);
  line-height: 1.3;
}
.hero-title .en {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: white; font-weight: 700;
  line-height: 1.1;
}
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 17px; margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.te-small {
  font-family: 'Tiro Telugu', serif;
  font-size: 15px; color: rgba(255,255,255,0.6);
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e8562a);
  color: white; padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: 15px; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(240,165,0,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,165,0,0.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: white; padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: 15px; transition: var(--transition);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.stat { text-align: center; }
.stat .num { display: block; font-size: 28px; font-weight: 700; color: var(--accent); }
.stat .label { font-size: 12px; color: rgba(255,255,255,0.6); }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-visual {
  flex: 1; display: flex; flex-direction: column;
  gap: 16px; align-items: flex-end;
  padding-left: 40px; position: relative; z-index: 2;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  min-width: 280px; color: white;
}
.hero-card strong { display: block; font-size: 15px; }
.hero-card small { font-size: 12px; opacity: 0.7; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.card-icon.green { background: rgba(46,125,50,0.3); color: #81c784; }
.card-icon.orange { background: rgba(240,165,0,0.3); color: var(--accent); }
.card-icon.blue { background: rgba(37,87,167,0.4); color: #90caf9; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating { animation: floatAnim 4s ease-in-out infinite; }
.delay1 { animation-delay: 1s; }
.delay2 { animation-delay: 2s; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-header.white h2, .section-header.white p { color: white; }
.section-tag {
  display: inline-block;
  background: rgba(26,60,110,0.08);
  color: var(--primary);
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.section-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--primary);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 16px; }

/* ===== SERVICES ===== */
.services-section { padding: 90px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  cursor: pointer; position: relative;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.service-card.featured {
  background: linear-gradient(135deg, #0d1b3e, #1a3c6e);
  color: white; border-color: transparent;
  box-shadow: var(--shadow);
}
.service-card.featured h3,
.service-card.featured .te-p,
.service-card.featured .service-list li { color: rgba(255,255,255,0.9); }
.service-card.featured .service-price { color: var(--accent); }
.service-card.featured .btn-service {
  background: var(--accent); color: white;
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--primary); margin-bottom: 10px;
}
.te-p { font-family: 'Tiro Telugu', serif; font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.service-list { margin-bottom: 20px; }
.service-list li {
  font-size: 14px; padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
}
.service-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.service-price {
  font-size: 20px; font-weight: 700;
  color: var(--primary); margin-bottom: 20px;
}
.btn-service {
  display: inline-block;
  background: var(--primary);
  color: white; padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.btn-service:hover { background: var(--primary-light); transform: translateX(4px); }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 90px 0; background: var(--bg); }
.steps-grid {
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.step {
  text-align: center; padding: 36px 24px;
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border);
  flex: 1; min-width: 180px; max-width: 220px;
  position: relative; transition: var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.step h4 { font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-light); }
.step-arrow { font-size: 24px; color: var(--accent); font-weight: 700; }

/* ===== WHY US ===== */
.why-section { padding: 90px 0; background: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--primary);
  margin-bottom: 32px;
}
.why-points { display: flex; flex-direction: column; gap: 24px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-point i {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(26,60,110,0.08);
  color: var(--primary); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-point h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.why-point p { font-size: 14px; color: var(--text-light); }
.trust-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px; padding: 40px;
  color: white;
}
.trust-box h3 { font-size: 22px; margin-bottom: 28px; }
.trust-item {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 15px;
}
.trust-item span { font-size: 28px; font-weight: 700; color: var(--accent); }

/* ===== ENQUIRY SECTION ===== */
.enquiry-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0d1b3e, #1a3c6e);
}
.enquiry-form {
  max-width: 760px; margin: 0 auto;
  background: white; border-radius: 20px;
  padding: 48px; box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}
.btn-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,60,110,0.4); }

/* ===== FOOTER ===== */
.footer { background: #0a1628; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .firm-name { font-size: 20px; color: white; }
.footer-logo .firm-sub { color: rgba(255,255,255,0.5); }
.footer .firm-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: white; }
.footer-col h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: white;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  margin-top: 12px; transition: var(--transition);
}
.whatsapp-btn:hover { background: #20b858; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-keywords { font-size: 11px !important; opacity: 0.3; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; background: white; padding: 20px;
    box-shadow: var(--shadow); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { flex-direction: column; padding: 100px 20px 60px; gap: 40px; }
  .hero-visual { align-items: center; padding: 0; }
  .hero-card { min-width: 0; width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .enquiry-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
