#mega-menu-max_mega_menu_1
{
	flex-direction: row !important;
	background-color: #15185b !important;
	height: 100vh !important;
    min-height: 750px !important;
    top: 69px !important;
    justify-content: center;
    padding: 20px 30px 30px !important;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
    width: 16.666666667%;
    border-right: 1px;
    border-style: solid;
    border-image: linear-gradient(90deg, #FF002A 0%, #CC00FF 100%) 1;
    border-image-slice: 1;
    flex-grow: 1;
    max-height: 660px;
    max-width: 241px;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item:last-child
{
    border-right: 0;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link
{
	font-weight: 600 !important;
	/*padding-top: 20px;*/
	padding-bottom: 20px;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-column-standard > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link
{
	min-height: 35px;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 .header-manu-icon-column-main-div-class .widget_media_image img
{
	max-width: 100px !important;
	padding-top: 20px;
}
/*.home-page-banner-section-main-div
{
	background-image: url('/wp-content/uploads/2025/11/home-banner-wave-scaled.png'), url('/wp-content/uploads/2025/11/home-page-banner-image.png');
	background-position: 50% 100%, right bottom;
	background-repeat: no-repeat;
	background-size: contain;
}*/
.home-page-banner-section-main-div {
    /* Bottom pink wave – full width at the bottom */
    background-image: url('/wp-content/uploads/2025/11/home-banner-wave-scaled.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;        /* full width, keeps proportion */
    
    /* This is only for the wave */
    min-height: 800px;                 /* adjust if needed */
    position: relative;
    overflow: hidden;
    padding-bottom: 16% !important;
}

/* The exam room photo – we put it in a separate layer so we can control size perfectly */
.home-page-banner-section-main-div::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;                        
    /*max-width: 900px;*/
    height: 100%;
    background-image: url('/wp-content/uploads/2025/11/home-page-banner-image.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;              /* so it doesn't block clicks */
    z-index: -1;
/*     opacity: 0; */
    transition: opacity 0.9s ease, transform 0.8s ease;
    /*will-change: opacity, transform;*/
}
.home-page-banner-section-inner-right-div
{
	/*min-height: 715px;*/
	/*background-image: url('/wp-content/uploads/2025/11/home-page-banner-image.png');
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: contain;*/
}
.home-page-3rd-section-left-image-div
{
    padding-top: 4%;
}
.home-page-dox-section-main-section
{
    background-size: 100% auto !important;
}
.button-hover-animation-style a
{
    background-image: linear-gradient(to right, #ff002a, #c0f, #ff002a, #c0f);
    background-size: 300% 100%;
    position: relative;
    background-position: 0% 50%;
    transition: all .2s ease-in-out;
}
.button-hover-animation-style a:hover
{
    background-position: 100% 0;
    transition: all .2s ease-in-out;
}

/*.footer-main-div
{
	background-image: url('/wp-content/uploads/2025/11/footer-wave.png'), url('/wp-content/uploads/2025/11/footer-wave-last.png');
	background-position: 50% 10%, bottom right;
	background-repeat: no-repeat;
	background-size: contain, auto;
}*/

.footer-main-div {
    background-color: #0f0d2c; /* your dark blue */
    background-image: url('/wp-content/uploads/2025/11/footer-wave-last.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto; /* or contain, depending on your 2nd wave */
    position: relative;
    overflow: hidden;
}
.text-decoration-none
{
	text-decoration: none;
}

/* This is the main top wave – now truly full-width */
.footer-main-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 260px;
    background-image: url('/wp-content/uploads/2025/11/footer-wave-big-scaled.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
    pointer-events: none;
    z-index: 1;
}

/* Keep all your footer text above the wave */
.footer-main-div > .container,
.footer-main-div > * {
    position: relative;
    z-index: 2;
}
.mega-toggle-animated-box::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #ff002a;
  border-radius: 50%;
}
.mega-toggle-animated-inner::before
{
    width: 30px !important;
}
.mega-toggle-animated-inner, .mega-toggle-animated-inner::before, .mega-toggle-animated-inner::after
{
    background: linear-gradient(90deg, #C0F 0%, #FF002A 100%);
    height: 3px !important;
}

/* Default header style (menu closed) */
.mega-menu-max_mega_menu_1-mobile-open .mega-toggle-animated-box::after
{
    background: transparent;
}
.mega-menu-max_mega_menu_1-mobile-open .header-main-div {
    background-color: #15185b !important; /* or your closed color */
    /*transition: background-color 0.4s ease;*/
}
.mega-menu-max_mega_menu_1-mobile-open .header-main-div .primary-gradient-text
{
	background: linear-gradient(90deg, #FFF 0%, #FFF 100%);
	-webkit-background-clip: text;
}
.mega-menu-max_mega_menu_1-mobile-open .header-main-div .primary-gradient-text a::after
{
	background: linear-gradient(90deg, #FFF 0%, #FFF 100%);
}

.mega-menu-max_mega_menu_1-mobile-open #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner, 
.mega-menu-max_mega_menu_1-mobile-open #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before, 
.mega-menu-max_mega_menu_1-mobile-open #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after
{
	background-color: #fff;
    background: linear-gradient(90deg, #fff 0%, #fff 100%);
}

.custom-logo {
    transition: all 0.4s ease;
}

/* WHEN MOBILE MENU IS OPEN */
body.mega-menu-open .site-header,
body.mega-menu-open .wp-block-group.alignwide.has-base-background-color {
    background-color: #000000 !important; /* ← your open menu background */
    /* or #ffffff for white */
}

.mega-menu-max_mega_menu_1-mobile-open .custom-logo {
    /* Option A: Replace logo with a different image */
    content: url('/wp-content/uploads/2025/11/logo-white.svg'); /* ← put your white/dark logo here */
/*     width: 203px;
  	height: 78px; */
    /* Option B: If you just want to invert colors (SVG only) */
    /* filter: brightness(0) invert(1); */
}

.mega-menu-max_mega_menu_1-mobile-open #mega-menu-max_mega_menu_1
{
    display: flex !important;
}
/* Optional: smoother animation for the toggle button */
.mega-toggle-animated-slider .mega-toggle-bar {
    transition: all 0.3s ease;
}

.exam-list-main-div
{
    display: flex; 
    flex-wrap: wrap; 
    gap: 2rem;
    max-width: 850px;
}

.exam-list-main-inner-div
{
    min-width: 100%;
}

.exam-list-inner-div
{
    background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); display: grid; gap: 20px; grid-template-columns: 2fr 1fr 1fr;
}
.exam-list-heading
{
    margin-top: 0; 
    color: #15185b; 
    margin-bottom: 15px;
    font-size: 20px;
}
.exam-list-text
{
    font-size: 14px;
}
.exam-list-fee-div
{
    display: flex; flex-direction: column; justify-content: center;
}

.exam-list-button-div
{
    display: flex; 
    align-items: center;
}
.exam-list-book-button
{
    display: block; 
    background: #15185b; color: 
    white; text-align: center; 
    padding: 1rem; 
    border-radius: 8px;
    text-decoration: none;
}
.our-vision-page-list-icon li {
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.our-vision-page-list-icon li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background: url('/wp-content/uploads/2025/10/gradient-bullet.svg') no-repeat center center;
  background-size: contain;
}

/* .our-exam-page-banner-section-main-div {
    background-image: url('/wp-content/uploads/2025/12/our-exam-page-banner-wave.svg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 18% !important;
} */
.exam-page-box-gird
{
	grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
  	justify-content: center;
}
.exam-page-box-gird img
{
	max-width: 50px;
}

.contact-form-main-div
{
  background-color: #FBF8F5;
  border-radius: 40px;
  padding: 50px;
  max-width: 470px;
}
.contact-form-main-div input,
.contact-form-main-div textarea {
  width: 100%;
  padding: 12px 20px;
  border-radius: 6px;
  background: #FFF;
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.06);
  border: 0;
  box-sizing: border-box;
}
.contact-form-main-div textarea
{
	height: 100px;
}
.contact-input-field
{
    margin-bottom: 20px;
}
.contact-input-field label
{
    color: var(--wp--preset--color--contrast-2) !important;
}
.contact-input-field input, .contact-input-field textarea
{
    margin-top: 10px;    
}
.contact-input-field input::placeholder, .contact-input-field textarea::placeholder
{
    opacity: .5;
}
.contact-form-main-div input[type="submit"]
{
    width: auto;
    border-radius: 30px;
    color: #FFF;
    margin-bottom: 0;
    font-size: 16px;
    padding: 12px 50px;
    cursor: pointer;
    background-image: linear-gradient(to right, #ff002a, #c0f, #ff002a, #c0f);
  background-size: 300% 100%;
  position: relative;
  background-position: 0% 50%;
  transition: all .2s ease-in-out;
}
.contact-form-main-div input[type="submit"]:hover
{
    background-position: 100% 0;
    transition: all .2s ease-in-out;
}

@media (min-width: 1500px)
{
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item
    {
        max-width: 244px;
    }
}

@media (min-width: 2100px) {
    .home-page-3rd-section-left-image-div
    {
        padding-top: 5%;
    }
}
@media (min-width: 1024px) {
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link  > span.mega-indicator
    {
        display: none;
    }
}
@media (max-width: 1024px) {
    #mega-menu-max_mega_menu_1
    {
        flex-direction: column !important;
        height: auto !important;
        top: 56px !important;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item
    {
        width: 100% !important;
        padding-bottom: 20px !important;
        border-right: 0;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link
    {
        padding-bottom: 10px;
    }
	.custom-logo
    {
        max-width: 150px !important;
    }
    .header-book-an-exam-button-div
    {
        display: none !important;
    }
    .home-page-2nd-section-number-div
    {
        min-width: 15%;
    }
	.our-values-page-banner-section-grid-main-div
	{
		grid-template-columns: 1fr;
	}
	.contact-form-main-div
      {
        padding: 30px !important;
      }
}

@media (max-width: 782px) {
    .header-phone-number
    {
        display: none !important;
    }
    .header-register-button
    {
        display: none !important;
    }
    .header-login-button
    {
        display: none !important;
    }
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item
    {
        max-width: unset;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link
    {
        padding: 0;
    }
    .home-page-banner-section-main-div
    {
        min-height: 850px;
    }
    .home-page-banner-section-main-div::after
    {
        width: 100%;
    }

    .home-page-3rd-section-inner-main-div
    {
        flex-direction: column-reverse;
    }
    .home-page-box-section-main-inner-div
    {
        grid-template-columns: 1fr 1fr;
    }
    .home-page-box-section-main-inner-div > *:nth-child(5) {
        grid-column: 1 / -1;
        /*background-color: #fff;*/
        align-items: center;
    }
    .home-page-box-section-main-inner-div > *:nth-child(5) img
    {
        max-width: 188px;
    }
    .home-examinations-main-box .home-examinations-inner-box
    {
        padding: 5px;
    }
    .custom-footer-grid > *:not(:nth-child(5)) {
        width: 100%;                  /* optional – just to be safe */
    }
    .mobile-d-none
    {
        display: none;
    }
    .mobile-padding-left-0
    {
        padding-left: 0 !important;
    }
    .footer-menu-link-div
    {
        width: 47%;
        padding-bottom: 30px;
        gap: 20px;
    }
    .footer-logo-main-div
    {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .footer-logo-div
    {
        justify-content: start;
    }
    .footer-phone-number-div
    {
        justify-content: start;
    }
    .footer-main-div::before
    {
        top: 40px;
        height: 150px;
    }
    .footer-main-div
    {
        background-size: 60%;
    }
	.exam-box-inner-box
	{
		padding: 20px !important;
	}
	.fade-up-animation,
    .fade-right-animation,
    .fade-left-animation,
    .flip-animation,
    .flip-up-animation,
    .flip-down-animation,
    .flip-left-animation,
    .flip-right-animation {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }
	.contact-form-main-div
	{
		margin-top: 40px !important;
	}
	.contact-form-main-div .contact-input-field-submit p
  {
    margin-bottom: 0;
  }
  .contact-form-main-div input::placeholder
  {
    font-size: 12px;
  }
  .contact-form-main-div textarea::placeholder
  {
    font-size: 12px;
  }
  .contact-form-main-div input[type="submit"]
  {
    font-size: 16px;
  }
  .contact-form-main-div input[type="submit"]:focus
  {
    outline: none;
  }
	
}
@media (max-width: 384px) {
     .footer-main-div::before
     {
        top: 30px;
     }
}


/* Animation CSS */
/* .animate-on-scroll {
    opacity: 0;                    */
    /*transform: translateY(50px);*/
/*     transition: opacity 0.9s ease, transform 0.8s ease; */
    /*will-change: opacity, transform;*/
/* }

.animate-on-scroll.is-visible {
    opacity: 1; */
    /*transform: translateY(0);*/
/* }
.home-page-banner-section-main-div.is-visible::after {
    opacity: 1;
} */

.gradient-hr {
  width: 100%;
  height: 3px;
  border: none;
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

.gradient-hr::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #FD2424 0%, #FB1E76 100%);
  transform: translateX(-50%);
}

.gradient-hr.animate::before {
  animation: growFromCenter 0.8s ease-out forwards;
}

@keyframes growFromCenter {
  to { width: 100%; }
}


.fade-up-animation {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s cubic-bezier(.165,.84,.44,1), transform 1.5s cubic-bezier(.165,.84,.44,1);
    will-change: transform, opacity;
  }

  .fade-up-animation.animated {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up-animation-menu {
    opacity: 0 !important;
    transform: translateY(100px) !important;
    transition: opacity 1.5s cubic-bezier(.165,.84,.44,1), transform 1s cubic-bezier(.165,.84,.44,1)!important;
    will-change: transform, opacity;
  }

  .fade-up-animation-menu.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .fade-right-animation
  {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    transform: translateX(-100px);
    transition: opacity 1.5s cubic-bezier(.165,.84,.44,1), transform 1.5s cubic-bezier(.165,.84,.44,1);
    will-change: transform, opacity;
  }
  .fade-right-animation.animated
  {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-left-animation {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -ms-transform: translateX(100px);
    transform: translateX(100px);
    transition: opacity 1.5s cubic-bezier(.165,.84,.44,1), transform 1.5s cubic-bezier(.165,.84,.44,1);
    will-change: transform, opacity;
  }
  .fade-left-animation.animated {
    opacity: 1;
    transform: translateX(0); 
  }

.flip-animation {
  opacity: 0;
  transition: 
    opacity 1.2s cubic-bezier(.165,.84,.44,1),
    transform 1.2s cubic-bezier(.165,.84,.44,1);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.flip-up-animation {
  opacity: 0;
  transform: perspective(1000px) rotateX(90deg);
}

.flip-up-animation.animated {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg);
}


.flip-down-animation {
  opacity: 0;
  transform: perspective(1000px) rotateX(-90deg);
}

.flip-down-animation.animated {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg);
}


.flip-left-animation {
  opacity: 0;
  transform: perspective(1000px) rotateY(90deg);
}

.flip-left-animation.animated {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}


.flip-right-animation {
  opacity: 0;
  transform: perspective(1000px) rotateY(-90deg);
}

.flip-right-animation.animated {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}

.flip-up-animation,
.flip-down-animation,
.flip-left-animation,
.flip-right-animation {
  backface-visibility: hidden;
}
