/* =================== RESET STYLES =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* =================== BODY =================== */
body {
  background: #f0f4fb;
  margin: 0;
  padding: 40px 20px;
}

/* =================== NAVBAR =================== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 30px;
  background-color: #000950;
  border-bottom: 1px solid #ddd;
}

/* Logo */
.nav-left .logo {
  width: 150px;
}

/* Navigation Links */
.nav-middle {
  flex: 1;
  text-align: center;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #e4dddd;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0077cc;
}

/* Contact Info & Social Icons */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 14px;
  color: #3a66d3;
  text-align: right;
}

.contact-info {
  line-height: 1.4;
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

.social-icons img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Navbar Responsiveness */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-left,
  .nav-middle,
  .nav-right {
    width: 100%;
    margin: 10px 0;
  }

  .nav-right {
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

/*highlighting navbar*/

.nav-links a.active {
  color: #ebaa11; /* brand gold color */
}


/* =================== WHY US?  =================== */
.rsco-intro {
  background-color: #f0f4fb;
  padding: 60px 12%;
  color: #013e7d;
  font-size: 18px;
  line-height: 1.8;
}

.rsco-intro .rsco-container {
  max-width: 1100px;
  margin: auto;
}

.rsco-intro h2 {
  font-size: 34px;
  color: #013e7d;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.rsco-intro h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #ebaa11;
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 4px;
}

.rsco-intro span {
  font-weight: bold;
  color: #ebaa11;
}

.rsco-intro strong {
  color: #013e7d;
  font-weight: 600;
}

.rsco-intro .highlight {
  color: #ebaa11;
  font-weight: bold;
  text-decoration: underline;
}


/* =================== HERO SECTION =================== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  background-color: #f9f9f9;
}

.image-container {
  position: relative;
  width: 800px;
  max-width: 100%;
}

.tuhh-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }
}

/* =================== FOUNDERS SECTION =================== */
#founder, #business-head {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

#founder h2, #business-head h2 {
  font-size: 32px;
  color: #013e7d;
  margin-bottom: 40px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 30px;
  text-align: center;
  gap: 20px;
}

.founder-card .img-container {
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #013e7d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.founder-card .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card .info h3 {
  font-size: 24px;
  color: #013e7d;
  margin-bottom: 8px;
}

.founder-card .info p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 768px) {
  .founder-card {
    padding: 30px 20px;
  }

  .founder-card .info p {
    font-size: 15px;
  }

  #founder h2, #business-head h2 {
    font-size: 26px;
  }
}

/* ================== Floating Cards Animation ================== */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin: 18px auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  animation: float 3.8s ease-in-out infinite;
  max-width: 900px;
  transition: transform 0.3s ease;
}

#business-head {
  margin-top: 10px; 
}


.founder-card:hover {
  transform: scale(1.02);
}

.founder-card.delay {
  animation-delay: 1.9s;
}

.img-container img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info h3 {
  margin-bottom: 6px;
  color: #013e7d;
  font-size: 22px;
}

.info p {
  margin-bottom: 8px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
}



/* =================== ABOUT SECTION =================== */

.about-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  line-height: 1.6;
}

.about-section h1 {
  font-size: 2.8rem;
  color: #013e7d;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.about-section .intro {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.highlight {
  color: #ebaa11;
  font-weight: 600;
}

.about-block {
  margin-top: 3rem;
  padding: 1.8rem 2rem;
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(1, 62, 125, 0.1);
}

.about-block h2 {
  color: #013e7d;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.9rem;
  border-bottom: 3px solid #ebaa11;
  padding-bottom: 0.4rem;
}

.offer {
  margin-bottom: 1.8rem;
  padding-left: 1rem;
  border-left: 5px solid #ebaa11;
}

.offer h3 {
  color: #013e7d;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.offer p {
  font-size: 1rem;
  color: #444;
  margin-left: 0.4rem;
}

.about-block.closing p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #013e7d;
  margin-top: 0.6rem;
  line-height: 1.4;
}

.about-block.closing p em {
  font-style: italic;
  color: #ebaa11;
}

@media (max-width: 768px) {
  .about-section {
    margin: 25px 15px;
  }

  .about-section h1 {
    font-size: 2.2rem;
  }

  .about-block h2 {
    font-size: 1.6rem;
  }
}


/* =================== SERVICES SECTION =================== */
.services-section {
  padding: 60px 12%;
  background-color: #ffffff;
}

.services-section h1 {
  font-size: 2.8rem;
  color: #013e7d;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.services-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.service {
  background-color: #f9f9f9;
  border-left: 6px solid #ebaa11;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.service h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #013e7d;
}

.service p {
  font-size: 16px;
  color: #333;
}


/* =================== HELP SECTION =================== */

/* FAQ Accordion */

.accordion-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.accordion-button {
  background-color: #013e7d; /* deep blue */
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.accordion-button:hover {
  background-color: #00509e; /* lighter blue on hover */
}

.accordion-button.active {
  background-color: #ebaa11; /* gold when active */
  color: #013e7d; /* dark text on gold background */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
  padding: 0 20px;
  border-radius: 0 0 5px 5px;
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
}


/* =================== CAREER COUNSELLING PAGE (career.html) =================== */

#career-page {
  padding-bottom: 60px;
}

/* MODIFIED Hero Section with Image */
.career-hero {
  background-color: #f0f4fb;
  padding: 60px 20px;
}

.career-hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Column 1: Text Content */
.hero-text-content {
  flex: 1.2; /* Give text slightly more space */
  text-align: left;
}

/* Column 2: Image Content */
.hero-image-content {
  flex: 0.8;
  text-align: center;
}

.hero-image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Overriding old centered styles for the hero elements */
.career-hero h1 {
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 600;
  color: #013e7d;
  margin-bottom: 15px;
}

.career-hero h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ebaa11; /* Brand gold */
  margin-bottom: 15px;
}

.career-hero p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}


/* --- THE REST OF THE PAGE STYLING (Unchanged) --- */

/* Main Two-Column Content Grid */
.content-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.content-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #013e7d;
}

.content-box h3 {
  font-size: 1.5rem;
  color: #013e7d;
  margin-bottom: 20px;
}

.content-box ul {
  list-style: none;
  padding-left: 5px;
}

.content-box li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Custom checkmark for list items */
.content-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ebaa11;
  font-weight: bold;
}

/* Process Section Styling */
.process-section {
  background-color: #fff;
  padding: 60px 20px;
}

.process-section h2, .stats-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #013e7d;
}

.process-steps {
  list-style: none;
  counter-reset: process-counter;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.process-steps li {
  counter-increment: process-counter;
  margin-bottom: 25px;
  padding: 20px 20px 20px 70px;
  position: relative;
  background-color: #f9f9f9;
  border-radius: 10px;
  border-left: 5px solid #013e7d;
  line-height: 1.6;
}

.process-steps li::before {
  content: counter(process-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #013e7d;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-steps li strong {
  color: #013e7d;
  font-weight: 700;
}

/* Results & Stats Section */
.stats-section {
  padding: 60px 20px;
  background-color: #f0f4fb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.stats-grid .stat-card {
  background: #fff;
  border-bottom: 5px solid #ebaa11;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.stats-grid h4 {
  font-size: 2.2rem;
  color: #013e7d;
  margin-bottom: 5px;
}
.stats-grid p {
  font-size: 1rem;
  color: #333;
}


/* Responsive Adjustments */
@media (max-width: 820px) {
  /* Stack the hero columns on mobile */
  .career-hero-container {
    flex-direction: column;
  }
  
  /* Center-align hero text on mobile */
  .hero-text-content, .career-hero h1, .career-hero h2, .career-hero p {
    text-align: center;
  }
  
  /* Stack the main content grid on mobile */
  .content-grid-wrapper {
    grid-template-columns: 1fr;
  }
}
/* =================== FOOTER (SHARED) =================== */
.footer {
  background-color: #013e7d;
  color: #f4f4f4;
  padding: 50px 12% 30px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1 1 300px;
  margin-bottom: 30px;
}

.footer h3,
.footer h4 {
  color: #ebaa11;
  font-size: 18px;
  margin-bottom: 15px;
}

.footer p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.footer ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in-out;
}

.footer-social img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 13px;
  color: #ccc;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }
}


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

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}

/* =================== study-in-german =================== */

/* Hero Section */
.study-german-hero {
  background: url("assets/studygermany.png") center center no-repeat;
  background-size: cover;
  height: 60vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.study-german-hero .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 600px;
}

.study-german-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.study-german-hero p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.btn {
  background-color: #ebaa11;
  color: #013e7d;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.btn:hover {
  background-color: #f2c84b;
}

/* General Section */
.section {
  padding: 30px 20px;
  text-align: center;
}

.section.alt {
  background-color: #f5f5f5;
}

/* Headings */
h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #013e7d;
}

/* Cards */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.card {
  background: white;
  border: 2px solid #ebaa11;
  padding: 25px;
  border-radius: 10px;
  width: 220px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

/* Gallery */
.gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gallery img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #013e7d;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-left h3,
.footer-middle h4,
.footer-right h4 {
  margin-bottom: 10px;
  color: #ebaa11;
}

.footer-left p,
.footer-right p {
  font-size: 0.95rem;
  line-height: 1.4;
}

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

.footer-middle li {
  margin-bottom: 8px;
}

.footer-middle a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-middle a:hover {
  color: #ebaa11;
}

.footer-social img {
  width: 24px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .cards,
  .gallery,
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .gallery img {
    width: 90%;
  }

  .card {
    width: 90%;
  }

  .study-german-hero h1 {
    font-size: 2.2rem;
  }

  .study-german-hero .overlay {
    padding: 25px 20px;
  }
}


/* =================== AUSHBUILDING SECTION =================== */

/* =================== AUSBILDUNG PAGE SECTION =================== */

/* Main section styling */
#ausbildung {
  padding: 60px 20px;
  background-color: #f0f4fb; /* Consistent light blue-gray background */
  font-family: Arial, sans-serif;
}

/* Top-level headings and intro paragraph */
#ausbildung h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #013e7d; /* Main brand blue */
  margin-bottom: 10px;
}

/* This targets the "AUSBILDUNG PROGRAM by RSCO" subtitle */
#ausbildung > h3 {
  text-align: center;
  font-size: 24px;
  color: #ebaa11; /* Brand gold for highlight */
  margin-bottom: 15px;
  font-weight: 600;
}

#ausbildung > p {
  text-align: center;
  font-size: 18px;
  color: #444;
  max-width: 800px;
  margin: 0 auto 30px auto; /* Center the paragraph */
}

/* Styled horizontal divider */
#ausbildung hr {
  border: none;
  height: 3px;
  background-color: #ebaa11;
  width: 80px; /* A shorter, more modern divider */
  margin: 40px auto;
  border-radius: 2px;
}

/* The main content box that holds all the details */
#ausbildung > div {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff; /* White card background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
}

/* Subheadings inside the content box (e.g., "Program Overview") */
#ausbildung > div h3 {
  color: #013e7d;
  font-size: 22px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f4fb; /* Subtle separator line */
}

/* Remove top margin from the very first subheading */
#ausbildung > div h3:first-of-type {
  margin-top: 0;
}

/* Styling for all lists (ordered and unordered) */
#ausbildung ul,
#ausbildung ol {
  padding-left: 20px; /* Standard indentation */
  line-height: 1.8;
}

#ausbildung li {
  color: #333;
  margin-bottom: 12px; /* Spacing between list items */
}

#ausbildung li strong {
  color: #013e7d; /* Make strong tags use the brand blue */
}

/* Adds a gap to the two-column list for better spacing */
#ausbildung ul[style*="columns: 2"] {
  gap: 40px;
}

/* Apply Now Button styling */
#ausbildung div[style*="text-align: center"] {
  margin-top: 40px;
}

#ausbildung a[href="#contact"] {
  background-color: #ebaa11;
  color: #ffffff;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#ausbildung a[href="#contact"]:hover {
  background-color: #d1980c; /* Darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

