/* CSS Variables */
:root {
    --primary-color: #E6B33D;
    --secondary-color: #4a9fa6;
    --dark-color: #163047;
    --light-color: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --shadow: 0 2px 20px rgba(22, 48, 71, 0.1);
    --shadow-hover: 0 4px 30px rgba(22, 48, 71, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-family: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-1 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-medium);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Header */
.header {
  background: white;
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--primary-color);
}
/* Submenu: Base Style */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 210px;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  list-style: none;
}

/* Submenu Items */
.submenu li {
  position: relative;
  list-style: none;
}

.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
}

.submenu a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Show submenu on hover */
.has-submenu:hover > .submenu {
  display: flex;
}

/* Nested submenu (flyout) */
.submenu .submenu {
  top: 0;
  left: 100%;
  margin-left: 0px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  list-style: none;
}

/* Optional: Only show arrows for items that have further submenus */
.has-submenu > a::after {
  content: '';
  margin-left: 6px;
  font-size: 0.6rem;
  color: var(--text-primary);
}

.has-submenu > a + .submenu {
  /* This selector applies only if there is a submenu */
}

.has-submenu > .submenu .has-submenu > a::after {
  content: '▶';
  font-size: 0.65rem;
  color: var(--text-primary);
  margin-left: 6px;
}

/* Remove unnecessary arrows from items that do not have submenu */
.submenu li:not(.has-submenu) > a::after {
  content: none;
}

/* Show only when .open is active */
.has-submenu.open > .submenu {
  display: flex;
  flex-direction: column;
}
/* Mobile Styles */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    display: none;
    flex-direction: column;
    padding: 1rem;
    height: 100vh;
  }

  .nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .submenu {
    position: static;
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    box-shadow: none;
  }

  .has-submenu.open > .submenu {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }
}


/* Hero Section */
.hero {
    color: var(--light-color);
    padding: 80px;
    display: flex;
    align-items: center;
    margin-top: 80px;
}
.hero {
    position: relative;
    background-image: url('https://getmycollege.co.in/wp-content/uploads/2025/07/jee-bg.jpeg'); /* Replace with your desired image */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    z-index: 1;
    overflow: hidden;
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust darkness */
    z-index: 0;
}

/* Content comes above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Optional: Adjust text styling */
.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle,
.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: #f0f0f0;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), #f5d76e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-card h3 {
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}
.toc-row {
  position: sticky;
  top: 87px;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 2px solid #d6d5d5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toc-scroll {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; 
  overflow-x: auto;
}

.toc-list-horizontal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center; 
}

.toc-list-horizontal li a {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.toc-list-horizontal li a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}


/* Responsive: horizontal scroll on small screens */
@media (max-width: 768px) {
  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.overview-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.overview-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.overview-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Dates Timeline */
.dates-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.dates-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 45%;
    margin: 0 2.5%;
}

.timeline-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
/* Syllabus Section */
.syllabus-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.syllabus-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #E6B33D;
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.syllabus-card h3 {
  color: #163047;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Syllabus List */
.syllabus-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.syllabus-card li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.syllabus-card li::before {
  content: '';
  position: absolute;
  left: 0;
  font-size: 1rem;
  color: #4a9fa6;
}
/* Downloads Section */
.downloads-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.download-card {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid #E6B33D;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.download-card h3 {
  color: #163047;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.download-card p {
  color: #444;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.download-btn {
  display: inline-block;
  background-color: #4a9fa6;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.download-btn:hover {
  background-color: #3a8891;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .download-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (min-width: 1024px) {
  .download-card {
    flex: 1 1 calc(33.33% - 2rem);
    max-width: calc(33.33% - 2rem);
  }
}

/* Responsive Layout */
@media (min-width: 768px) {
  .syllabus-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (min-width: 1024px) {
  .syllabus-card {
    flex: 1 1 calc(33.33% - 2rem);
    max-width: calc(33.33% - 2rem);
  }
}

/* Eligibility Grid */

.section-1 {
  padding: 40px 20px;
  background: #f9f9f9;
}


/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  color: #163047;
  margin-bottom: 10px;
}

.section-description {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Flex Grid */
.eligibility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Cards */
.eligibility-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #4a9fa6;
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.eligibility-card h3 {
  color: #163047;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* List Styling */
.eligibility-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eligibility-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.eligibility-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4a9fa6;
  font-weight: bold;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .eligibility-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (min-width: 1024px) {
  .eligibility-card {
    flex: 1 1 calc(25% - 2rem);
    max-width: calc(25% - 2rem);
  }
}
/* Pattern Section */
.pattern-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-button {
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-button.active,
.tab-button:hover {
    background: var(--secondary-color);
    color: var(--light-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pattern-table {
    overflow-x: auto;
}

.pattern-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pattern-table th,
.pattern-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pattern-table th {
    background: var(--dark-color);
    color: var(--light-color);
    font-weight: 600;
}

.pattern-table .total-row {
    background: var(--gray-light);
    font-weight: 600;
}

/* Application Steps */
.application-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    background: var(--primary-color);
    color: var(--dark-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.application-fee {
    text-align: center;
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fee-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.fee-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Preparation Grid */
.preparation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prep-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.prep-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.prep-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.prep-card ul {
    list-style: none;
    padding: 0;
}

.prep-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.prep-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}
/* Admit Card Section */
.admit-card-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.admit-card-info {
  flex: 1 1 100%;
  max-width: 100%;
}

.admit-card-info h3 {
  font-size: 1.3rem;
  color: #163047;
  margin-bottom: 1rem;
}

.admit-card-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.admit-card-info li {
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.admit-card-info li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.admit-btn {
  display: inline-block;
  background-color: #E6B33D;
  color: #163047;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.admit-btn:hover {
  background-color: #d1a031;
}

.admit-card-image {
  flex: 1 1 100%;
  max-width: 500px;
}

.admit-card-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Responsive Layout */
@media (min-width: 768px) {
  .admit-card-info,
  .admit-card-image {
    flex: 1 1 48%;
    max-width: 48%;
  }
}
/* Counselling Section */
.counselling-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.counselling-card {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid #4a9fa6;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.counselling-card h3 {
  color: #163047;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.counselling-card p {
  color: #444;
  line-height: 1.6;
}

.counselling-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.counselling-card li {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.counselling-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: 1rem;
  color: #4a9fa6;
}

/* CTA Button */
.counselling-cta {
  text-align: center;
  margin-top: 4rem;
}

.counselling-btn {
  background-color: #E6B33D;
  color: #163047;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.counselling-btn:hover {
  background-color: #d0a026;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .counselling-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (min-width: 1024px) {
  .counselling-card {
    flex: 1 1 calc(25% - 2rem);
    max-width: calc(25% - 2rem);
  }
}
/* Results Section */
.results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.results-card {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid #E6B33D;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.results-card h3 {
  font-size: 1.3rem;
  color: #163047;
  margin-bottom: 1rem;
}

.results-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-card li {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.results-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #E6B33D;
}

/* Full Width Table Card */
.full-width {
  flex: 1 1 100%;
  max-width: 100%;
}

.cutoff-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.cutoff-table th,
.cutoff-table td {
  border: 1px solid #ddd;
  padding: 0.8rem 1rem;
  text-align: left;
}

.cutoff-table th {
  background-color: #4a9fa6;
  color: #fff;
}

.cutoff-table td {
  background-color: #fdfdfd;
}

/* CTA Button */
.results-cta {
  text-align: center;
  margin-top: 2rem;
}

.results-btn {
  background-color: #4a9fa6;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.results-btn:hover {
  background-color: #3b858c;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .results-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }

  .full-width {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h3 {
    margin: 0;
    color: var(--dark-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-medium);
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 2.5rem 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: 1.75rem;
}

.footer-section {
  flex: 1 1 15%; /* Each section takes up ~15% */
}
.footer-section p{
  color: white;
}
.footer-bottom p{
  color: rgb(156, 155, 155);
}
.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: white;
}

.footer-section h3 {
  color: #E6B33D !important;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.875rem;
  line-height: 1.4;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.8125rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Timeline */
    .dates-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
        margin: 0;
    }

    /* Tables */
    .pattern-table {
        font-size: 0.9rem;
    }

    .pattern-table th,
    .pattern-table td {
        padding: 0.5rem;
    }

    /* Steps */
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Grids */
    .overview-grid,
    .eligibility-grid,
    .preparation-grid {
        grid-template-columns: 1fr;
    }

    /* Tabs */
    .pattern-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
.container-1{
  text-align: center;
}
    .hero {
        padding: 100px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .footer-section {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title,
.section-description {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.overview-card,
.eligibility-card,
.prep-card,
.step {
    transition: var(--transition);
}

.overview-card:hover,
.prep-card:hover {
    transform: translateY(-5px);
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.tab-button:focus,
.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}