/* General body styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, "Odoo Unicode Support Noto", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0; /* Remove default margin */
    background-color: #f0f4f8;
}

/* Header styling */
.header {
    background-color: white; /* White background for the header */
    padding: 10px 20px; /* Padding around the content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow for the header */
    position: fixed; /* Fix position to the top */
    width: 100%; /* Full width */
    top: 0; /* Align to the top */
    z-index: 1000; /* Ensure header is on top of other content */
}

.header .container {
    display: flex; /* Flexbox layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Center items horizontally */
}

/* Hamburger menu icon styling */
.hamburger {
    font-size: 24px; /* Font size of the icon */
    cursor: pointer; /* Pointer cursor on hover */
    color: #333; /* Dark color */
}

/* Logo styling */
.logo {
    flex: 1;
    text-align: center;   
}

.logo img {
    padding-top: 0;
    padding-bottom:0 ;
    max-height: 80px; /* Limit logo height */
    text-align: center;
}

/* Side menu styling */
.side-menu {
    position: fixed; /* Fixed position */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 350px; /* Fixed width */
    height: 100vh; /* Full viewport height */
    color: #333;
    background: #ffffff; /* Dark background */
    transform: translateX(-100%); /* Hide off-screen */
    transition: transform 0.3s ease; /* Smooth transition for opening */
    z-index: 1100; /* Ensure menu is above other content */
}

/* Active state of the side menu */
.side-menu.active {
    transform: translateX(0); /* Slide into view */
}

/* Logo inside side menu */
.side-menu .logo {
    padding: 20px; /* Padding around the logo */
    text-align: center; /* Center the logo */
    color: white; /* White color for text */
    font-size: 1.5rem; /* Font size */
}
.side-menu .logo img {
    height: 70px;  
}

/* Menu items inside side menu */
.side-menu .menu-items {
    padding: 20px; /* Padding around the menu items */
    color: rgb(0, 0, 0); /* White color for text */
    text-align: center; /* Center text */
}
.side-menu .menu-items p{
    font-size: 16px;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: rgb(17, 17, 17);
}

/* Button for appointments in side menu */
.side-menu .appointment-button {
    display: block;
    margin: 20px auto;
    width: 90%;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
/* Navbar Styling */
.navbar {
    padding: 15px 0;
}

.navbar-brand img.logo {
    height: 40px; /* Adjust height for logo */
}

/**/
.side-menu .menu-items {
    padding: 10px; /* Reduced padding */
    text-align: center;
}

.side-menu .menu-items p {
    font-size: 14px; /* Slightly smaller font */
    font-weight: 500;
    margin: 5px 0; /* Reduced margin */
    text-align: left;
    padding-left: 50px; /* Reduced left padding */
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    border-radius: 6px; /* Slightly rounded edges */
    overflow: hidden;
    position: relative;
}

/* Background hover effect */
.side-menu .menu-items p:hover {
    background: linear-gradient(90deg, #f8f8f8, #eaeaea);
    transform: translateX(3px);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
}

/* Links inside menu items */
.side-menu .menu-items p a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 5px 10px; /* Reduced padding */
    transition: color 0.3s ease-in-out;
    position: relative;
    font-size: 16px; /* Slightly smaller font */
}

/* Underline animation on hover */
.side-menu .menu-items p a::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 3px;
    width: 0%;
    height: 2px; /* Thinner underline */
    background: #E7943C;
    transition: width 0.3s ease-in-out;
}

.side-menu .menu-items p a:hover::after {
    width: 70%;
}

/* Active state */
.side-menu .menu-items p a.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.08);
    border-left: 3px solid #007bff; /* Slightly thinner border */
    padding-left: 12px; /* Adjust padding to align */
    font-weight: 600;
}

/* Smooth transition for active state */
.side-menu .menu-items p a.active::after {
    width: 70%;
}


.side-menu .menu-items ul li{
    list-style: none;
}
/* Social icons inside side menu */
.side-menu .menu-social-icons {
   
    bottom: 120px; /* Place above the appointment button */
    left: 50%; /* Center horizontally */
   display: block;
    text-align: center; /* Align icons in the center */
    width: 90%; /* Limit width */
}

.side-menu .menu-social-icons a {
    display: inline-block; /* Inline for spacing */
    margin: 0 8px; /* Add spacing between icons */
    color: #333; /* Icon color */
    font-size: 18px; /* Icon size */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.side-menu .menu-social-icons a:hover {
    color: #007bff; /* Change icon color on hover */
}
/* Mobile Responsive */
/* Mobile Responsive */
@media screen and (max-width: 768px) {
    /* Adjust side menu */
    .side-menu {
        width: 85%;
        max-width: 260px; /* Slightly narrower */
        height: 100vh;
        padding: 5px; /* Minimal padding */
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    /* Close button (smaller size) */
    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 10px; /* Smaller icon */
        cursor: pointer;
    }

    /* Logo */
    .side-menu .logo {
        text-align: center;
        margin-bottom: 5px;
    }

    .side-menu .logo img {
        width: 180px; /* Slightly smaller logo */
        height: auto;
    }

    /* Menu items */
    .side-menu .menu-items {
        text-align: left;
        flex-grow: 1;
        padding: 0; /* No extra padding */
    }

    .side-menu .menu-items p {
        font-size: 12px; /* Smaller text */
        padding-left: 8px; /* Reduced left padding */
        margin: 3px 0;
    }

    .side-menu .menu-items p a {
        font-size: 14px;
        padding: 6px 8px; /* Less padding */
        display: block;
    }

    /* Submenu (Courses) */
    .side-menu .submenu {
        padding-left: 10px;
    }

    .side-menu .submenu li {
        list-style: none;
        padding: 2px 0;
    }

    /* Social icons */
    .side-menu .emnu-social-icons {
        text-align: center;
        margin-top: auto;
        margin-bottom: 3px; /* Even less bottom margin */
    }

    .side-menu .menu-social-icons a {
        font-size: 13px; /* Smaller icons */
        margin: 0 4px;
    }

    /* Button */
    .appointment-button {
        font-size: 12px;
        padding: 6px 10px;
        width: 90%;
        margin: 0 auto 5px; /* Minimum spacing */
        display: block;
    }
}

    /* Hero Section */
   .hero {
    margin-top: 5%;
    background: url('../Images/case-study-images/top-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .btn-hero {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #466ece;
    color: white;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
  }
  .btn-hero:hover {
    background-color: #466ece;
  }

  /* Tab Content */
  #caseStudyTabs .nav-link {
    font-size: 14px;
}

  .tab-content {
    border: 1px solid #ddd;
    padding: 30px;
    margin-top: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  .tab-content h2 {
    font-weight: 700;
    color: #466ECE;
    margin-bottom: 20px;
  }
  .tab-content h4 {
    font-weight: 500;
    color: #333;
    text-decoration: underline;
  }
  .tab-content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
  }
  .tab-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .tab-content .btn-learn-more {
    margin-top: 20px;
    background-color: #466ECE;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  .tab-content .btn-learn-more:hover {
    background-color: #466ECe;
  }
  .more-content {
    display: none;
    margin-top: 20px;
  }
  .more-content.show {
    display: block;
  }

  /* Statistics */
  .stats {
    display: flex;
    justify-content: left;
    margin-top: 30px;
  }
  .stats div {
    text-align: center;
    padding: 20px;
    width: 400px;
  }
  .stats h4 {
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
  }
  .stats p {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
  }
/* Tab Navigation */
/* Centering the tab buttons in desktop view */
.tabs-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

/* Ensure the tab items themselves are inline */
.tabs-desktop .nav-item {
  margin: 0 1px; /* Adjust as necessary for spacing */
}
/* Style for the active tab button */
.tabs-desktop .nav-link.active{
  background-color: #466ECE;
  color: white; /* Change text color to make it readable */
  border-color: #466ECE; /* Optionally style the border as well */
}

/* Add hover effect for non-active tabs */
.tabs-desktop .nav-link {
  background-color: #466ECE;
  color: white; /* Change text color to make it readable */
  border-color: #466ECE; /* Optionally style the border as well */
 /* color: black;  Change default tab color */
}

.tabs-desktop .nav-link:hover {
  background-color: #466ECE; /* Add hover effect */
  color: white;
}
.tabs-mobile a{
  font-weight: 600;
}
/* Footer Styling */
.footer {
    color: #fff;
    background-color: #121a26; /* Dark background */
    padding: 40px 0;
}

footer h5 {
    font-size: 20px;
    font-weight: 500;
}

footer p {
    font-size: 16px;
    font-weight: 400;
}

.footer a {
    color: #fff; /* White links */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: #121a26;
    background-color: #fff;
    border-radius: 10%;
    padding: 15px;
    display: inline-block;
    margin: 5px;
    font-size: 16px;
}

.powered-by {
    color: #ddd; /* Light gray for powered by text */
    margin-top: 20px;
    font-size: 14px;
}

.powered-by a {
    color: #ddd;
}

.footer .divider {
    width: 100%;
    height: 1px;
    background-color: #ddd; /* Light gray divider */
    margin: 30px 0;
}


 /* Styling for the cookie popup */
#cookieConsent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* Adjusted to fit smaller screens */
  max-width: 1300px;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  animation: slideUp 0.5s ease-in-out;
}

/* Smooth slide-up animation from the center bottom */
@keyframes slideUpCenter {
  from {
      transform: translate(-50%, 100px);
      opacity: 0;
  }
  to {
      transform: translate(-50%, 0);
      opacity: 1;
  }
}

/* Apply slide-up animation */
#cookieConsent {
  animation: slideUpCenter 0.5s ease-out;
}

/* Text styling */
#cookieConsent p {
  font-size: 16px;
  margin: 0;
  color: #000000;
  flex-basis: 70%; /* Set content width to 70% */
  text-align: left; /* Align text to the left */
}

/* Link styling */
#cookieConsent a {
  color: #1e90ff;
  text-decoration: underline;
  font-weight: bold;
}

/* Button container */
#cookieConsent .btn-container {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  flex-basis: 20%; /* Set button container width to 30% */
  justify-content: right; /* Align buttons to the right */
}

/* Styling for buttons */
#cookieConsent .btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  
  background-color: #eeeded;
  color: #000000;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#cookieConsent .btn:hover {
  background-color: #c4c4c4;
  transform: scale(1.05);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  #cookieConsent {
      flex-direction: column;
      padding: 10px;
      max-width: 95%;
  }

  #cookieConsent p {
      font-size: 14px;
      text-align: center;
      margin-bottom: 10px;
      flex-basis: 100%; /
  }

  #cookieConsent .btn-container {
      flex-basis: 100%; 
      justify-content: center; 
  }

  #cookieConsent .btn {
      font-size: 12px;
      padding: 6px 15px;
  }
}

@media (max-width: 480px) {
  #cookieConsent p {
      font-size: 12px;
  }

  #cookieConsent .btn {
      font-size: 10px;
      padding: 5px 10px;
  }
}
/* bOXES CSS  */
.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.heading-section {
  max-width: 50%;
}

.main-heading {
  font-size: 38px;
  font-weight: 700;
  color: #466ECE;
  letter-spacing: 2px;
}

.subheading {
  font-size: 24px;
  color: #666;
  margin-bottom: 20px;
}

.gradient-button {
  background: linear-gradient(90deg, #466ECE, #7AA4F7, #466ECE);
  border-radius: 30px;
  padding: 10px 20px;
  display: inline-block;
  color: white;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.gradient-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  max-width: 50%;
}

.info-box {
  background: linear-gradient(90deg, #466ECE, #7AA4F7, #466ECE);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  height: 220px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.info-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-box p {
  font-size: 16px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .heading-section {
    max-width: 100%;
  }

  .main-heading {
    font-size: 36px;
  }

  .info-boxes {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
  }

  .info-box {
    height: 200px;

  }
}

@media (max-width: 576px) {
  .info-boxes {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .info-box {
    margin: 1%;
    max-width: 100%;
  }
}
/* Call to Action Section Styling */
.cta-section {
  margin-top: 10px;
  background-color: #466ECE;
  padding: 60px 0;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
}

.cta-section p {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-section .btn-primary {
  font-weight: 500;
  padding: 10px 20px;
  background-color: #E7943C;
  color: #000;
}
/*---------news and posts css------------*/
.post-section{
    
  display: flex;
  justify-content: center;
  align-items: center;
  
  padding: 20px;
}
.post-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* To keep the sections neat */
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9); /* Light gradient background */
}

.carousel-section {
  width: 100%;
  overflow: hidden; /* Hide overflow for the carousel */
  position: relative;
  padding: 20px; /* Add padding for aesthetics */
}



@media (max-width: 768px) {
  .step-container {
      flex-direction: column; /* Stack sections in mobile view */
  }

  .carousel-section,
  .partner-section {
      width: 100%; /* Full width in mobile view */
  }

  .carousel {
      flex-direction: row; /* Maintain row format */
  }

  .carousel-post {
      flex: 0 0 100%; /* Show 1 post in mobile view */
      margin: 10px 0; /* Margin for mobile view */
  }
}

.carousel {
  display: flex;
  transition: transform 0.5s ease; /* Smooth transition for movement */
}

.carousel-post {
  flex: 0 0 calc(33.33% - 20px); /* Show 3 posts in desktop view with margin */
  margin: 0 10px; /* Left and right margin */
  box-sizing: border-box;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.carousel-post img {
  width: 100%; /* Make images responsive */
  height: auto;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease;
}

.carousel-post:hover {
  transform: translateY(-5px); /* Raise post on hover */
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.carousel-post img:hover {
  transform: scale(1.1); /* Image zoom on hover */
}

.carousel-post h3 {
  margin: 10px 0;
  font-size: 1.5em;
  color: #007bff; /* Match the partner section color */
  font-weight: bold;
}

.carousel-post p {
  margin: 10px 0;
  font-size: 0.9em;
  color: #666; /* Darker grey for text */
}

.learn-more {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #007bff; 
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  font-weight: bold;
}

.learn-more:hover {
  background:#007bff; 
}

.arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.arrow {
  background: transparent;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #007bff; /* Arrow color */
  transition: color 0.3s;
}

.arrow:hover {
  color: #0056b3; /* Darker blue on hover */
}


@media (max-width: 768px) {
  .post-container {
      flex-direction: column; /* Stack sections in mobile view */
  }

  .carousel-section,
  .partner-section {
      width: 100%; /* Full width in mobile view */
  }

  .carousel {
      flex-direction: row; /* Maintain row format */
  }

  .carousel-post {
      flex: 0 0 100%; /* Show 1 post in mobile view */
      margin: 10px 0; /* Margin for mobile view */
  }
}
