@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --deepblue-color:  #101586;
    --darkblue-color: #10139d;
    --royalblue-color: #0404cb; 
    --mediumblue-color: #2e4add;
    --lightblue-color: #cfeaef;

    --darkpurple-color: #8c74ed;
    --mediumpurple-color: #5b62db;
    --lightpurple-color: #7b84e3;

    --darkgrey-textcolor: #535252;
    --hover-color:#48cae4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightblue-color);
    color: var(--darkgrey-textcolor);
    padding: 10px 15px;
    font-size: 14px;
    z-index: 99; /* Ensure it stays on top */
}

/* Contact Information Section */
.contact-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--royalblue-color);
}

/* Scrolling Text Section */
.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin-left: 20px;
    min-width: 0; /* Ensures proper space allocation */
}

.scrolling-text p {
    display: inline-block;
    animation: scroll-text 40s linear infinite;
}

/* Keyframes for Scrolling Text */
@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Navbar General Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--deepblue-color);
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Brand Logo and Name */
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  /* Navigation Links */
  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    font-weight: 450;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    font-size: 14px;
  }
  
  .nav-links li a:hover {
    color: var(--hover-color); /* Change text color to blue on hover */
  }
  
  .nav-links li a:hover::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hover-color);
    border-radius: 2px;
    transition: 0.3s ease-in-out;
  }
  
  /* Search Bar */
  .search-container {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .search-bar {
    width: 0;
    padding: 8px;
    border: none;
    border-radius: 4px;
    outline: none;
    transition: 0.3s ease;
    opacity: 0;
  }
  
  .search-container .search-icon,
  .search-container .close-icon {
    cursor: pointer;
    color: white;
    font-size: 18px;
    margin-left: 10px;
  }
  
  .search-container .close-icon {
    display: none;
  }
  
  .search-container.active .search-bar {
    width: 200px;
    opacity: 1;
  }
  
  .search-container.active .search-icon {
    display: none;
  }
  
  .search-container.active .close-icon {
    display: block;
  }
  
  /* Hamburger Menu for Small Screens */
  .hamburger-menu {
    display: none;
    cursor: pointer;
  }
  
  .hamburger-menu i {
    font-size: 24px;
    color: white;
  }
 

/* Small Devices (e.g., smartphones, max-width: 600px) */
@media screen and (max-width: 600px) {
    /* Navbar Layout */
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    /* Hamburger Menu on Left */
    .hamburger-menu {
        order: 1;
        display: block;
    }

    /* Brand Logo in Center */
    .navbar-brand {
        order: 2;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }

    /* Search Icon on Right */
    .search-container {
        order: 3;
        display: flex;
        justify-content: flex-end;
    }

    /* Hamburger Menu Behavior */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: var(--deepblue-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.show {
        display: flex;
    }

    /* Search Bar */
    .search-container {
        position: relative;
    }

    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%;
        transform: translateX(-90%)!important; /* Center it */
        margin-top: 22px;
        width: 80%; /* Medium width */
        max-width: 400px; /* Ensure it's not too wide */
        padding: 12px;
        background-color: var(--lightblue-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        opacity: 1;
        border-radius: 4px;
        box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    }

    .search-container.active .search-bar {
        display: block;
    }

    .search-container.active .search-icon {
        display: none;
    }

    .search-container.active .close-icon {
        display: block;
    }
}

/* iPad Air/Mini (min-width: 768px and max-width: 834px) */
@media screen and (min-width: 768px) and (max-width: 834px) {
    /* Navbar Layout */
    .navbar {
        padding: 15px 20px;
    }

    .hamburger-menu {
        order: 1;
        display: block;
    }

    .navbar-brand {
        order: 2;
        justify-content: center;
        flex-grow: 1;
    }

    .search-container {
        order: 3;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: var(--deepblue-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    /* Search Bar */
    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%;
        transform: translateX(-90%) !important; /* Center it */
        width: 80%; /* Medium width */
        max-width: 500px; /* Adjust width for iPads */
        padding: 12px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .search-container.active .search-bar {
        display: block;
    }
}

/* Additional Adjustment for Search Bar */
@media screen and (max-width: 600px) {
    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%; /* Start at the center */
        transform: translateX(-50%); /* Center it */
        width: 70%; /* Medium width */
        max-width: 400px; /* Ensure it's not too wide */
        margin-top: 22px;
        padding: 12px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        opacity: 1;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .search-container.active .search-bar {
        display: block;
    }
}

/* Header Styles */
.header {
  margin-top: 0;
  background: url('images/formation\ page.webp') no-repeat center center/cover;
  height: 450px; /* Adjust height as needed */
  color: white;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: flex-end; /* Align content at the bottom */
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 57, 0.7); /* Dark blue overlay with transparency */
  z-index: 0; /* Ensure the overlay is below the content */
}

.header .header-content {
  position: absolute;
  bottom: 20px; /* Adjust distance from the bottom */
  text-align: center; /* Center text horizontally */
  width: 100%; /* Ensure content stretches across the width of the header */
}

.header h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 0; /* Remove bottom margin if there is one */
  animation: fadeIn 2s ease-out;
  background: linear-gradient(to right, #e1fbff, #58daf4); /* Bright blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(0, 122, 255, 0.8); /* Add glowing effect */
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}




.header p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 3s ease-in;
    background: linear-gradient(to right, white, white); /* Bright blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px white(0, 122, 255, 0.8); /* Add glowing effect */
    font-family: 'Sans-serif';
}

.btn-contact {
    display: inline-block;
    padding: 12px 24px; /* Slightly larger padding for a bold look */
    background: var(--mediumblue-color); /* Button color */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Rounded corners for a pill-shaped button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 2.5s ease-out; /* Subtle fade-in for entrance */
}

.btn-contact:hover {
    background: var(--hover-color); /* Use hover color for interactivity */
    transform: scale(1.1); /* Slightly larger on hover for emphasis */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More shadow for hover effect */
}

/* Animation for fading in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Formation Section Updated */
.formation-section {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 50px 10%;
  overflow: hidden;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 1s ease;
}

.formation-section.visible {
  opacity: 1;
}

.formation-section .image-container,
.formation-section .text-container {
  opacity: 0;
  transition: opacity 2s ease, transform 1s ease;
}

.formation-section.visible .image-container,
.formation-section.visible .text-container {
  opacity: 1;
  transform: translateY(0);
}

.formation-section .image-container {
  flex: 1;
  animation: fadeIn 2s ease-in forwards;
}

.formation-section .image-container img {
  width: 300px !important;
  height: auto !important;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.formation-section .text-container {
  flex: 1;
  animation: slideInRight 2s ease-in-out;
}

.formation-section .text-container h2 {
  font-size: 28px !important;
  color: var(--royalblue-color, #0404cb);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  position: relative;
  animation: fadeIn 2s ease-in forwards;
}

.formation-section .text-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: slideIn 1s ease-in forwards;
}

.formation-section .text-container p {
  font-size: 16px !important;
  color: #555;
  line-height: 1.3;
  text-align: justify;
  animation: fadeIn 2.5s ease-in forwards;
  margin-top: 1.5rem;
}

/* Optional CTA Button */
.formation-section .cta-button {
  margin-top: 12px;
  display: inline-block;
  padding: 14px 36px;
  background: var(--mediumblue-color, #0404cb);
  color: white;
  font-size: 0.90rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.formation-section .cta-button:hover {
  background: var(--hover-color, #48cae4);
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInRight {
  0% { transform: translateX(50%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideIn {
  0% { width: 0; }
  100% { width: 80px; }
}

/* Responsive adjustments for tablets and mobiles */
@media (max-width: 992px) {
  .formation-section {
    flex-direction: column;
    padding: 30px 5%;
    gap: 2rem;
  }

  .formation-section .image-container {
    order: 1; /* Image below text */
    width: 100%;
  }

  .formation-section .text-container {
    text-align: center;
    margin-bottom: 2rem;
  }

  .formation-section .image-container img {
    width: 360px;
    height: 310px;
  }

  .formation-section .text-container h2 { font-size: 24px; }
  .formation-section .text-container p { font-size: 18px; }
}

@media (max-width: 768px) {
  .formation-section { padding: 20px 5%; }
  .formation-section .text-container h2 { font-size: 22px; }
  .formation-section .text-container p { font-size: 16px; }
  .formation-section .image-container img { width: 200px; height: 180px; }
}

@media (max-width: 600px) {
  .formation-section { padding: 15px 5%; gap: 1.5rem; }
  .formation-section .text-container h2 { font-size: 20px; }
  .formation-section .text-container p { font-size: 14px; }
  .formation-section .image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
  }
  .formation-section .image-container img {
    width: 180px;
    height: 160px;
    margin: 0 auto;
    border-radius: 5px;
    display: block;
  }
}

/* Tablet-specific flex-direction for iPads */
@media (min-width: 768px) and (max-width: 1024px) {
  .formation-section {
    flex-direction: row-reverse; /* Image on right, text on left */
    padding: 40px 8%;
    gap: 1.5rem;
  }
  .formation-section .image-container img {
    width: 360px;
    height: 310px;
  }
  .formation-section .text-container h2 { font-size: 18px; }
  .formation-section .text-container p {
    font-size: 12px !important;
    line-height: 1.5rem;
  }
}


.formation {
  padding: 50px 20px;
  text-align: center;
}
/* Base hidden state for boxes */
.formation-box {
  opacity: 0;
  transform: translateY(40px) skewY(1deg) scale(0.95);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

/* Scroll-triggered visible state */
.formation-box.visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg) scale(1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Hover effect – subtle lift and gradient accent */
.formation-box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0,0,0,0.2);
  background: linear-gradient(155deg, #10139d, #48cae4);
}

/* Icon – elegant pop on hover */
.formation-box:hover .formation-icon {
  transform: scale(1.15) rotateZ(2deg);
  transition: transform 0.3s ease;
}

/* Heading fade-in */
/* Heading fade-in */
.formation .heading-container h2 {
  font-size: 28px;
  color: var(--royalblue-color, #0404cb);
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

/* Animate when in view */
.formation .heading-container h2.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Underline effect */
.formation .heading-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 10px auto 0;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.6s ease-in-out 0.3s;
}

.formation .heading-container h2.in-view::after {
  opacity: 1;
  transform: scaleX(1);
}




/* Boxes container */
.formation-boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Individual boxes */
.formation-box {
  flex: 0 1 300px;
  max-width: 300px;
  padding: 20px;
  background: linear-gradient(155deg, var(--royalblue-color), var(--lightblue-color));
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.formation-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.formation-box:hover {
  background: var(--deepblue-color);
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.formation-icon {
  font-size: 40px;
  margin-bottom: 10px;
  transition: transform 0.3s ease-in-out;
}

.formation-box:hover .formation-icon {
  transform: scale(1.2);
}

.formation-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.formation-box p {
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .formation-box {
    flex: 0 1 45%;
  }
}

@media (max-width: 768px) {
  .formation-box {
    flex: 0 1 90%;
  }
}

@media (max-width: 480px) {
  .formation-heading-container h2 { font-size: 22px; }
  .formation-box { padding: 15px; }
  .formation-icon { font-size: 30px; }
  .formation-box h3 { font-size: 18px; }
  .formation-box p { font-size: 12px; }
}




  /* ---------- Formation Process (Horizontal Timeline) ---------- */
/* Hidden state */



/* Section Heading Styling */
/* Start hidden */
.formation-process .heading-container h2 {
  font-size: 28px;
  color: var(--royalblue-color, #0404cb);
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

/* Animate when in view */
.formation-process .heading-container h2.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Underline effect */
.formation-process .heading-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 10px auto 0;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.6s ease-in-out 0.3s;
}

.formation-process .heading-container h2.in-view::after {
  opacity: 1;
  transform: scaleX(1);
}



.formation-process {
  padding: 4rem 8%;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1300px;
  margin-bottom: 0;
  margin-top: 0;
}

.formation-process .heading-container {
  text-align: center;
  margin-bottom: 2.5rem;
}
.formation-process .heading-container h2 {
  font-size: 28px;
  color: var(--royalblue-color);
  text-transform: uppercase;
  position: relative;
}

.formation-process .heading-container h2::after {
  content: "";
  display: block;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 10px auto 0;
}
.formation-process .heading-container p {
  font-size: 15px;
  color: var(--darkgrey-textcolor);
  margin-top: 8px;
}

/* Row container */
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 28px 8px 10px;
}

/* Connecting line */
.process-steps::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 24px;
  right: 24px;
  height: 6px;
  border-radius: 4px;
  background-size: 200% 100%;
  animation: slideTrack 6s linear infinite;
  opacity: 0.3;
  z-index: 1;
}
@keyframes slideTrack {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Step card */
.process-steps .step {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}
.process-steps .step:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.process-steps .step.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: pulsePop 0.6s ease forwards;
}
@keyframes pulsePop {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  60% { transform: translateY(-5px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Number badge */
.process-steps .step span {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--darkblue-color), #2f9eb2);
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Step title & text */
.process-steps .step h3 {
  font-size: 18px;
  color: var(--deepblue-color);
  margin-bottom: 8px;
}
.process-steps .step p {
  font-size: 14px;
  color: var(--darkgrey-textcolor);
  line-height: 1.6;
}

/* ✅ Responsive */
@media (max-width: 992px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-steps::before { display: none; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .process-steps::before { display: none; }
  .process-steps .step span { width: 40px; height: 40px; }
  .process-steps .step h3 { font-size: 17px; }
  .process-steps .step p { font-size: 13.5px; }
}


/* Base CTA Styles (already reusable from your tax CTA) */
.cta-banner {
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    margin-top:0 ;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 21, 134, 0.9);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-banner p {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--mediumblue-color), var(--hover-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--hover-color), var(--mediumblue-color));
}


/* Base hidden state */
.cta-banner h2,
.cta-banner p,
.cta-button {
    opacity: 0;
    transform: translateY(80px) rotateX(20deg) scale(0.7);
    filter: drop-shadow(0 0 0 rgba(255,255,255,0));
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* When in viewport */
.cta-banner.in-view h2 {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1.2);
    filter: drop-shadow(0 8px 20px rgba(255,255,255,0.8));
    transition-delay: 0.2s;
    animation: wobbleH2 1s ease forwards;
}

.cta-banner.in-view p {
    opacity: 1;
    transform: translateY(0) rotateZ(-5deg) scale(1);
    transition-delay: 0.5s;
    animation: waveP 1.2s ease forwards;
}

.cta-banner.in-view .cta-button {
    opacity: 1;
    transform: translateY(0) rotateZ(0deg) scale(1);
    transition-delay: 0.8s;
    animation: pulseButtonExtreme 1.5s ease forwards;
}

/* Wobble H2 */
@keyframes wobbleH2 {
    0% { transform: translateY(80px) rotateX(20deg) scale(0.7); }
    30% { transform: translateY(-10px) rotateX(-10deg) scale(1.25); }
    60% { transform: translateY(5px) rotateX(5deg) scale(1.15); }
    100% { transform: translateY(0) rotateX(0deg) scale(1.2); }
}

/* Wave P */
@keyframes waveP {
    0% { transform: translateY(60px) rotateZ(-10deg) scale(0.85); }
    25% { transform: translateY(-5px) rotateZ(5deg) scale(1.05); }
    50% { transform: translateY(3px) rotateZ(-3deg) scale(1.02); }
    100% { transform: translateY(0) rotateZ(0deg) scale(1); }
}

/* Extreme Button Pulse */
@keyframes pulseButtonExtreme {
    0% { transform: scale(0.8) rotateZ(-10deg); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    40% { transform: scale(1.3) rotateZ(10deg); filter: drop-shadow(0 10px 20px rgba(255,255,255,0.9)); }
    70% { transform: scale(1.1) rotateZ(-5deg); filter: drop-shadow(0 5px 15px rgba(255,255,255,0.7)); }
    100% { transform: scale(1) rotateZ(0deg); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}

/* ✅ Formation CTA Variation */
.cta-formation {
    background: url('images/company\ formation.webp') 
                no-repeat center center/cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-banner h2 {
        font-size: 26px;
    }
    
    .cta-banner p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}



footer {
  background-color: var(--deepblue-color);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #97e5f5;
  margin-bottom: 15px;
  font-size: 23px;
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  font-weight: 600px;
}

.footer-column ul li a:hover {
  color: var(--hover-color);
}

.footer-column p {
  margin: 10px 0;
}

.footer-column form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column form input {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}



.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-left,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left img {
  max-height: 50px;
  margin-bottom: 10px;
}

.footer-right img {
  max-height: 50px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
