/* Custom CSS Variables */
:root {
    --primary-color: #ff8f00;      /* Main brand color - blue */
    --secondary-color: #2c3e50;    /* Secondary color - dark blue/gray */
    --accent-color: #e74c3c;       /* Accent color - red */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Transition Speed */
    --transition-speed: 0.3s;
  }
  
  /* General Styles */
  body {
    font-family: var(--body-font);
    color: var(--text-color);
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
  }
  
  main {
    min-height: 80vh;
    padding-top: 80px; /* To account for fixed navbar */
  }
  
  a {
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
  }
  
  a:hover {
    color: darken(var(--primary-color), 10%);
  }
  
  /* Section Styles */
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Button Customization */
  .btn {
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-primary:hover, .btn-primary:focus {
    background-color: #2980b9;
    border-color: #2980b9;
  }
  
  .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
  }
  
  /* Navigation Customization */
  .navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all var(--transition-speed) ease;
  }
  
  .navbar-brand {
    font-weight: 700;
  }
  
  .nav-link {
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    margin: 0 5px;
  }
  
  .nav-link:hover {
    color: var(--primary-color) !important;
  }
  
  .nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    
  }
  
  /* Hero Section */
  .hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 300px 0;
    position: relative;
  }
  
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay */
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  /* Page Header */
  .page-header {
    background-color: var(--primary-color);
    position: relative;
  }
  
  /* Card Customization */
  .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-radius: 6px;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .card-title {
    font-weight: 600;
  }
  
  .card-icon {
    margin-bottom: 1.5rem;
  }
  
  /* Service Cards */
  .service-card .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
  }
  
  /* Team Section */
  .team-card img {
    transition: transform var(--transition-speed) ease;
  }
  
  .team-card:hover img {
    transform: scale(1.05);
  }
  
  /* Value Cards */
  .value-icon {
    width: 80px;
    height: 80px;
  }
  
  /* Timeline Styles */
  .timeline {
    position: relative;
    padding: 30px 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 50px;
  }
  
  .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
  }
  
  .timeline-content {
    width: 45%;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    margin-left: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
  }
  
  .timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  /* Testimonial Cards */
  .testimonial {
    position: relative;
    padding: 30px;
  }
  
  .testimonial-card {
    overflow: hidden;
  }
  
  .testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  /* Activity Cards */
  .activity-card .activity-meta {
    font-size: 0.85rem;
    color: #6c757d;
  }


  /* Application Steps */
  .application-steps {
    position: relative;
  }
  
  .step-timeline {
    position: relative;
    padding: 30px 0;
  }
  
  .step-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 3px;
    background-color: var(--primary-color);
  }
  
  .step-item {
    position: relative;
    margin-bottom: 50px;
    margin-left: 80px;
  }
  
  .step-number {
    position: absolute;
    left: -60px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
  }
  
  .step-content {
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }
  
  .step-item:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  /* Sample Email */
  .sample-email {
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-line;
  }
  
  /* Contact Cards */
  .contact-card .contact-icon {
    width: 80px;
    height: 80px;
  }
  
  /* CTA Section */
  .cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
  }
  
  /* Partner Logos */
  .partner-logo {
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    max-height: 80px;
    filter: grayscale(50%);
  }
  
  .partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
  }
  
  /* Footer Customization */
  footer {
    background-color: var(--dark-bg);
  }
  
  footer h5 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
  }
  
  footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  footer .text-muted {
    color: #adb5bd !important; /* Lighter gray instead of muted */
  }
  
  footer ul li {
    margin-bottom: 0.5rem;
  }
  
  footer a {
    color: #adb5bd !important; /* Lighter gray instead of muted */
    transition: all var(--transition-speed) ease;
    text-decoration: none !important;
  }
  
  footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
  }
  
  footer .social-links a {
    font-size: 1.2rem;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    transition: all var(--transition-speed) ease;
  }
  
  footer .social-links a:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
  }
  
  footer hr {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Accordion Customization */
  .accordion-button:not(.collapsed) {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
  }
  
  .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
  }
  
  /* Tab Navigation */
  .nav-pills .nav-link {
    color: var(--text-color);
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all var(--transition-speed) ease;
  }
  
  .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
    border-bottom: none !important;
  }
  
  .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(52, 152, 219, 0.1);
  }

  /* Animation Enhancements */
  [data-aos] {
    pointer-events: none;
  }
  
  [data-aos].aos-animate {
    pointer-events: auto;
  }
  
  /* Utility Classes */
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  .bg-primary {
    background-color: var(--primary-color) !important;
  }
  
  .rounded-circle {
    overflow: hidden;
  }
  
  /* Media Queries */
  @media (max-width: 991.98px) {
    .navbar-nav {
      padding-top: 1rem;
    }
    
    .nav-link.active::after {
      display: none;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .hero-section {
      padding: 100px 0;
    }
  }
  
  @media (max-width: 767.98px) {
    .timeline::before {
      left: 40px;
    }
    
    .timeline-dot {
      left: 40px;
      transform: none;
    }
    
    .timeline-content {
      width: calc(100% - 80px);
      margin-left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
      margin-left: 80px;
      margin-right: 0;
    }
    
    .section-title {
      margin-bottom: 30px;
    }
    
    h1.display-4 {
      font-size: 2.5rem;
    }
    
    .lead {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 575.98px) {
    .section {
      padding: 40px 0;
    }
    
    .card {
      margin-bottom: 20px;
    }
    
    .hero-section {
      padding: 80px 0;
    }
    
    h1.display-4 {
      font-size: 2rem;
    }
  }
  
  /* Print Styles */
  @media print {
    .navbar, .hero-section, .cta-section, footer {
      display: none;
    }
    
    main {
      padding-top: 0;
    }
    
    .card, .section {
      break-inside: avoid;
    }
    
    .card {
      box-shadow: none;
      border: 1px solid #ddd;
    }
    
    .section {
      padding: 20px 0;
    }
  }