:root {
  --accent-orange: #FD6F00; /* New brighter orange from design */
  --primary-blue: #006285;  /* The teal/blue from the buttons */
  --muted: #f6f6f6;
  --text-dark: #000000;
  --radius: 6px;
}

* {
  font-family: "Poppins", sans-serif;
}

.nav-dropdown, .nav-dropdown-mobile {
    position: relative;
}

.nav-dropdown .dropdown-menu, .nav-dropdown-mobile .dropdown-menu-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    padding: 8px 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu, .nav-dropdown-mobile:hover .dropdown-menu-mobile {
    display: block;
}

.dropdown-item, .dropdown-item-mobile {
    display: block;
    padding: 8px 16px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-item:hover, .dropdown-item-mobile:hover {
    background: #f2f2f2;
    color: #000;
}

.nav-dropdown-mobile .dropdown-menu-mobile {
    display: none;
}

.nav-dropdown-mobile.active .dropdown-menu-mobile {
    display: block;
}


.dropdown-toggle::after, .dropdown-toggle-mobile::after {
    font-size: 12px;
}

html, body { height: 100%; }

/* Ensure body and specific elements also follow it */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input {
    font-family: 'Poppins', sans-serif !important;
}
body {
  margin: 0;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-family: 'Poppins', sans-serif;
}

.container-max { 
  max-width: 1200px; /* Slightly wider to match modern layouts */
  margin: auto; 
  padding: 1rem 2rem; 
}

/* Updated Site Header */
.site-header { padding: 1.5rem 0; }

.site-nav .nav-link { 
  color: var(--text-dark) !important; 
  text-decoration: none; 
  margin: 0 12px;
  font-weight: 500;
}

.brand { 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  font-size: 1.2rem;
}

/* Updated Hero Section */
.hero { padding: 5rem 0; }

.subtitle { 
  color: var(--accent-orange); 
  font-weight: 700; 
  font-size: 1.1rem; 
  margin-bottom: 0.5rem;
}

/* Large display title to match Figma */
.hero-title { 
  font-size: 4.5rem; 
  font-weight: 900; 
  line-height: 0.9; 
  color: var(--text-dark);
  margin: 0;
}

/* The orange "Securing your future" line */
.hero-tagline {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.lead { 
  color: #333; 
  max-width: 500px; 
  font-size: 1rem;
  line-height: 1.6;
}

/* New Teal Button Styles */
.btn-book-now, .btn-get-free {
  background-color: var(--primary-blue);
  color: white !important;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-book-now:hover, .btn-get-free:hover {
  opacity: 0.9;
}

/* Hero Social Column (Right side) */
.hero-social-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 20px;
}

.hero-social-icons a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Media Query for Title scaling */
@media (max-width: 991px) {
  .hero-title { font-size: 3rem; }
  .hero { padding: 3rem 0; }
}

.btn-get-free:hover, 
.btn-book-now:hover {
  background-color: #004d69 !important;
  color: #ffffff !important;        
  border-color: #004d69 !important;
  opacity: 1;                 
}

  section { padding:2.5rem 0; }
  .services .card { border-radius:var(--radius); min-height:190px; background:var(--muted); }
  .service-title { font-weight:700; }
  
  .achievements .carousel-item { min-height:160px; place-items: center; }
  
  /* Form spinner */
  .form-spinner { display:inline-block; width:1rem; height:1rem; border:2px solid rgba(255,255,255,0.6); border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite; margin-left:.5rem; vertical-align:middle; }
  @keyframes spin { to { transform: rotate(360deg); } }
  
  .footer-cta { background:var(--teal); color:#fff; padding:3rem; border-radius:12px; margin-top:2rem; }
  .avatar { width:110px; height:110px; border-radius:50%; border:6px solid #fff; object-fit:cover; }
  
  .toast-container { position:fixed; top:1rem; right:1rem; z-index:1080; }
  
  /* Loader overlay */
  .loader-overlay {
    position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
    background:rgba(0,0,0,0.45); z-index:1090;
  }
  .loader-spinner {
    width:64px; height:64px; border-radius:50%;
    border:8px solid rgba(255,255,255,0.15); border-top-color:#fff; animation:spin 0.9s linear infinite;
  }
  
  /* Utilities */
  .small-muted { color:#6b6b6b; }
  .table-wrap { max-height:520px; overflow:auto; }
  .card { border-radius:10px; }
  
  /* Accessibility */
  .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  
  /* CSS for loader overlay */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1055; /* above modals */
    }
    
    .loader-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.4rem solid #f3f3f3;
    border-top: 0.4rem solid #0d6efd;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    }
    
    @keyframes spin {
    to { transform: rotate(360deg); }
    }
    
    /* Optional: smooth modal animation */
    .modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    }
    
    .modal.fade.show .modal-dialog {
    transform: translateY(0);
    }
    
    /* Centered text for toast */
    .toast-body {
    font-size: 0.9rem;
    text-align: center;
    }
    
    section#about {
        display: flex;
        flex-direction: row-reverse;
    }

    .achievements-photo{
        height: 200px;
        border-radius: 500px;
        width: 200px;
        background-position-y: center;
    }

    .d-flex.flex-column.flex-md-row.align-items-center.gap-3 {
        background-color: #006285;
        border-radius: 14px;
        padding: 50px 30px;
        color: white;
    }

    .year{
        font-weight: 700;
        color: white !important;
        font-size: 16px;
    }

    .carousel-indicators .active{
        background-color: #FD6F00 !important;
    }
    .carousel-indicators [data-bs-target]{
        height: 15px;
        width: 52px;
        border-radius: 17px;
        background-color: #D9D9D9;
    }
    .carousel-indicators{
        bottom: -24px !important;
    }

    .achieve-txt{
        font-size: 1.5rem !important;
    }
    /* Services Section Refinement */
.services-section {
    padding: 80px 0;
}

.btn-book-now {
  background-color: var(--primary-blue);
  color: white !important;
  border-radius: var(--radius);
  padding: 5px 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.service-intro {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 60px;
}

.service-row {
    margin-bottom: 80px !important; /* Increased spacing between services */
    align-items: flex-end !important;
}

.service-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-text p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-image img {
    width: 100%;
    height: 350px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 20px !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .service-row {
        text-align: left;
        margin-bottom: 50px !important;
    }
    
    .service-text {
        margin-bottom: 20px;
    }
    
    .service-image img {
        height: 250px;
    }
}
/* Base Achievement Box Styling */
.achievement-box {
    border-radius: 14px;
    padding: 60px 40px;
    text-align: center;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    max-width: 800px;
    margin: 0 auto; /* Centers the box on the page */
}

/* 1st and 3rd slides (Odd) - Orange */
.carousel-item:nth-child(odd) .achievement-box {
    background-color: #FD6F00;
}

/* 2nd and 4th slides (Even) - Dark Blue */
.carousel-item:nth-child(even) .achievement-box {
    background-color: #006285;
}

/* Text Styling */
.achieve-txt {
    font-size: 1.4rem !important;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Indicators Styling to match Figma */
.carousel-indicators {
    bottom: -40px !important;
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 10px;
    border-radius: 10px;
    background-color: #D9D9D9;
    border: none;
}

.carousel-indicators .active {
    background-color: #FD6F00 !important;
    width: 60px;
}

/*FOOTER SECTION */

.footer-blue-clip {
    background-color: #006285;
    padding: 250px 0 60px 0;
    -webkit-clip-path: polygon(0 0, 100% 60%, 100% 100%, 0% 100%);
    margin-top: 60px;
}
/* Figma Style Alignment: Dots on Left of Text */
.figma-contact-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps dots aligned vertically in a line */
    margin-right: 15%; /* This keeps it from hitting the far right edge */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between dot and text */
    margin-bottom: 10px;
}

.contact-section {
    padding-bottom: 10px !important; /* Reduces gap above logos */
}

.orange-dot {
    color: #FD6F00;
    font-size: 1rem;
    line-height: 1;
}

.figma-contact-group p {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* White Strip & Social Fix */
.white-footer-strip {
    background-color: #ffffff;
    padding: 30px 0;
}

.social-dark {
    filter: brightness(0); /* Ensures white icons turn black */
    width: 24px;
    height: auto;
    opacity: 0.9;
}

/* Profile Picture Overlap */
.footer-avatar-wrapper {
    /* Pulled up higher (from -160px to -210px) */
    margin-top: -140px; 
    position: relative;
    z-index: 20;
    transform: translateY(60px);
}

/* Mobile Adjustment */
@media (max-width: 767px) {
    .figma-contact-group {
        align-items: center;
        margin-right: 0;
        width: 100%;
    }
    .footer-blue-clip {
        clip-path: none; /* Remove slant on mobile for better text visibility */
        padding-top: 100px;
    }

    
}.contact-input {
    background-color: #F8F8F8 !important; /* Light grey background */
    border: 1px solid #E0E0E0 !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    height: 55px;
}

.btn-contact-submit {
    background-color: #FD6F00 !important; /* Figma Orange */
    color: white !important;
    font-weight: 600;
    padding: 0 40px;
    border-radius: 10px !important;
    height: 55px;
    border: none;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-contact-submit:hover {
    background-color: #e56500 !important;
}

/* Ensure the honeypot stays hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* --- Global Image Style --- */
.about-img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* --- Desktop Styles (Large Screen) --- */
@media (min-width: 992px) {
    .about-img {
        max-width: 500px; /* Large image as seen in Figma */
    }
    
    .desktop-title {
        font-size: 3.5rem; /* Bold, large title */
        line-height: 1.1;
    }
}

/* --- Mobile Styles (Small Screen) --- */
@media (max-width: 991px) {
    .mobile-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .about-text-content {
        margin-top: 15px;
    }
}/* --- White Menu Section --- */
.white-footer-strip {
    background-color: #ffffff; /* Explicit white background */
    padding: 0 0;
    border-top: 1px solid #f0f0f0; /* Optional: very faint line to separate from blue */
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-menu a {
    text-decoration: none;
    color: #333333;           /* Darker text for readability */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--accent-orange);
}

.social-dark {
    filter: brightness(0);     /* Forces icons to be black */
    width: 24px;
    opacity: 0.8;
}

/* --- Copyright Bar (Bottom-most section) --- */
.copyright-bar {
    background-color: #006285; /* Matches the primary blue/teal */
    padding: 15px 0;
    width: 100%;               /* Ensures it stretches full width */
}

.copyright-bar small {
    color: #ffffff !important; /* White text on teal background */
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
@media (max-width: 767px) {
    .footer-content .row {
        text-align: center;
    }

    .mobile-stack {
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-avatar-wrapper {
        margin-top: -120px;
    }

    .footer-brand-top, .figma-contact-group {
        align-items: center !important;
        text-align: center;
    }

    .footer-menu {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .partner-logo {
        max-height: 50px;
    }
}
/* --- Partners Section --- */
.partner-logo {
    /* Set to 40px height for desktop to keep them professional and subtle */
    max-height: 80px; 
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.1); /* Keeps them crisp */
}
.partners-section {
    padding: 20px 0;
    background: white;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.footer-avatar {
    width: 250px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid white;
    background-color: white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
/* Logo Positioning Fix */
.footer-logo-container {
    /* Reduced negative margin to lower the logo */
    margin-top: 0px; 
    position: relative;
    z-index: 20;
}

.footer-logo-white {
    max-width: 320px; /* Slightly larger to match reference scale */
    height: auto;
}

/* Contact Group alignment */
.figma-contact-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.orange-dot {
    color: #FD6F00;
    font-size: 0.8rem;
}

.footer-overlap-container {
    position: relative;
    z-index: 10;
    /* Changed from -130px to -60px to push images DOWN */
    margin-bottom: -220px; 
    margin-top: 150px;
}

@media (max-width: 767px) {
    /* Even smaller logos for mobile */
    
    .partner-logo {
        max-height: 22px;
        max-width: 70px;
    }
    
    .partners-section {
        padding-top: 0; 
        margin-top: -70px;
    }

    .footer-blue-clip {
        clip-path: none; 
        padding: 60px 0; 
        margin-top: 40px;
    }

    .footer-overlap-container {
        margin-bottom: 0; 
        margin-top: 0;
        text-align: center;
    }

    .footer-overlap-container .row {
        display: flex;
        flex-direction: column-reverse; /* Swaps the two columns */
    }

    .footer-avatar-wrapper {
        margin-top: 0; 
        margin-bottom: -20px; /* Space before contact info starts */
    }

    .footer-avatar {
        width: 180px;
        height: 210px;
    }

    .footer-logo-container {
        margin-bottom: -20px; /* Space between logo and profile below it */
        margin-top: 0;
    }

    .footer-logo-white {
        max-width: 200px; /* Keeps logo proportionate */
        margin-top: auto;
    }

    .figma-contact-group {
        align-items: center !important; 
        margin-right: 0;
        margin-top: 30px;
    }
    
    .contact-item {
        justify-content: center;
        gap: 8px;
    }

    .gap-4 {
        gap: 1rem !important; 
    }
    .figma-contact-group p {
        font-size: 0.8rem !important; /* Smaller text */
        font-weight: 400;
        letter-spacing: 0.2px;
    }
    .col-md-6 {
        text-align: center;
    }

    .col-md-6 p {
        font-size: smaller;
    }
}

