/* 
  Amit Gupta Personal Branding Website
  Design System and Styles 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --color-white: #ffffff;
  --color-base: #f8fafc; /* Very light slate for subtle backgrounds */
  --color-primary: #003B73; /* Deep Water Blue */
  --color-primary-light: #0074B7;
  --color-primary-pale: #e6f0fa;
  --color-accent: #D4AF37; /* Gold */
  --color-accent-hover: #e5bf45;
  --color-text-main: #1e293b;
  --color-text-muted: #475569;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --spacing-section: 5rem;
  --spacing-element: 1.5rem;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-element);
}

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

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.section-padding { padding: var(--spacing-section) 0; }
.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); color: var(--color-white); }
.bg-light { background-color: var(--color-primary-pale); }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 1.5rem auto 3rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .nav-container {
  height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary-pale) 100%);
  padding-top: 80px; /* Offset for header */
  overflow: hidden;
}

/* Add a subtle graphic to hero background */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 59, 115, 0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.hero h1 span {
  display: block;
  color: var(--color-accent);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Trust Section */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 59, 115, 0.1);
}

.badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--color-accent);
  font-size: 1.5rem;
}

.badge-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
}

.badge-text span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* Cards / Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

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

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

.card:hover::before {
  background-color: var(--color-accent);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary-pale);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 1rem;
}

.card-link svg {
  transition: transform 0.3s ease;
}

.card:hover .card-link svg {
  transform: translateX(5px);
}

/* Impact Section */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
}

/* About Page Specifics */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.mission-box {
  background-color: var(--color-primary-pale);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  margin-top: 2rem;
}

.mission-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.mission-box p {
  margin-bottom: 0;
  color: var(--color-primary);
  font-style: italic;
}

/* Services Page Specifics */
.service-detail-section {
  padding: 5rem 0;
}

.service-detail-section:nth-child(even) {
  background-color: var(--color-white);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-row.reverse .service-content {
  order: 2;
}
.service-row.reverse .service-image {
  order: 1;
}

.service-list {
  list-style: none;
  margin-top: 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
  font-size: 1.1rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Programs Page Specifics */
.program-card {
  text-align: center;
  padding: 3rem 2rem;
}

.program-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  background-color: var(--color-primary-pale);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-card {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: var(--color-white);
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.contact-method h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-method p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  margin-top: 4rem;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  background-color: #e2e8f0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 4rem 2rem;
  border-radius: 20px;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.brand-statement {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 300px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Page Header for Inner Pages */
.page-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Logos */
.featured-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
.featured-logos img, .featured-logos div {
  transition: var(--transition);
}
.featured-logos div:hover {
  color: var(--color-primary) !important;
}

/* 3-Step Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  padding: 2.5rem 2rem;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: left;
  border-top: 4px solid var(--color-primary);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.step-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary-pale);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}

/* Meet Section */
.meet-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.meet-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.meet-content {
  text-align: left;
}

/* Testimonials */
.testimonial-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary-pale);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-card p {
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary-pale);
}

/* Media Queries */
@media (max-width: 992px) {
  .meet-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 { font-size: 3rem; }
  .about-grid, .service-row, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-row.reverse .service-content {
    order: 1;
  }
  .service-row.reverse .service-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .trust-badges { flex-direction: column; gap: 1.5rem; align-items: center; }
  .badge { flex-direction: column; text-align: center; }
  .badge-text { text-align: center; }
  
  .contact-form { padding: 2rem 1.5rem; }
  .section-padding { padding: 3rem 0; }
  
  .header.scrolled .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }
}
