* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #FDB927;
  --secondary-color: #FF6B35;
  --accent-color: #00A8E8;
  --dark-color: #1A1A2E;
  --text-dark: #2D2D2D;
  --text-light: #666666;
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --gradient-1: linear-gradient(135deg, #FDB927 0%, #FF6B35 100%);
  --gradient-2: linear-gradient(135deg, #00A8E8 0%, #0077B6 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

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

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}


.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(253, 185, 39, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 185, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.btn-outline:hover {
  background: var(--dark-color);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-color);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: -4px;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-1);
  top: -250px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-2);
  bottom: -200px;
  left: -100px;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #FF6B35 0%, #F72585 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 185, 39, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 24px;
  animation: slideInDown 0.8s ease;
}

.badge-icon {
  font-size: 18px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  animation: slideInLeft 0.8s ease;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  min-height: 70px;
}

.typing-text {
  position: relative;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: 8px;
  width: 3px;
  height: 50px;
  background: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: slideInLeft 0.8s ease 0.2s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
  animation: slideInUp 0.8s ease 0.3s backwards;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  animation: slideInUp 0.8s ease 0.4s backwards;
}

.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease 0.5s backwards;
}

.badge-item {
  background: rgba(26, 26, 46, 0.05);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.floating-card:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 32px;
}

.card-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-color);
}

.card-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.card-2 {
  top: 30%;
  right: 10%;
  animation-delay: 1s;
}

.card-3 {
  top: 55%;
  left: 15%;
  animation-delay: 2s;
}

.card-4 {
  bottom: 20%;
  right: 5%;
  animation-delay: 0.5s;
}

.card-5 {
  top: 5%;
  right: 35%;
  animation-delay: 1.5s;
}

.card-6 {
  bottom: 10%;
  left: 35%;
  animation-delay: 2.5s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--dark-color);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--dark-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-indicator p {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.ap-opportunities-banner {
  background: var(--gradient-1);
  padding: 40px 0;
}

.opportunities-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.opportunity-icon {
  font-size: 48px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.opportunity-text {
  flex: 1;
}

.opportunity-text h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}

.opportunity-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
}

.domains {
  padding: 100px 0;
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(253, 185, 39, 0.1);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.domain-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 2px solid transparent;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-btn.active {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.courses-grid {
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
  /*gap: 24px;*/
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.course-content{
    flex: 1;
}
.course-image-placeholder{
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;    
    
}
.course-image-placeholder img{
    border-radius: 10px;
}

/* 2. ADD A MEDIA QUERY for Mobile View */
@media (max-width: 600px) { /* Adjust '600px' if your mobile breakpoint is different */
    
    /* Target the course-card only when the screen is narrow */
    .course-card {
        /* This is the key change: it overrides 'flex-direction: row' */
        flex-direction: column; 
    }
    
    /* Optional: If the image was set to be smaller on the side, 
       you might want it to take full width on mobile */
    .course-image-placeholder {
        width: 100%;
    }

    .course-content {
        width: 100%;
        /* If content and image were swapping positions, you can reset the order here */
        order: initial; 
    }
}
.course-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap; align-items: center;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card.featured {
  background: linear-gradient(135deg, #FDB927 0%, #FF6B35 100%);
  color: var(--white);
}

.course-card.featured h3,
.course-card.featured p {
  color: var(--white);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.course-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.course-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(253, 185, 39, 0.1);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.course-card.featured .tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.ap-opportunities {
  padding: 50px 0;
  background: var(--white);
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.opportunity-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.opportunity-card.highlight {
  background: var(--gradient-1);
  color: var(--white);
}

.opportunity-card.highlight h3,
.opportunity-card.highlight p,
.opportunity-card.highlight li {
  color: var(--white);
}

.opportunity-header {
  margin-bottom: 24px;
}

.opportunity-icon-large {
  font-size: 64px;
  margin-bottom: 16px;
}

.opportunity-card h3 {
  font-size: 28px;
  margin-bottom: 4px;
}

.location {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 600;
}

.opportunity-card.highlight .location {
  color: rgba(255, 255, 255, 0.9);
}

.opportunity-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

.opportunity-card.highlight .opportunity-desc {
  color: rgba(255, 255, 255, 0.95);
}

.opportunity-features {
  list-style: none;
  margin-bottom: 24px;
}

.opportunity-features li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 15px;
}

.opportunity-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

.opportunity-card.highlight .opportunity-features li::before {
  color: var(--white);
}

.opportunity-courses {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: var(--text-dark);
}

.opportunity-card.highlight .opportunity-courses {
  border-top-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.cta-box {
  background: var(--light-bg);
  padding: 60px;
  border-radius: 24px;
  text-align: center;
}

.cta-box h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact {
  padding: 100px 0;
  background: var(--light-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: start;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--dark-color);
}

.contact-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 28px;
  margin-bottom: 32px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(253, 185, 39, 0.1);
}

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

.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-col h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .gradient-text {
    min-height: 50px;
  }

  .typing-text::after {
    height: 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 36px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
  }

  .domain-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .opportunities-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .opportunity-text h3 {
    font-size: 20px;
  }

  .opportunity-text p {
    font-size: 14px;
  }
}
