@font-face {
  font-family: 'Mont';
  src: url('font/Mont-HeavyDEMO.otf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* General Styles */
body {
  font-family: 'Poppins';
  margin: 0;
  padding: 0 20px; /* Add padding to both sides */
  color: #0e152f;
  background-image: url('images/webbg.jpg');
  background-color: #ff0000;
  line-height: 1.5;
}

h1, h2, h3 {
  color: #0e152f;
}

a {
  text-decoration: none;
  color: #243c86;
}

a:hover {
  color: #ce1125;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.box {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.box:hover {
  transform: translateY(-10px);
  background-color: #0e152f;
}

.box:hover i, .box:hover p {
  color: white;
}

.box i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #ce1125;
}

.box p {
  color: #0e152f;
}

/* Header Section */
header {
  background-color: #ffffff;
  color: #ffffff;
  padding: 19px 0; /* Reduced padding to make header smaller */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

header .logo img {
  height: 40px; /* Reduced logo size */
}

/* Navigation Menu */
header nav {
  display: flex;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #0e152f;
  text-decoration: none;
  font-size: 1rem;
}

header nav ul li a:hover {
  color: #ce1125;
}

/* Responsive Navigation - Mobile View */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Hide default menu and show hamburger icon */
  header nav ul {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  header nav ul.active {
    display: flex; /* Show menu when active */
  }

  header nav ul li {
    margin: 10px 0;
  }

  /* Hamburger Icon */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: #0e152f;
  }
}

/* Hide menu toggle for large screens */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* Submenu styles */
.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown arrow */
.dropdown-arrow {
  cursor: pointer;
  margin-left: 8px;
  font-size: 1rem; /* Slightly smaller for better alignment */
  color: #0e152f;
  transition: transform 0.3s ease;
  display: inline-block; /* Ensures the arrow aligns properly */
}

/* Rotate arrow when active */
.has-submenu.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Submenu styling */
.submenu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 10px 0;
  min-width: 250px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Ensure it appears above other content */
}

.submenu li {
  padding: 8px 20px;
}

.submenu li a {
  color: #0e152f;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.submenu li a:hover {
  background-color: #ffffff;
}

/* Show submenu on hover for desktops */
@media (min-width: 769px) {
  .has-submenu:hover .submenu {
      display: block;
  }
}

/* Mobile menu support */
@media (max-width: 768px) {

  .dropdown-arrow {
      display: none; /* Hide dropdown arrow on mobile */
  }
  .submenu {
      position: static;
      display: none;
      background-color: transparent;
      box-shadow: none;
      visibility: hidden;
      opacity: 0;
      height: 0;
      overflow: hidden;
      transition: opacity 0.3s ease, height 0.3s ease;
  }

  .submenu li {
      text-align: center;
  }

  .submenu li a {
      font-size: 1rem;
  }

  .has-submenu.active .submenu {
      display: block;
      visibility: visible;
      opacity: 1;
      height: auto;
  }
}

/* Testimonials Section */
.testimonials-section {
  text-align: center;
  background: #f8f9fa;
  padding: 50px 20px;
}

.testimonial-slider {
  max-width: 600px;
  margin: auto;
  font-size: 1.2rem;
  font-style: italic;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  animation: fade 3s infinite;
}

/* Blog Highlights */
.blog-section {
  text-align: center;
  padding: 50px 20px;
  background: #0e152f;
  color: #ffffff;
}

.blog-section1 {
  text-align: center;
  padding: 50px 20px;
  color: #ffffff;
}

.blog-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.blog-post {
  background: #ffffff;
  color: #0e152f;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.blog-section1 .grid .box p {
  text-align: center;
}
.blog-section1 .grid .box:hover h3 {
  color: #ffffff;
}

.blog-post h3 {
  font-size: 1.2rem;
}

.blog-post p {
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #ce1125;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}



/* Hero Section */


.hero-section h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.hero-section .btn {
  background-color: #ce1125;
  color: white;
  padding: 10px 14px; /* Smaller padding for a smaller button */
  font-size: 0.9rem; /* Slightly smaller text */
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.hero-section .btn:hover {
  background-color: #a50e1e; /* Darker red */
  transform: scale(1.05); /* Slight size increase */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Click Effect */
.hero-section .btn:active {
  transform: scale(0.95); /* Shrink effect on click */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animation Effect */
.hero-section .btn.wow {
  animation: bounceIn 1s ease-in-out;
}

/* Add Keyframe for Bounce Effect */
@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.hero-section .btn:hover {
  background-color: #a80d1f;
}

.choose-card h4 {
  font-weight: 100;
  text-align: justify;
}

.why-choose p {
  font-size: 20px;
  text-align: justify;
}
/* About Section */
.about-section {
  padding: 50px 0;
  background: #fff;
}

.about-section .container {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* About Section - Image Height Adjustment */
.about-image {
  flex: 1;
  padding-right: 40px;
  display: flex;
  align-items: center; /* Vertically center the image */
  height: 820px; /* Set your desired height */
  overflow: hidden; /* Ensure the image stays within bounds */
}

.about-image img {
  width: 100%;
  height: 100%; /* Make image fill the container height */
  object-fit: cover; /* Maintain aspect ratio while filling space */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-content {
  flex: 1;
  padding-left: 40px;
}

.about-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a6496;
  margin-bottom: 15px;
  margin-top: 25px;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.divider {
  height: 1px;
  background: #e0e0e0;
  margin: 25px 0;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #2a6496;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #1d4b7a;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section .container {
      flex-direction: column;
  }
  
  .about-image {
      padding-right: 0;
      margin-bottom: 30px;
      width: 100%;
  }
  
  .about-content {
      padding-left: 0;
  }
}

@media (width: 1024px) {
  .about-image {
    flex: 1;
    display: flex;
    align-items: center; /* Vertically center the image */
    height: 1000px; /* Set your desired height */
    overflow: hidden; /* Ensure the image stays within bounds */
  }
  
  .about-image img {
    width: 100%;
    height: 100%; /* Make image fill the container height */
    object-fit: cover; /* Maintain aspect ratio while filling space */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}


/* Services Section */
.services-section {
  background-color: #ce1125;
  padding: 40px 0;
}

.services-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.services-section p {
  text-align: center;
  margin-bottom: 40px;
}

.services-section .grid .box:hover h3 {
  color: #ce1125;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .grid {
    flex-direction: column;
  }

  .box {
    width: 90%;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .about-section .container {
    flex-direction: column;
  }

  .about-content, .about-image {
    flex: 1 100%;
    text-align: center;
  }

  .about-image img {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }

  .hero-section p {
    font-size: 0.9rem;
  }
}

/* General Styles */
/* General Styles */
body {
  margin: 0;
  padding: 0 40px; /* Increased padding on both sides */
  font-family: 'Poppins';
  line-height: 1.5; /* Set line height to 1.5 */
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 5%;
  background-color: #f8f8f8;
  flex-wrap: wrap; /* Ensures responsiveness */
}

.about-container img {
  flex: 1; /* Takes up half the space */
  max-width: 44%; /* Ensures it doesn't exceed half the container */
}

.about-content {
  flex: 1; /* Takes up the other half of the space */
  padding-left: 5%; /* Adds some spacing between the image and content */
  text-align: left; /* Aligns text to the left */
}

.about-content h2,
.about-content h4 {
  text-align: center; /* Ensures headings are left-aligned */
}

.about-content .btn {
  display: block;
  margin: 40px; /* Centers the button */
  text-align: center;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-container img,
  .about-content {
    width: 100%; /* Full width on small screens */
    padding: 0;
  }

  .about-container img {
    margin-bottom: 20px; /* Adds space below image */
  }

  .about-content {
    text-align: center; /* Centers text on small screens */
  }

  .about-content h2,
  .about-content h4,
  .about-content p {
    text-align: center; /* Centers headings on small screens */
  }

  .about-content .btn {
    margin: 20px auto 0; /* Centers the button on small screens */
  }
}


.about-content {
  padding-left: 20px;
}

.about-content h2 {
  font-weight: bold;
}

.about-content h4 {
  text-align: justify; /* Justify text */
}

/* Responsive Design */



.btn {
  background-color: #002F6C;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #001f4d;
}

.btn1 {
  background-color: #002F6C;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Centers horizontally */
  text-align: center;
  width: fit-content; /* Ensures the button wraps around the text */
}


.btn1:hover {
  background-color: #292929;
}

/* Offerings Section */
.offerings {
  background-color: #f0f0f0;
  padding: 50px 0; /* Adjusted padding */
  margin: 0px 30px; /* Added margin */
}

.offerings h2 {
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card h3 {
  text-align: center;
}

.card p {
  text-align: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background-color: #0e152f;
}

.card:hover h3, .card:hover p {
  color: white;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Why Choose Us Section */
.why-choose {
  background-color: white;
  padding: 50px 0; /* Adjusted padding */
  margin: 0px 30px; /* Added margin */
}

.why-choose h2 {
  text-align: center;
}

.choose-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch; /* Ensures equal height */
  text-align: center;
  margin: 0px 20px;
}

.choose-cards .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures equal spacing */
  height: 100%; /* Full height */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.choose-card {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.choose-card h4 {
  text-align: center;
}

.choose-card img {
  width: 80px; /* Adjust size as needed */
  height: 80px; /* Keep it square */
  object-fit: contain; /* Ensures the whole icon is visible */
  display: block;
  margin: 0 auto 15px;
}


.choose-card:hover {
  transform: translateY(-10px);
  background-color: #0e152f;
}

.choose-card:hover h3, 
.choose-card:hover p, 
.choose-card:hover h4{
  color: white;
}

.why-choose p {
  text-align: center;
  font-weight: bold;
  color: #0e152f;
}


/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0 20px; /* Reduced padding for smaller screens */
  }

  .cards, .choose-cards {
    grid-template-columns: 1fr;
  }
}


/* Services Section */
.services-section {
  padding: 40px 0;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* WhatsApp Icon */
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  width: 40px; /* Ensure equal width and height */
  height: 40px;
  border-radius: 50%; /* Make it perfectly circular */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
}

.whatsapp-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon i {
  font-size: 28px; /* Adjust icon size */
}


/* Responsive Design */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .grid {
    flex-direction: column;
  }

  .box {
    width: 90%;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

.end {
  height: 50px;
  background-color: #E1000F;
  display: flex;
  justify-content: space-between; /* Aligns items to both ends */
  align-items: center; /* Centers items vertically */
  padding: 0 20px; /* Adds padding to avoid text touching edges */
  color: white;
  font-size: 16px;
}

.end a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.end a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .end {
    flex-direction: column; /* Stack the text on small screens */
    height: auto;
    text-align: center;
    padding: 10px 0;
  }

  .end p {
  font-size: 14px; /* Smaller text on small screens */
    margin: 5px 0;
  }
}

/* services page
/* General Styling */
body {
  font-family: 'Poppins';
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* Grid Layout */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Grid Boxes */
.grid .box {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  width: 200px; /* Fixed width for uniformity */
}

/* Icon Styling */
.grid .box img {
  width: 70px; /* Small size icon */
  height: auto;
  display: block;
  margin: 0 auto 10px; /* Center align */
}

/* Headings */
.grid .box h3 {
  font-size: 16px;
  color: #0e152f;
  margin: 10px 0;
}


/* Hover Effect */
.grid .box:hover {
  background-color: #0e152f;
  transform: scale(1.05);
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid {
      gap: 15px;
  }

  .grid .box {
      width: 180px;
  }

  .grid .box img {
      width: 45px;
  }
}

@media (max-width: 768px) {
  .grid {
      flex-direction: row;
      gap: 10px;
  }

  .grid .box {
      width: 160px;
      padding: 15px;
  }

  .grid .box img {
      width: 40px;
  }

  .grid .box h3 {
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .grid {
      flex-direction: column;
      align-items: center;
  }

  .grid .box {
      width: 100%;
      max-width: 200px;
  }

  .grid .box img {
      width: 35px;
  }

  .grid .box h3 {
      font-size: 13px;
  }
}

/* General Styling */
body {
  font-family: 'Poppins';
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}


/* Global Paragraph Styling (Justified) */
p {
  text-align: justify;
  line-height: 1.5;
  padding: 0 40px; /* Space on both sides */
}

/* Section Spacing */
section {
  padding: 40px 20px;
}

/* Center Align All Headings */
.key-responsibilities h2, 
.what-you-gain h2, 
.consulting-services h2, 
.why-aspire-france h2, 
.study-programs h2, 
.study-services h2, 
.why-aspire-france-study h2, 
.who-benefits h2, 
.job-consulting h2,
.study-abroad-journey h2 {
  text-align: center;
}

.study-services p {
  text-align: left;
}
.study-programs {
  padding: auto;
}

.study-programs h3 {
  text-align: center;
  font-weight: 100;
  font-size: 1rem;
  margin: 0 20px; /* Adds space on left and right */
  padding: 0 15px; /* Inner spacing */
}


.what-you-gain .box h2{
  font-size: 1.2rem;
  font-weight: 100;
}

.what-you-gain .box h4{
  font-weight: 100;
}


.key-responsibilities .grid {
  display: grid;
  margin: 0 10px; /* Added margin */
  grid-template-columns: repeat(5, 1fr); /* Five columns in one row */
  gap: 20px; /* Adjust spacing */
}

.key-responsibilities .box {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s;
}

.key-responsibilities .box h2{
  font-size: 1.2rem;
  font-weight: 100;
}

.key-responsibilities .box h4{
  font-weight: 100;
}

.key-responsibilities .box:hover h2 {
  color: #ce1126;
}

.key-responsibilities .box:hover {
  background: #0e152f;
  color: white;
}

.key-responsibilities .box img {
  max-width: 80px;
  margin-bottom: 10px;
}

/* Responsive: Adjust to 2 columns for smaller screens */
@media (max-width: 1024px) {
  .key-responsibilities .grid {
    grid-template-columns: repeat(2, 1fr); /* Two per row */
  }
}

/* Responsive: Single column for mobile */
@media (max-width: 600px) {
  .key-responsibilities .grid {
    grid-template-columns: 1fr; /* One per row */
  }
}


.what-you-gain .box:hover h2{
  color: #ce1126;
}

.what-you-gain .box:hover img{
  color: #ffffff;
}
.who-benefits{
  background-color: #ce1126;
}

.who-benefits .box {
  background-color: #0e152f;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  width: 200px; /* Fixed width for uniformity */
}
.who-benefits p {
  color: white;
  text-align: left;
}
.study-abroad-journey {
  background-color: #ce1126;
}

.study-abroad-journey h2 {
  color: white;
  font-weight: bold;
}
.study-abroad-journey p {
  color: white;
}

/* Background Matching (Dark Blue) */
.consulting-services, 
.why-aspire-france, 
.job-consulting {
  background-color: #0e152f; 
  color: white;
  padding: 40px 20px;
}

.job-consulting p {
  color: white;
  text-align: center;
  gap: 20px;
}

.consulting-services .grid .box h2 {
  font-weight: bold;
}

.consulting-services .grid .box h4 {
  font-weight:100;
  color: #000000;
}

.consulting-services .grid .box:hover h2,
.consulting-services .grid .box:hover h4 {
  color: white;
}

.why-aspire-france .grid .box h2 {
  font-weight: bold;
}

.why-aspire-france .grid .box h4 {
  font-weight:100;
  color: #000000;
}

.why-aspire-france .grid .box:hover h2,
.why-aspire-france .grid .box:hover h4 {
  color: white;
}

.why-aspire-france-study .grid .box h2{
  font-size: 1rem;
  font-weight: 100;
}

.why-aspire-france-study .grid .box a {
  color:#000000;
  text-decoration: none;
}

.why-aspire-france-study .grid .box h4 {
  font-weight:100;
}

.why-aspire-france-study .grid .box:hover h2{
  color: rgb(255, 0, 0);
}
.why-aspire-france-study .grid .box:hover h4 {
  color: white;
}

.who-benefits .grid .box h2 {
  font-weight: bold;
  text-align:center;
  color: #ffffff;
}

.who-benefits .grid .box h4 {
  font-weight:100;
  color: #fffefe;
}

.study-abroad-journey p {
  text-align:center;
}

.who-benefits .grid .box:hover h2,
.who-benefits .grid .box:hover h4 {
  color: white;
}

.consulting-services p {
  color: white;
  text-align: center;
}

/* "Our Consulting Services Include" in Red */
.consulting-services h2,
.consulting-services h3 {
  color: #ce1125;
}

.consulting-services h1 {
  color: #ce1126;
  text-align: center;
  font-size: 1.7rem;
}

.why-aspire-france h1 {
  color: #ce1126;
  text-align: center;
  font-size: 1.7rem;
}

/* Job Consulting Heading */
.job-consulting h2 {
  color: #ffffff;
  font-size: 1.7rem;
}

/* Consulting Grid */
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Grid Items (Centered Text) */
.consulting-grid .grid-item {
  background-color: #ce1125;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.consulting-grid .grid-item:hover {
  transform: scale(1.05);
}

/* "Why Aspire France?" in Red */
.why-aspire-france h2 {
  color: #ce1125;
}

/* Grid Below "Why Aspire France?" */
.aspire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Aspire Grid Items */
.aspire-grid .grid-item {
  background-color: #192349;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.aspire-grid .grid-item:hover {
  transform: scale(1.05);
}

/* Internship France & Study Services */
.internships-france, .study-services {
  display: flex;
  align-items: center;
  text-align: justify;
  gap: 20px;
  padding: 0 40px;
  margin: 0 30px;
}

.internships-france .content h4{
  font-weight:100;
}

.internships-france .content h2{
  text-align: left;
  font-weight: 100;
  font-size: medium;
}

.internships-france .content, .study-services .content {
  flex: 1;
  margin-right: 20px;
}

.internships-france img, .study-services img {
  flex: 1;
  max-width: 400px;
  margin-left: 20px;
}

/* Our Study Program Consulting Services */
.study-program {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
}

.study-program .content {
  flex: 1;
  text-align: justify;
}

.study-program img {
  flex: 1;
  max-width: 400px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .internships-france, .study-services, .study-program {
    flex-direction: column;
    text-align: center;
  }

  .internships-france .content, 
  .study-services .content, 
  .study-program .content {
    margin-right: 0;
    padding: 0 20px;
  }

  .internships-france img, 
  .study-services img, 
  .study-program img {
    margin-left: 0;
    max-width: 100%;
  }
}


/* Additional Styles from faq.html */
.faq-section {
  background: #ffffff;
  padding: 40px 20px;
  color: #0e152f;
}

.faq-section h2 {
  color: #ce1125;
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #243c86;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #1a2f6b;
}

.faq-question h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.1rem;
}

.faq-question i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  color: #0e152f;
  padding: 0 20px;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.faq-answer.open {
  max-height: 200px; /* Adjust based on content */
  padding: 10px;
}

.faq-answer p {
  margin-left: -30px;
}

.serviceimg {
  text-align: center; /* Center the image */
}

.serviceimg img {
  max-width: 100%; /* Ensures responsiveness */
  height: auto; /* Keeps aspect ratio */
  display: block;
  margin: 0 auto;
}

/* Hide on Mobile (Screen width below 768px) */
@media screen and (max-width: 768px) {
  .serviceimg {
    display: none;
  }
}

/* General Styles */
body {
  font-family: 'Poppins';
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer {
  background-color: #000091;
  color: #fff;
  padding: 30px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 0; /* No horizontal gap */
  margin-left: -5px;
  margin-right: -5px;
  row-gap: 15px; /* More space between rows when it wraps */
  max-width: 1200px;
  margin: 0 auto;
}
.tagline, .quick-links, .policies, .stayin {
  padding: 0 5px; /* Add small padding instead of gap */
}
.tagline {
  flex: 1.8;
  max-width: 400px;
  margin-right: 20px;
}

.quick-links, .policies {
  flex: 0.9;
  min-width: 160px;
  margin: 0;
}

.stayin {
  flex: 1.1;
  min-width: 160px;
  margin: 0;
}

.footer h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer h2 {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin: 15px 0;
}

.footer-logo {
  width: 300px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.quick-links ul, .policies ul, .stayin ul {
  list-style: none;
  padding: 0;
}

.quick-links ul li, .policies ul li, .stayin ul li {
  color: #ffffff;
  margin: 8px 0;
}

.quick-links ul li a, .policies ul li a, .stayin ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.quick-links ul li a:hover, .policies ul li a:hover, .stayin ul li a:hover {
  color: #e0e0e0;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;             /* Increased from 32px */
  height: 44px;            /* Increased from 32px */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;         /* Increased from 16px */
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background-color: #a80d1f; /* Highlight color */
  color: #000;
  transform: scale(1.1);     /* Slight zoom on hover */
}


@media (max-width: 1024px) {
  .footer-content {
    gap: 15px; /* Reduced gap on larger screens */
  }
  
  .tagline {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tagline, .quick-links, .policies, .stayin {
    width: 100%;
    margin: 5px 0; /* Reduced margin */
  }
  
  .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 15px;
  }
  
  .footer-logo {
    width: 160px;
  }
  
  .footer h3 {
    font-size: 15px;
  }
  
  .footer p, .quick-links ul li a, .policies ul li a, .stayin ul li a {
    font-size: 13px;
  }
}


/* Animation */
.wow {
  visibility: hidden;
}

.fadeInLeft, .fadeInUp, .fadeInRight {
  visibility: visible;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Reduce section padding */
.job-consulting,
.consulting-services,
.why-aspire-france {
    padding: 10px 0; /* Adjust as needed */
}

/* Reduce heading margins */
h1, h2 {
    margin: 10px 0; /* Adjust as needed */
}

/* Reduce paragraph margins */
p {
    margin: 10px 0; /* Adjust as needed */
}

/* 4K Display Responsive Adjustments */
@media only screen and (min-width: 3840px) {
  /* General body and container adjustments */
  body {
    padding: 0 80px;
    font-size: 1.1rem;
  }
  .container {
    max-width: 3500px;
    margin: 0 auto;
    padding: 40px;
  }
  
  /* Header Section */
  header {
    padding: 30px 0;
  }
  header .logo img {
    height: 60px; /* Larger logo for 4K */
  }
  header nav ul li {
    margin: 0 30px;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 150px 80px;
    font-size: 48px;
  }
  .hero-section h1 {
    font-size: 5rem;
  }
  .hero-section p {
    font-size: 2rem;
  }
  
  /* About, Services, Offerings, Why Choose Sections */
  .about-section,
  .services-section,
  .offerings,
  .why-choose,
  .faq-section {
    padding: 60px 80px;
  }
  
  /* Grid and Box Adjustments */
  .grid {
    gap: 40px;
  }
  .box {
    max-width: 350px;
    padding: 30px;
  }
  
  /* Footer Section */
  .footer {
    padding: 60px 80px;
  }
  
  /* Additional scaling for other sections if needed */
  .choose-cards, .aspire-grid, .consulting-grid {
    gap: 40px;
  }
}


@media (max-width: 768px) {
  /* About Container - Image on top, content below */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-container img {
    max-width: 100%; /* Full width for mobile */
    margin-bottom: 20px; /* Space between image and content */
  }

  .about-content {
    padding-left: 0; /* Remove left padding */
    text-align: left; /* Align text to the left */
  }

  /* Center align grid contents below */
  .about-container .grid {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Internship France Section - Center align content */
  .internships-france {
    flex-direction: column;
    text-align: center;
    padding: 0 20px; /* Add padding for better spacing */
  }

  .internships-france .content {
    margin-right: 0; /* Remove margin */
    text-align: center; /* Center align text */
  }

  .internships-france img {
    margin-left: 0; /* Remove margin */
    max-width: 100%; /* Full width for mobile */
  }

  /* Key Responsibilities Grid - Center align */
  .key-responsibilities .grid {
    justify-content: center;
    margin: 0 auto; /* Center the grid */
    padding: 0 20px; /* Add padding for better spacing */
  }

  .key-responsibilities .box {
    width: 100%; /* Full width for mobile */
    max-width: 250px; /* Limit max width */
  }
}

@media (max-width: 768px) {
  /* Form - Center align */
  .contact-form {
    width: 100%; /* Full width for mobile */
    margin: 0 auto; /* Center the form */
    padding: 0 20px; /* Add padding for better spacing */
  }

  /* Map - Match form width */
  .map-container {
    width: 100%; /* Full width for mobile */
    margin: 0 auto; /* Center the map */
    padding: 0 20px; /* Add padding for better spacing */
  }

  .map-container iframe {
    width: 100%; /* Full width for mobile */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* About Container - Image on left, content on right */
  .about-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .about-container img {
    max-width: 45%; /* Adjust image width */
    margin-right: 20px; /* Space between image and content */
  }

  .about-content {
    flex: 1; /* Take remaining space */
    padding-left: 20px; /* Add padding for better spacing */
  }

  /* Internship France Section - Center align content */
  .internships-france {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0 40px; /* Add padding for better spacing */
  }

  .internships-france .content {
    margin-right: 20px; /* Add margin for better spacing */
  }

  .internships-france img {
    max-width: 45%; /* Adjust image width */
  }

  /* Key Responsibilities Grid - Center align */
  .key-responsibilities .grid {
    justify-content: center;
    margin: 0 auto; /* Center the grid */
    padding: 0 40px; /* Add padding for better spacing */
  }

  .key-responsibilities .box {
    width: 45%; /* Adjust box width */
    max-width: none; /* Remove max-width */
  }

  /* Contact Form and Map - Center align */
  
}

@media (max-width: 480px) {
  .internships-france .content h2 {
    text-align: center;
  }

  .key-responsibilities .box {
    align-items: center;
    width: 90%; /* Adjust box width */
  }

  .study-services .content h2{
    text-align: center; 
  }

  .study-services .content p{
    text-align: center; 
  }

  .about-container .about-content p {
    text-align: center;
    font-size: small;
    margin: 0%;
    padding: 0%;
  }

  .offerings .cards .card p {
    text-align: center;
  }

  .why-choose p {
    font-size: small;
  }

  .about-section .container .about-content h1{
    text-align: center;
  }

  .about-section .container .about-content h2{
    text-align: center;
    font-size: 14px;
    margin: 0%;
  }

  .job-consulting h2 {
    font-size: 20px;
  }

  .consulting-services h1 {
    font-size: 22px;
  }
}

/* Blog Intro Section */
.blog-intro {
  background: url('images/blog-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  font-size: 2rem;
  font-weight: bold;
}

/* Blog Filters and Search */
.blog-filters {
  background-color: #f8f9fa;
  padding: 20px 0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-buttons .filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #0e152f;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-buttons .filter-btn.active {
  background-color: #ce1125;
}

.filter-buttons .filter-btn:hover {
  background-color: #a80d1f;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.search-bar input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  width: 300px;
}

.search-bar button {
  padding: 10px 20px;
  border: none;
  background-color: #ce1125;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.search-bar button:hover {
  background-color: #a80d1f;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.blog-post {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post h3 {
  padding: 15px;
  font-size: 1.2rem;
  color: #0e152f;
}

.blog-post p {
  padding: 0 15px 15px;
  color: #555;
}

.blog-post .read-more {
  display: block;
  padding: 10px 15px;
  background-color: #ce1125;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
}

.blog-post .read-more:hover {
  background-color: #a80d1f;
}

/* Testimonials Intro Section */
.testimonials-intro {
  background: url('images/testimonials-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.testimonials-intro h1 {
  color: #000091;
  font-size: 3rem;
  margin-bottom: 20px;
}

.testimonials-intro p {
  font-size: 1.2rem;
  color: #a80d1f;
  text-align: center;
}

/* Testimonials Grid */
.testimonials-grid {
  margin-top: -100px;
  padding: 40px 0;
}

.testimonials-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.testimonial-content {
  padding: 20px;
  text-align: center;
}

.testimonial-content p {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

.testimonial-content h3 {
  font-size: 1.2rem;
  color: #0e152f;
  margin-top: 10px;
}

/* Media Query for Tablets and Smaller Screens */
@media (max-width: 768px) {
  /* Blog Intro Section */
  .blog-intro {
    padding: 80px 20px; /* Reduce padding */
    font-size: 1.8rem; /* Reduce font size */
  }

  /* Blog Filters and Search */
  .filter-buttons {
    flex-wrap: wrap; /* Allow buttons to wrap */
    gap: 8px; /* Reduce gap between buttons */
  }

  .filter-buttons .filter-btn {
    padding: 8px 16px; /* Reduce button padding */
    font-size: 0.9rem; /* Reduce font size */
  }

  .search-bar input {
    width: 70%; /* Reduce input width */
  }

  .search-bar button {
    padding: 8px 16px; /* Reduce button padding */
  }

  /* Blog Grid */
  .blog-grid {
    justify-content: center;
    text-align: center;
    margin: 0 auto; /* Center the grid */
    padding: 0 20px; /* Add padding for better spacing */
  }

  .blog-post img {
    height: 180px; /* Reduce image height */
  }

  .blog-post h3 {
    font-size: 1.1rem; /* Reduce heading font size */
  }

  .blog-post p {
    font-size: 0.9rem; /* Reduce paragraph font size */
  }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
  /* Blog Intro Section */
  .blog-intro {
    padding: 60px 15px; /* Further reduce padding */
    font-size: 1.5rem; /* Further reduce font size */
  }

  /* Blog Filters and Search */
  .filter-buttons .filter-btn {
    padding: 6px 12px; /* Further reduce button padding */
    font-size: 0.8rem; /* Further reduce font size */
  }

  .search-bar input {
    width: 60%; /* Further reduce input width */
    padding: 8px; /* Reduce input padding */
  }

  .search-bar button {
    padding: 8px 12px; /* Further reduce button padding */
  }

  /* Blog Grid */
  .blog-grid {
    grid-template-columns: 1fr; /* Single column layout */
    padding: 40px 20px; /* Add space from both sides */
    gap: 10px; /* Further reduce gap */
    padding: 40px 10px; 
  }

  .blog-post img {
    height: 150px; /* Further reduce image height */
  }

  .blog-post h3 {
    font-size: 1rem; /* Further reduce heading font size */
  }

  .blog-post p {
    font-size: 0.8rem; /* Further reduce paragraph font size */
  }
}

/* Media Query for Tablets and Smaller Screens */
@media (max-width: 768px) {
  /* Testimonials Intro Section */
  .testimonials-intro {
    padding: 80px 20px; /* Reduce padding */
  }

  .testimonials-intro h1 {
    font-size: 2.5rem; /* Reduce heading font size */
  }

  .testimonials-intro p {
    font-size: 1rem; /* Reduce paragraph font size */
  }

  /* Testimonials Grid */
  .testimonials-grid .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust grid columns */
    gap: 15px; /* Reduce gap between cards */
  }

  .testimonial-photo img {
    height: 180px; /* Reduce image height */
  }

  .testimonial-content p {
    font-size: 0.9rem; /* Reduce paragraph font size */
  }

  .testimonial-content h3 {
    font-size: 1.1rem; /* Reduce heading font size */
  }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
  /* Testimonials Intro Section */
  .testimonials-intro {
    padding: 60px 15px; /* Further reduce padding */
  }

  .testimonials-intro h1 {
    font-size: 2rem; /* Further reduce heading font size */
  }

  .testimonials-intro p {
    font-size: 0.9rem; /* Further reduce paragraph font size */
  }

  /* Testimonials Grid */
  .testimonials-grid .grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 10px; /* Further reduce gap */
  }

  .testimonial-photo img {
    height: 150px; /* Further reduce image height */
  }

  .testimonial-content p {
    font-size: 0.8rem; /* Further reduce paragraph font size */
  }

  .testimonial-content h3 {
    font-size: 1rem; /* Further reduce heading font size */
  }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  color: black; /* Set close icon color to black */
}
h2#modalTitle {
  color: black !important; /* Force title color to stay black */
  font-weight: bold;
}

p#modalContent, ul {
  color: black; /* Ensures content and list items stay black */
}
/* Resources Page Specific Styles */

/* Resources Intro Section */
.resources-intro {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
  padding: 10px 20px;
  background-color: #ffffff;
}

.resources-intro h2 {
  color: #0e152f;
  font-size: 2rem;
  margin-bottom: 20px;
}

.resources-intro h3 {
  color: #243c86;
  font-size: 1.2rem;
  font-weight: normal;
  max-width: 800px;
  margin: 0 auto;
}

/* Downloads Section */
.downloads-section {
  background-color: #f8f9fa;
  padding: 10px 0;
}

.downloads-section h2, 
.useful-links h2,
.tips-section h2,
.resources-cta h2 {
  text-align: center;
  color: #0e152f;
  margin-bottom: 40px;
  font-size: 1.8rem;
}

.downloads-section .grid,
.useful-links .grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
}

.downloads-section .box,
.useful-links .box {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.downloads-section .box:hover,
.useful-links .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.downloads-section .box img,
.useful-links .box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.downloads-section .box h3,
.useful-links .box h3 {
  color: #0e152f;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.downloads-section .box p,
.useful-links .box p {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.downloads-section .btn,
.useful-links .btn {
  display: inline-block;
  background-color: #ce1125;
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.resources-cta .btn {
  display: inline-block;
  background-color: #0e152f;
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.downloads-section .btn:hover,
.useful-links .btn:hover,
.resources-cta .btn:hover {
  background-color: #a80d1f;
}

/* Useful Links Section */
.useful-links {
  padding: 10px 0;
  background-color: #ce1125;
}

/* Tips Section */
.tips-section {
  background-color: #f8f9fa;
  padding: 10px 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.tip-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tip-card h3 {
  color: #0e152f;
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.tip-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #ce1125;
}

.tip-card p {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.resources-cta {
  padding: 10px 20px;
  background-color: #ce1125;
  color: white;
  text-align: center;
}

.resources-cta h2 {
  color: white;
  margin-bottom: 20px;
}

.resources-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .downloads-section .grid,
  .useful-links .grid {
    gap: 20px;
  }
  
  .downloads-section .box,
  .useful-links .box {
    width: 280px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .resources-intro h2 {
    font-size: 1.8rem;
  }
  
  .resources-intro h3 {
    font-size: 1.1rem;
  }
  
  .downloads-section h2, 
  .useful-links h2,
  .tips-section h2,
  .resources-cta h2 {
    font-size: 1.6rem;
  }
  
  .downloads-section .box,
  .useful-links .box {
    width: 100%;
    max-width: 350px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .resources-intro {
    padding: 40px 15px;
  }
  
  .resources-intro h2 {
    font-size: 1.6rem;
  }
  
  .resources-intro h3 {
    font-size: 1rem;
  }
  
  .downloads-section,
  .useful-links,
  .tips-section {
    padding: 40px 0;
  }
  
  .downloads-section h2, 
  .useful-links h2,
  .tips-section h2,
  .resources-cta h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }
  
  .downloads-section .box img,
  .useful-links .box img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .resources-cta {
    padding: 60px 15px;
  }
  
  .resources-cta p {
    font-size: 1rem;
  }
}
/* Update the hover states for boxes and cards */

/* Downloads Section Box Hover */
.downloads-section .box:hover,
.useful-links .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #0e152f; /* Dark blue background on hover */
}

.downloads-section .box:hover h3,
.downloads-section .box:hover p,
.useful-links .box:hover h3,
.useful-links .box:hover p {
  color: white; /* White text on hover */
}

.downloads-section .box:hover .btn,
.useful-links .box:hover .btn {
  background-color: white;
  color: #0e152f; /* Button becomes white with dark blue text */
}

/* Tips Section Card Hover */
.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #0e152f; /* Dark blue background on hover */
}

.tip-card:hover h3,
.tip-card:hover p {
  color: white; /* White text on hover */
}

.tip-card:hover h3::after {
  background-color: white; /* White underline on hover */
}

/* Update for mobile responsiveness */
@media (max-width: 768px) {
  .downloads-section .box:hover,
  .useful-links .box:hover {
    transform: none; /* Remove lift effect on mobile */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .tip-card:hover {
    transform: none; /* Remove lift effect on mobile */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}
/* Modern Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 20px;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  animation: cookieSlideIn 0.5s forwards;
  border: 1px solid rgba(0,0,0,0.1);
}

@keyframes cookieSlideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-container {
  display: flex;
  gap: 20px;
  position: relative;
}

.cookie-left {
  flex-shrink: 0;
}

.cookie-icon {
  width: 50px;
  height: 50px;
}

.cookie-right {
  flex-grow: 1;
}

.cookie-title {
  color: #0e152f;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.cookie-text {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 15px -35px;
}

.cookie-more {
  color: #ce1125;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.accept-btn {
  background: #0e152f;
  color: white;
}

.settings-btn {
  background: white;
  color: #0e152f;
  border: 1px solid #ddd;
}

.reject-btn {
  background: transparent;
  color: #0e152f;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cookie-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.cookie-close-btn:hover {
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-popup {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px;
  }
  
  .cookie-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .cookie-icon {
    display: none;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookie-btn {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-title {
    font-size: 16px;
  }
  
  .cookie-text {
    font-size: 14px;
  }
}
/* Add these styles to your CSS file */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh; /* Limit height to 80% of viewport */
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.modal-content h2 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* Scrollable content area */
#modalContent {
  overflow-y: auto;
  max-height: calc(80vh - 100px); /* Adjust based on your header height */
  padding-right: 10px; /* Prevent content from touching scrollbar */
  margin-top: 10px;
}

/* Style the scrollbar */
#modalContent::-webkit-scrollbar {
  width: 8px;
}

#modalContent::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#modalContent::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

#modalContent::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* Target h3 tags specifically within the modal content */
#modalContent h3 {
  color: #000000; /* Example blue color */
  /* Add other styles if needed */
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* Grid1 Specific Styles */
.grid1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centers the boxes horizontally */
  gap: 20px;
  padding: 20px;
  max-width: 1200px; /* Adjust based on your layout needs */
  margin: 0 auto; /* Centers the entire grid */
}

.grid1 .box1 {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  width: calc(25% - 60px); /* 4 boxes per row accounting for gap */
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.grid1 .box1:hover {
  transform: translateY(-10px);
  background-color: #0e152f;
}

.grid1 .box1:hover h2,
.grid1 .box1:hover h4 {
  color: white;
}

.grid1 .box1 img {
  width: 70px;
  height: auto;
  margin-bottom: 15px;
}

.grid1 .box1 h2 {
  font-size: 1rem;
  margin: 10px 0;
  color: #0e152f;
}

.grid1 .box1 h4 {
  font-weight: 100;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .grid1 .box1 {
    width: calc(33.33% - 20px); /* 3 boxes per row on tablets */
  }
}

@media (max-width: 768px) {
  .grid1 .box1 {
    width: calc(50% - 20px); /* 2 boxes per row on smaller tablets */
  }
}

@media (max-width: 480px) {
  .grid1 .box1 {
    width: 100%; /* 1 box per row on mobile */
    max-width: 300px;
  }
}

.about-section1 {
  padding: 50px 0;
}

.about-section1 .container .about-content1 h2{
  font-style: normal;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 50;
}

.about-content1 h4 {
  font-weight: 100;
  text-align: left;
}

.about-section1 .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-content1 {
  flex: 1;
  padding: 20px;
}

.about-image1 {
  flex: 1;
  text-align: center;
}

.about-image1 img {
  max-width: 100%;
  height: auto;
}
.btn1 {
  display: block;
  width: fit-content;
  padding: 12px 25px;
  background: #002F6C;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  margin: 20px auto 0;
  transition: all 0.3s ease;
}


.btn1:hover {
  background: #1d4b7a;
  transform: translateY(-2px);
}
