*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}


body{
  background:#ffffff;
  color:#333333;
}


header{
  background:#ffffff;
  padding:15px 20px;
  box-shadow:0px 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 30, 63, 0.12); /* maroon tint */
  transition: all 0.3s ease;
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height: 110px;
}

/* .logo{
  color:white;
  font-size:10px;
  font-weight:700;
} */
.logo img{
    height: 150px;    /* Reduced height to fit the bar better */
    width: auto;
    display: block;      /* Ensures it stays above other elements */
}

nav ul{
  display:flex;
  list-style:none;
}

nav ul li{
  margin-left:25px;
}

nav ul li a{
  color:#0d2a54;
  text-decoration:none;
  font-weight:500;
}

nav ul li a:hover {
    color: #8B1E3F;
}

/* .nav-btn {
    background-color: #8B1E3F; 
    color: white;   
    padding: 8px 20px;         
    border-radius: 4px;        
    text-decoration: none;     
    transition: 0.3s;          
}

.nav-btn:hover {
    background-color: #6f172f; 
    color: white;
} */

.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #0d2a54; /* Matches your nav link color */
  border-radius: 2px;
  transition: 0.3s;
}
  /* Hamburger Animation */

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hero{
  height:90vh;
  background:
  linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
  url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1400&auto=format&fit=crop');

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
}

.hero-content h1{
  font-size:60px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:20px;
  margin-bottom:30px;
}

.btn{
  background:#8B1E3F;
  color:white;
  padding:14px 32px;
  text-decoration:none;
  border-radius:6px;
  display:inline-block;
  transition:0.3s;
  font-weight:500;
}

.btn:hover{
  background:#6f172f;;
}

.page-banner{
  background:#8B1E3F;
  color:white;
  text-align:center;
  padding:80px 20px;
}

.content{
  max-width:1000px;
  margin:auto;
  padding:60px 20px;
}

.content h2{
  margin-bottom:20px;
}

.content p{
  margin-bottom:20px;
  line-height:1.8;
}

.services-section{
  display:flex;
  gap:30px;
  padding:60px 50px;
  flex-wrap:wrap;
  justify-content:center;
}

.service-box{
  background:white;
  padding:30px;
  width:300px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.service-box h3{
  margin-bottom:15px;
  color:#0b1f3a;
}

.contact-section{
  padding:60px 20px;
  display:flex;
  justify-content:center;
}

.contact-link {
  color: #1a365d; 
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
  color: #801833; 
}

form{
  width:100%;
  max-width:600px;
  background:white;
  padding:30px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

form input,
form textarea{
  width:100%;
  padding:12px;
  margin-bottom:20px;
  border:1px solid #ccc;
  border-radius:5px;
}

form button{
  background:#0b1f3a;
  color:white;
  border:none;
  padding:12px 25px;
  cursor:pointer;
  border-radius:5px;
}

@media(max-width:768px){

  nav{
    justify-content: space-between; /* Ensures Logo (left) and Hamburger (right) */
    width: 100%;
  }

  nav ul{
    margin-top:15px;
  }

  
  .hero-content h1{
    font-size: 32px;        /* Keeping your mobile font size adjustment */
    margin-bottom: 25px;
    text-align: center;
  }

.home-services {
    padding: 60px 10px !important; 
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevents horizontal scrolling */
  }

  .services-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Forces children to the center */
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 25px;
  }

  .service-card-new {
    /* 1. Reset the width to be responsive */
    width: 90% !important; 
    max-width: 340px !important;
    
    /* 2. Center the card itself */
    margin: 0 auto !important; 
    
    /* 3. Keep your aesthetics */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    padding: 30px 20px;
    box-sizing: border-box;
    display: block; /* Ensures it behaves as a block element */
  }
  header {
    padding: 10px 20px; /* Reduces side padding on mobile */
  }

  .hamburger {
    display: flex;
    order: 2; /* Shows the three lines */
  }

nav ul {
  display: flex;
  flex-direction: column;
    align-items: center;
justify-content: center;
  position: absolute;

  top: 100px;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 25px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  z-index: 1000;

  /* Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
}

/* Active State */
nav ul.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li {
  margin: 18px 0;
  width: 100%;
  text-align: center;
}

nav ul li a {
  display: block;
  width: 100%;
  padding: 10px 0;
  font-size: 18px;
  letter-spacing: 0.5px;
}

  /* Hero Section adjustments for mobile */
  .hero-content h1 {
    font-size: 32px;
    padding: 0 10px;
  }

}

.testimonial-section{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
  justify-content:center;
  padding:60px 20px;
}

.testimonial-box{
  background:white;
  width:320px;
  padding:30px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-box p{
  line-height:1.8;
  margin-bottom:20px;
  font-style:italic;
}

.testimonial-box h4{
  color:#0b1f3a;
}

.about-profile{
  padding:80px 20px;
  background:#f5f5f5;
}

.about-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  gap:50px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.about-image{
  flex:1;
  min-width:300px;
}

.about-image img{
  width:100%;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.about-text{
  flex:2;
  min-width:300px;
}

.about-text h1{
  color:#8B1E3F;
  margin-bottom:10px;
  font-size:42px;
}

.about-text h3{
  color:#0b2e6b;
  margin-bottom:10px;
}

.about-text h4{
  margin-bottom:25px;
  color:#555;
}

.about-text p{
  line-height:1.9;
  margin-bottom:20px;
  color:#333;
}

.fast-facts{
  background:white;
  padding:25px;
  border-radius:12px;
  margin-top:30px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.fast-facts h2{
  margin-bottom:20px;
  color:#8B1E3F;
}

.fast-facts ul{
  padding-left:20px;
}

.fast-facts li{
  margin-bottom:15px;
  line-height:1.7;
}

.verse{
  margin-top:40px;
  padding:30px;
  background:#ffffff;
  border-left:5px solid #8B1E3F;
  border-radius:12px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.verse p{
  font-style:italic;
  font-size:18px;
  line-height:1.8;
  color:#333333;
  margin-bottom:12px;
}

.verse span{
  color:#8B1E3F;
  font-weight:600;
}

@media(max-width:768px){

  .about-container{
    flex-direction:column;
  }

  .about-text h1{
    font-size:32px;
  }

  .slide-card img{
    width: 100% !important; /* Added !important just in case base styles are fighting it */
    height: auto !important;         /* Maintains the proper aspect ratio so it doesn't squish */
    aspect-ratio: 1 / 1;  /* Forces a perfect square if that's the look you want */
    object-fit: cover;    /* Ensures the image fills the space nicely without distortion */
    margin: 0 auto 15px;
  }

  .slide-card p{
    font-size:15px;
    padding: 0 10px;
  }

  .thankyou-box{
  padding:50px 25px;
}

.thankyou-box h1{
  font-size:36px;
}

.thankyou-box p{
  font-size:15px;
}

}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
  padding:80px 40px;
  max-width:1400px;
  margin:auto;
}

.service-card-new{
  background:white;
  padding:35px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
  transition:0.3s;
}

.service-card-new:hover{
  transform:translateY(-10px);
  
}

.service-card-new h2{
  color:#8B1E3F;
  margin-bottom:15px;
  font-size:28px;
}

.service-card-new span{
  color:#0b2e6b;
  font-weight:600;
  display:block;
  margin-bottom:25px;
}

.service-card-new ul{
  list-style: none;     /* Removes the dots */
  padding-left: 0;      /* Removes the left indentation */
  padding: 0;
}

.service-card-new li{
  margin-bottom:15px;
  line-height:1.7;
  color:#333;
}
.learn-btn{
  display:inline-block;
  margin-top:20px;
  background:#8B1E3F;
  color:white;
  text-decoration:none;
  padding:12px 25px;
  border-radius:6px;
  transition:0.3s;
}

.learn-btn:hover{
  background:#6f172f;
}

.roadmap-section{
  max-width:1000px;
  margin:auto;
  padding:80px 20px;
}

.roadmap-section h2{
  color:#8B1E3F;
  margin-bottom:20px;
}

.roadmap-section p{
  line-height:1.8;
  margin-bottom:30px;
}

.timeline-box{
  background:white;
  padding:30px;
  margin-bottom:30px;
  border-radius:12px;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.timeline-box h3{
  color:#0b2e6b;
  margin-bottom:15px;
}

.timeline-box ul{
  padding-left:20px;
}

.timeline-box li{
  margin-bottom:15px;
  line-height:1.7;
}
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
  padding:80px 40px;
  max-width:1400px;
  margin:auto;
  justify-content: center;
}

.testimonial-card-new{
  background:white;
  padding:35px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
  transition:0.3s;
  text-align:center;
}

.testimonial-card-new:hover{
  transform:translateY(-10px);
}

.testimonial-card-new img{
  width:100px;
  height:100px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:25px;
}

.testimonial-card-new p{
  line-height:1.9;
  color:#333;
  margin-bottom:25px;
  font-style:italic;
}

.testimonial-card-new h3{
  color:#8B1E3F;
  margin-bottom:10px;
}

.testimonial-card-new span{
  color:#0b2e6b;
  font-weight:600;
}
.hero-buttons{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:30px;
}

.btn-secondary{
  background:white;
  color:#8B1E3F;
}
.btn-secondary:hover{
  background:#6f172f;
  color:white;
}

.home-about{
  padding:100px 20px;
  background:white;
}

.home-about-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:60px;
  flex-wrap:wrap;
}

.home-about-text{
  flex:1;
  min-width:300px;
}

.home-about-text h2{
  color:#8B1E3F;
  margin-bottom:15px;
  font-size:40px;
}

.home-about-text h3{
  color:#666;
  margin-bottom:20px;
}

.home-about-text p{
  line-height:1.9;
  color:#333;
  margin-bottom:30px;
}

.home-about-image{
  flex:1;
  min-width:300px;
  text-align: center;
}

.home-about-image img{
  width:70%;
  max-width:350px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.15);
}


.home-services{
  background:#f5f5f5;
  padding:100px 20px;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  color:#8B1E3F;
  font-size:42px;
}

.cta-section{
  background:#8B1E3F;
  color:white;
  text-align:center;
  padding:70px 20px;
}

.cta-section h2{
  font-size:42px;
  margin-bottom:20px;
}

.cta-section p{
  margin-bottom:35px;
  font-size:18px;
}
.service-card-new:hover,
.testimonial-card-new:hover{
  transform:translateY(-10px);
  box-shadow:0 10px 30px rgba(11,46,107,0.15);
  border-left: #0b1f3a;
}

  footer{
  background:#0b2e6b;
  color:white;
  text-align:center;
  padding:25px;
}
.about-box{
  background:white;
  padding:30px;
  border-radius:15px;
  margin-bottom:30px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.about-box h2{
  color:#8B1E3F;
  margin-bottom:20px;
}

.about-box p{
  line-height:1.9;
  color:#333;
  margin-bottom:20px;
}

.about-box ul{
  padding-left:20px;
}

.about-box li{
  margin-bottom:18px;
  line-height:1.8;
}
.mission-vision-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  margin-bottom:30px;
}

.mission-card{
  background:white;
  padding:35px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

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

.mission-card h2{
  color:#8B1E3F;
  margin-bottom:20px;
}

.mission-card p{
  line-height:1.9;
  color:#333;
}
.about-profile{
  max-width:1200px;
  margin:auto;
  padding:80px 20px;
}

.profile-main-card{
  background: white;
  padding: 5%; /* Changed from fixed 50px to percentage */
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  margin-bottom: 50px;

  display: flex;
  align-items: center;
  justify-content: center; /* Center content when it stacks */
  gap: 30px; /* Reduced gap slightly for better fit */
  flex-wrap: wrap;
}

.profile-main-card img{
  width: 320px;
  max-width: 100%; /* Prevents the image from going outside the card */
  height: auto; /* Changed from fixed 420px to auto to maintain aspect ratio */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.profile-main-card h1{
  color:#8B1E3F;
  margin-bottom:10px;
}

.profile-main-card h2{
  color:#8B1E3F;
  margin-bottom:10px;
}

.profile-main-card h3{
  color:#666;
  margin-bottom:25px;
}

.profile-main-card p{
  max-width: 100%; /* Ensure it doesn't try to be wider than the container */
  line-height: 1.9;
  margin-bottom: 20px;
  color: #333;
}

.mission-vision-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  margin-bottom:40px;
}

.mission-card{
  background:white;
  padding:35px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  text-align:center;
}

.mission-card h2{
  color:#8B1E3F;
  margin-bottom:20px;
}

.mission-card p{
  line-height:1.9;
  color:#333;
}

.about-box{
  background:white;
  padding:40px;
  border-radius:15px;
  margin-bottom:35px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.about-box h2{
  color:#8B1E3F;
  margin-bottom:25px;
}

.about-box p,
.about-box li{
  line-height:1.9;
  color:#333;
}

.about-box ul{
  padding-left:20px;
}
.profile-content{
  flex:1;
  min-width:100px;
}

.profile-content h1{
  color:#8B1E3F;
  margin-bottom:10px;
}

.profile-content h2{
  color:#0b2e6b;
  margin-bottom:10px;
}

.profile-content h3{
  color:#666;
  margin-bottom:25px;
}

.profile-content p{
  line-height:1.9;
  color:#333;
  margin-bottom:20px;
}
.contact-wrapper{
  max-width:1300px;
  margin:auto;
  padding:80px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:50px;
  align-items:start;
  justify-content: center;
}

.contact-info{
  background:white;
  padding:45px;
  border-radius:20px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.contact-info h2{
  color:#8B1E3F;
  margin-bottom:15px;
  font-size:42px;
}

.contact-info h3{
  color:#0b2e6b;
  margin-bottom:25px;
}

.contact-info p{
  line-height:1.9;
  color:#333;
}

.contact-details{
  margin-top:35px;
}

.contact-box{
  margin-bottom:30px;
}

.contact-box h4{
  color:#0b1f3a;
  margin-bottom:10px;
}

.contact-form-box{
  background:white;
  padding:45px;
  border-radius:20px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-box form{
  display:flex;
  flex-direction:column;
}

.contact-form-box input,
.contact-form-box textarea{
  padding:15px;
  margin-bottom:20px;
  border:1px solid #ddd;
  border-radius:8px;
  font-family:'Poppins',sans-serif;
}

.button-contact {
  background:#8B1E3F;
  color:white;
  border:none;
  padding:15px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
  transition:0.3s;
}

.button-contact:hover{
  background:#6f172f;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #168f4a;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.whatsapp-link i {
  font-size: 20px;
}

.whatsapp-link:hover {
  color: #22be63;
  transform: translateY(-1px);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2e6b; /* your secondary brand color */
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.linkedin-link i {
  font-size: 20px;
}

.linkedin-link:hover {
  color: #1a4fd8; /* accent on hover */
  transform: translateY(-1px);
}

/* new */
.service-cta {
  margin-top: 70px;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #0b2e6b, #8B1E3F);
  border-radius: 18px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-cta h3 {
  font-size: 1.9rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
}

.service-cta p {
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* CTA Button */
.service-cta .contact-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #0b2e6b;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Hover effect using accent tone */
.service-cta .contact-btn:hover {
  background: #8B1E3F;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.testimonial-intro {
  padding: 60px 10%;
  text-align: center;
  background: linear-gradient(135deg, rgba(11, 46, 107, 0.06), rgba(139, 30, 63, 0.04));
}

.testimonial-intro h2 {
  font-size: 2rem;
  color: #0b2e6b; /* your secondary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.testimonial-intro p::before {
  content: "“";
  color: #8B1E3F;
  font-size: 2rem;
  font-weight: 600;
  margin-right: 5px;
  line-height: 1.2;
  vertical-align: middle;
}

.testimonial-intro p::after {
  content: "”";
  color: #8B1E3F;
  font-size: 2rem;
  font-weight: 600;
  margin-left: 5px;
  line-height: 0;
  vertical-align: middle;

}



.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  position: relative;
  width: 100%;
  height: auto;
}

.slide-card {
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 5px;
  opacity: 0;
  visibility: hidden;
  height: 0; /* Prevents hidden cards from taking up vertical space */
  overflow: hidden;
}

.slide-card.active {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.slide-card img {
  width: 30%;
  height: 20%;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.slide-card h3 {
  color: #8B1E3F;
  margin-bottom: 12px;
}

.slide-card p {
  max-width: 600px;
  margin: auto;
  color: #555;
  line-height: 1.7;
}

.thankyou-section{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
  background:#f8f9fc;
}

.thankyou-box{
  background:#ffffff;
  max-width:650px;
  width:100%;
  padding:70px 50px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
  border-top:6px solid #8B1E3F;
}

.thankyou-box h1{
  font-size:48px;
  color:#8B1E3F;
  margin-bottom:20px;
}

.thankyou-box p{
  font-size:17px;
  line-height:1.8;
  color:#555;
  margin-bottom:15px;
}

.thankyou-box .btn{
  margin-top:25px;
}

.cta-section .btn {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #0b2e6b;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Hover effect using accent tone */
.cta-section .btn:hover {
  background: #0b2e6b;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


/* ==========================================
   COMPACT HANGING ADVERTISEMENT CARD
   ========================================== */

.partner-ad-section {
  padding: 60px 5% 40px 5%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden; /* Prevents the swinging animation from causing horizontal scrollbars */
}

/* Container handling the pivot point for the sway animation */
.hanging-container {
  position: relative;
  width: 100%;
  max-width: 700px; /* Reduced max-width for a more compact card appearance */
  margin: 0 auto;
  padding-top: 50px; /* Space for the ropes */
  transform-origin: top center;
  animation: swaySign 1.5s ease-in-out infinite alternate;
}

/* CSS Drawn Hanging Ropes */
.hang-rope {
  position: absolute;
  top: 0;
  width: 2px;
  height: 55px; /* Shorter ropes to match compact size */
  background: linear-gradient(to bottom, #b8860b, #ffd700, #8a6d3b);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Ropes precisely anchored to match the smaller footprint */
.rope-left {
  left: 20%;
  transform: rotate(-20deg);
  transform-origin: top center;
}

.rope-right {
  right: 20%;
  transform: rotate(20deg);
  transform-origin: top center;
}

/* Compact Premium Card Base */
.partner-ad-card {
  display: flex;
  align-items: center;
  gap: 30px; /* Smaller gap */
  background: linear-gradient(135deg, #2b1118 0%, #15050a 100%);
  border-radius: 16px;
  padding: 30px; /* Shrunk padding from 45px to 30px */
  position: relative;
  
  /* Gold Metallic Frame Effect */
  border: 3px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: 
    linear-gradient(135deg, #2b1118 0%, #15050a 100%), 
    linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.5),
    inset 0 0 15px rgba(191, 149, 63, 0.15);
}

/* Compact Profile Picture with Gold Ring */
.partner-ad-image-container {
  flex-shrink: 0;
}

.partner-ad-image {
  width: 170px; /* Compact image container */
  height: 170px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.partner-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Compact Typography and Content */
.partner-ad-content {
  flex: 1;
  color: #f5f5f5;
}

.partner-ad-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.0rem; /* Shrunk text */
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dfba6b;
}

.partner-ad-name {
  font-size: 1.6rem; /* Shrunk title text */
  margin-bottom: 4px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.partner-ad-name small {
  font-size: 0.6em; /* Scale it down to 60% of the main name's size */
  font-weight: 400;  /* Make it slightly thinner so it looks secondary */
  opacity: 0.85;     /* Soften the color slightly */
}

.partner-ad-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #dfba6b;
  margin-bottom: 2px;
}

.partner-ad-firm {
  font-size: 0.85rem;
  color: #cccccc;
  line-height: 1.4;
  margin-bottom: 12px;
}

.partner-ad-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d1d1d1;
  margin-bottom: 18px;
}

/* ==========================================
   DYNAMIC CONTACT ICONS & TRANSITIONS
   ========================================== */

/* Wrapper setup */
.partner-ad-actions {
  display: flex;
  justify-content: flex-start; /* Desktop default alignment */
  align-items: center;
  position: relative;
  min-height: 42px; /* Prevents card layout layout shift when button vanishes */
  width: 100%;
}

/* Base state for the button transition */
.partner-ad-btn {
  display: inline-block;
  padding: 10px 24px; /* Shrunk padding */
  background: linear-gradient(135deg, #bf953f 0%, #b38728 100%);
  color: #15050a;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(179, 135, 40, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.partner-ad-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 246, 186, 0.5);
  background: linear-gradient(135deg, #fcf6ba 0%, #bf953f 100%);
}

/* Class to hide the button via JS */
.partner-ad-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  position: absolute; /* Takes up no space once hidden */
}

/* Icons container styling (Hidden by default) */
.partner-contact-icons {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s; /* Slight delay for smooth flow */
}

/* Class to reveal the icons via JS */
.partner-contact-icons.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Premium Round Icon Buttons */
.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #15050a; /* Dark icon color */
  background: linear-gradient(135deg, #bf953f 0%, #b38728 100%);
  box-shadow: 0 4px 12px rgba(179, 135, 40, 0.3);
  transition: all 0.3s ease;
}

.icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(252, 246, 186, 0.5);
  background: linear-gradient(135deg, #fcf6ba 0%, #bf953f 100%);
}

/* Disclaimer text */
.partner-ad-note {
  max-width: 700px;
  margin-top: 25px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #888888;
  text-align: center;
}

/* Gentle Sway Animation */
@keyframes swaySign {
  0% { transform: rotate(-1.5deg); }
  100% { transform: rotate(1.5deg); }
}

/* ==========================================
   RESPONSIVE DESIGN (PRESERVING SIDE-BY-SIDE DESIGN)
   ========================================== */

@media (max-width: 768px) {
  .hanging-container {
    padding-top: 35px; /* Compacts rope spacing area */
  }

  /* Keeps ropes correctly relative to the card's outer anchor paths */
  .rope-left {
    left: 20%;
    transform: rotate(-20deg);
  }
  
  .rope-right {
    right: 20%;
    transform: rotate(20deg);
  }

  /* Retains horizontal side-by-side spacing while safely squeezing dimensions down */
  .partner-ad-card {
    display: flex !important;
    flex-direction: row !important; /* Preserves layout alignment */
    align-items: center !important;
    text-align: left !important;
    padding: 15px !important; /* Prevents overflow clipping */
    gap: 15px !important;
  }

  /* Scale structural profile component down proportionally */
  .partner-ad-image {
    width: 100px !important;
    height: 100px !important;
  }

  /* Scales layout text clusters cleanly */
  .partner-ad-content {
    display: block !important;
    width: auto !important;
    text-align: left !important;
  }

  .partner-ad-name {
    font-size: 0.90rem !important;
  }

  .partner-ad-label {
    font-size: 0.65rem !important;
    margin-bottom: 2px !important;
  }

  .partner-ad-role,
  .partner-ad-firm {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
  }

  .partner-ad-description {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  /* Preserves regular side-by-side action-button parameters */
  .partner-ad-actions {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 5px !important;
    position: relative !important;
  }
  
  .partner-contact-icons {
    justify-content: flex-start !important;
    width: auto !important;
  }

  .partner-ad-btn {
    padding: 6px 6px !important;
    font-size: 0.6rem !important;
  }
}

@media (max-width: 480px) {
  .partner-ad-card {
    padding: 10px !important;
    gap: 10px !important;
  }

  .partner-ad-image {
    width: 90px !important;
    height: 90px !important;
  }

  /* Hides long description string specifically on tiny devices to safeguard UI margins */
  .partner-ad-description {
    display: none !important;
  }

  /* .partner-ad-btn {
    padding: 6px 8px !important;
    font-size: 1.0rem !important;
  } */
}

/* career page */
/* --- Glowing Border Accordion Styles --- */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --brand-maroon: #801638;
  --brand-blue: #0b2545;
  --glow-purple: #7a229c; /* Accent glow from your image sample */
  --dark-bg: #1e1e24;     /* Dark interface background from image sample */
  --border-gray: #3f3f46;
}

.careers-section {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

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

.section-title {
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 40px;
  font-weight: 700;
}

.accenture-style-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --- The Moving Light Loop Wrapper Setup --- */
.glowing-card-wrapper {
  position: relative;
  background: var(--dark-bg);
  border-radius: 14px;
  padding: 3px; /* Size of the glowing border line track */
  z-index: 1;
  transition: box-shadow 0.4s ease;
}

/* Moving Light Gradient Border */
.glowing-card-wrapper::before,
.glowing-card-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  z-index: -1;
  background: conic-gradient(
    from var(--gradient-angle),
    var(--brand-maroon),
    var(--glow-purple),
    var(--brand-blue),
    var(--glow-purple),
    var(--brand-maroon)
  );
  animation: rotationLoop 6s linear infinite;
}

/* Soft ambient glow behind the card */
.glowing-card-wrapper::after {
  filter: blur(15px);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* Elevate the light effect when active/expanded */
.glowing-card-wrapper.card-expanded::after,
.glowing-card-wrapper:hover::after {
  opacity: 0.8;
}

/* Keyframes to make the light travel around the card perimeter */
@keyframes rotationLoop {
  0% { --gradient-angle: 0deg; }
  100% { --gradient-angle: 360deg; }
}

/* --- Internal Accordion Layout --- */
.job-accordion-item {
  background-color: var(--dark-bg);
  border-radius: 11px;
  overflow: hidden;
  color: #f4f4f5;
}

.job-header-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding: 35px 30px;
  cursor: pointer;
  align-items: center;
}

.job-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.job-sub-meta {
  font-size: 0.95rem;
  color: #a1a1aa;
  margin: 0 0 6px 0;
}

.job-quick-skill {
  font-size: 0.95rem;
  color: #e4e4e7;
  margin: 0 0 14px 0;
  font-weight: 600;
}

.job-quick-skill .highlight-text {
  color: #e2e8f0;
  text-decoration: underline;
}

.job-brief-desc {
  font-size: 0.95rem;
  color: #d4d4d8;
  line-height: 1.5;
  margin: 0;
}

/* --- Right Side Actions Block --- */
.job-right-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.save-job-btn {
  background: transparent;
  border: none;
  color: #e4e4e7;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.save-job-btn:hover {
  color: var(--brand-maroon);
}

.save-job-btn svg {
  color: inherit;
}

/* Rounded Capsule Action Toggle Button */
.job-toggle-btn {
  background-color: var(--brand-maroon);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(128, 22, 56, 0.3);
}

.glowing-card-wrapper:hover .job-toggle-btn {
  background-color: #9a1f47;
}

.job-accordion-item.active .job-toggle-btn {
  background-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.4);
}

/* --- Expandable Drop Panel Content --- */
.job-content-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #18181b; /* Darker interior panel contrast */
}

.job-accordion-item.active .job-content-panel {
  max-height: 1500px;
}

.panel-inner-content {
  padding: 40px 30px;
  border-top: 1px solid #27272a;
}

.job-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.details-column h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.details-column h4:not(:first-child) {
  margin-top: 30px;
}

.details-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d4d4d8;
  margin: 0 0 15px 0;
}

.details-column ul {
  padding-left: 20px;
  margin: 0;
}

.details-column ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d4d4d8;
  margin-bottom: 12px;
}

/* Panel Bottom Action Bar */
.panel-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: #a1a1aa;
  font-style: italic;
  margin: 0;
  max-width: 70%;
}

.btn-apply-accenture {
  background-color: #ffffff;
  color: #000000;
  padding: 14px 32px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-apply-accenture:hover {
  background-color: #e4e4e7;
  transform: scale(1.02);
}

/* --- Responsive Viewports Breakpoints --- */
@media (max-width: 992px) {
  .job-header-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .job-right-actions {
    align-items: flex-start;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .job-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .panel-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .footer-disclaimer {
    max-width: 100%;
  }
  .btn-apply-accenture {
    width: 100%;
    text-align: center;
  }
}



.partner-section {
  margin-top: 60px;
  margin-bottom: 20px;
}

.partner-card {
  background: linear-gradient(
    135deg,
    rgba(139, 30, 63, 0.04),
    rgba(13, 42, 84, 0.04)
  );
  border: 1px solid rgba(139, 30, 63, 0.12);
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.08);
}

/* top accent line */
.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    #8B1E3F,
    #0d2a54
  );
}

.partner-tag {
  display: inline-block;
  background: rgba(139, 30, 63, 0.1);
  color: #8B1E3F;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.partner-header h2 {
  color: #0d2a54;
  font-size: 34px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.partner-text {
  color: #555;
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 35px;
}

.partner-apply-box {
  background: white;
  border-left: 5px solid #8B1E3F;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.partner-apply-box h3 {
  color: #0d2a54;
  margin-bottom: 12px;
  font-size: 24px;
}

.partner-apply-box p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 22px;
}

.partner-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8B1E3F;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.partner-email-btn:hover {
  background: #0d2a54;
  transform: translateY(-2px);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);

  background: #fff;
  width: 190px; /* smaller */

  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  border: 1px solid rgba(139, 30, 63, 0.1);

  padding: 8px 0;
  list-style: none;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;

  transition: 0.25s ease;
  z-index: 9999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  margin: 0 !important;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px; /* smaller text */
  color: #0d2a54;
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s ease;
}

.dropdown-menu li a:hover {
  background: rgba(139, 30, 63, 0.08);
  color: #8B1E3F;
}