/* =========================================
   IDCC Landing Page CSS
   ========================================= */

/* --- Variables --- */
:root {
  --primary-navy: #1B365D;
  --secondary-green: #2D5A27;
  --action-orange: #E67E22;
  --action-orange-hover: #D35400;
  
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-silver: #E0E0E0;
  
  --text-dark: #2C3E50;
  --text-grey: #5A6A7A;
  --text-light: #F8F9FA;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 40px rgba(27, 54, 93, 0.15);
  
  --transition: all 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-navy {
  background-color: var(--primary-navy) !important;
  color: var(--text-light);
}

.bg-green {
  background-color: var(--secondary-green) !important;
  color: var(--text-light);
}

.text-white {
  color: var(--text-light);
}

.text-silver {
  color: #B0BEC5;
}

/* --- Typography --- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.section-title .underline {
  width: 80px;
  height: 4px;
  background-color: var(--action-orange);
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.section-title .subtitle {
  color: var(--text-grey);
  margin-top: 15px;
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--action-orange);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--action-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.btn-full {
  width: 100%;
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(230, 126, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* --- Header / Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 130px; /* Adjust based on provided logo */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--action-orange);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  padding: 20px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(-150%);
  transition: transform 0.4s ease-in-out;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
  padding: 10px;
  border-bottom: 1px solid var(--bg-light);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('images/hero_indian_retail.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for nav */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 54, 93, 0.9) 0%, rgba(27, 54, 93, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
}

.hero.text-center .hero-content {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-light);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--action-orange);
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light) !important;
}

.hero-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-light) !important;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-highlight {
  color: var(--action-orange);
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: 2.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
}

/* --- Trust Indicators --- */
.trust-indicators {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 40px 0;
  position: relative;
  z-index: 3;
  margin-top: -30px;
  box-shadow: var(--box-shadow);
}

.flex-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  text-align: center;
}

.trust-item .counter {
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--action-orange);
}

.trust-item span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--action-orange);
}

.trust-item p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 5px;
}

/* --- Grids --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* --- Services Card --- */
.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 4px;
  background-color: var(--action-orange);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  width: 100%;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary-navy);
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .icon-wrapper {
  background-color: var(--primary-navy);
  color: var(--text-light);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-grey);
  margin-bottom: 20px;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.feature-list li i {
  color: var(--secondary-green);
  font-size: 0.9rem;
}

/* --- Target Segments --- */
.target-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.target-card:hover {
  transform: translateY(-5px);
}

.target-header {
  padding: 25px 20px;
  text-align: center;
}

.target-header h3 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.target-body {
  padding: 30px;
  background-color: var(--bg-white);
  flex-grow: 1;
}

.target-body p {
  color: var(--text-grey);
  margin-bottom: 20px;
  font-weight: 500;
}

.target-body ul {
  border-top: 1px solid var(--bg-light);
  padding-top: 20px;
}

.target-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.target-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--action-orange);
  font-weight: bold;
}

/* --- Process Timeline --- */
.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  position: relative;
}

.timeline-connector {
  flex-grow: 1;
  height: 2px;
  background-color: var(--bg-silver);
  margin: 40px 15px 0;
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--bg-silver);
  border-right: 2px solid var(--bg-silver);
  transform: rotate(45deg);
}

.timeline-step {
  flex-basis: 30%;
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--primary-navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 auto 25px;
  box-shadow: 0 5px 15px rgba(27, 54, 93, 0.3);
  position: relative;
  z-index: 2;
  border: 5px solid var(--bg-white);
  transition: var(--transition);
}

.timeline-step:hover .step-number {
  background-color: var(--action-orange);
  transform: scale(1.1);
}

.step-content h4 {
  font-size: 1.4rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.step-content p {
  color: var(--text-grey);
}

/* --- Lead Section --- */
.lead-section {
  background-color: var(--bg-white);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-info h2 {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.lead-info p {
  font-size: 1.1rem;
  color: var(--text-grey);
  margin-bottom: 30px;
}

.contact-badges {
  display: flex;
  gap: 20px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: var(--bg-light);
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary-navy);
}

.badge i {
  color: var(--secondary-green);
}

.lead-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
  border-top: 5px solid var(--action-orange);
}

.lead-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-navy);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--bg-silver);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 2px rgba(27, 54, 93, 0.1);
}

.hidden {
  display: none !important;
}

.form-success {
  text-align: center;
  padding: 20px;
  background-color: rgba(45, 90, 39, 0.1);
  border-radius: var(--radius-sm);
  color: var(--secondary-green);
}

.form-success i {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2.5rem;
  color: var(--action-orange);
  margin-bottom: 5px;
}

.footer-brand p {
  font-size: 1.1rem;
  font-weight: 600;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--action-orange);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--action-orange);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  color: var(--text-silver);
}

.footer-contact i {
  color: var(--action-orange);
  margin-top: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
}

.social-links a:hover {
  background-color: var(--action-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-silver);
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .timeline-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .logo img {
    height: 70px;
  }
  .login-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-highlight {
    font-size: 1.6rem;
    display: block;
    margin-top: 5px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .trust-indicators .flex-row {
    flex-direction: column;
    gap: 40px;
  }
}
