body {
  color: #5a5a5a;
}

fieldset legend {
    color: #120a26; /* Deep Space Navy */
    font-weight: 700;
    padding: 0px 5px;
    /*margin-bottom: 1.5rem;*/
    /*border-bottom: 2px solid rgba(62, 32, 109, 0.1); */
    /*padding-bottom: 0.5rem;*/
}
/*.active{*/
/*    color: #b05c36 !important;*/
/*}*/

.navbar-brand img{
    max-height: 70px;
}

/*#mobileSpacer{*/
/*    height: 40px;*/
/*}*/

/*button{*/
/*    color: #b05c36 !important;*/
/*}*/

/*main a{*/
/*    color: #b05c36 !important;*/
/*}*/

/*.btn-secondary{*/
/*    background-color: white;*/
/*}*/

/*.btn-secondary:hover{*/
/*    color: white !important;*/
/*}*/

/*.btn-dark{*/
/*    color: white !important;*/
/*}*/

/*.btn-dark:hover{*/
/*    background-color: white;*/
/*    color: #b05c36 !important;*/
/*}*/

/*.btn-blueoutline{*/
/*    background-color: #343a40;*/
/*    border: 1px solid #ADD8E6 !important;*/
/*    color: #ADD8E6 !important;*/
/*}*/

/*.btn-blueoutline:hover{*/
/*    color: white !important;*/
/*}*/

/* This is the checked state */
/*.custom-control .custom-control-input:checked~.custom-control-label::before,*/
/*.custom-control .custom-control-input:checked~.custom-control-label::after {*/
/*    background-color: #b05c36;*/
/*    border-radius: 50%;*/
/*}*/

/* active state i.e. displayed while the mouse is being pressed down */
/*.custom-control .custom-control-input:active ~ .custom-control-label::before {*/
/*    color: #fff;*/
/*    background-color: #292b2c;*/
/*}*/

/* the shadow; displayed while the element is in focus */
/*.custom-control .custom-control-input:focus ~ .custom-control-label::before {*/
/*    box-shadow: none;*/
/*}*/

/*.custom-control-label::before ,.custom-control-label::after{width:20px; height:20px}*/

/*#columnText100{*/
/*    height: 100px;*/
/*}*/
/*#columnText120{*/
/*    height: 120px;*/
/*}*/
/*#columnText140{*/
/*    height: 140px;*/
/*}*/
/*#columnText160{*/
/*    height: 160px;*/
/*}*/
/*#columnText200{*/
/*    height: 200px;*/
/*}*/

/*@media only screen and (max-width: 991px) {*/
  /* For mobile phones: */
/*  #columnText100{*/
/*    height: auto;*/
/*  }*/
/*  #columnText120{*/
/*    height: auto;*/
/*  }*/
/*  #columnText140{*/
/*    height: auto;*/
/*  }*/
/*  #columnText160{*/
/*    height: auto;*/
/*  }*/
/*  #columnText200{*/
/*    height: auto;*/
/*  }*/
/*}*/

.jumbotron{
    background-color: lightblue !important;
    /*#008b8b */
    /*color: white !important;*/
        /* 1. The Galaxy Fallback Gradient */
    background: linear-gradient(135deg, #3E206D 0%, #120a26 100%);

    /* Text Color */
    color: white;
    
    /* Optional: Adds a text shadow so text pops against the stars */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
/*.jumbotron-inverse{*/
/*    background-color: white !important;*/
/*    color: #5a5a5a !important;*/
/*}*/

#fadein1 {

    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}

#fadein2 {

    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

#fadein3 {

    -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 3s; /* Firefox < 16 */
        -ms-animation: fadein 3s; /* Internet Explorer */
         -o-animation: fadein 3s; /* Opera < 12.1 */
            animation: fadein 3s;
}

@keyframes fadein {
    0% { opacity:0; }
    40% { opacity:0; }
    100% { opacity:1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    0% { opacity:0; }
    40% { opacity:0; }
    100% { opacity:1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    0% { opacity:0; }
    40% { opacity:0; }
    100% { opacity:1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    0% { opacity:0; }
    40% { opacity:0; }
    100% { opacity:1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    0% { opacity:0; }
    40% { opacity:0; }
    100% { opacity:1; }
}

/* Centre align the text within the three columns */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing .col-lg-6 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
.marketing .col-lg-6 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

/* Featurettes
------------------------- */


/* Thin out the marketing headings */
/*.featurette-heading {*/
/*  font-weight: 300;*/
/*  line-height: 1;*/
/*  letter-spacing: -.05rem;*/
/*}*/


/* RESPONSIVE CSS
-------------------------------------------------- */

/*@media (min-width: 40em) {*/

/*  .featurette-heading {*/
/*    font-size: 50px;*/
/*  }*/
/*}*/

/*@media (min-width: 62em) {*/
/*  .featurette-heading {*/
/*    margin-top: 7rem;*/
/*  }*/
/*}*/

/*.width-auto {*/
/*    width: auto;*/
/*}*/

/*.text-lg {*/
/*    font-size: 2rem;*/
/*    color: #ADD8E6;*/
/*}*/

/*.carousel-indicators li {*/
/*    border: none;*/
/*    background: #ccc;*/
/*}*/

/*.carousel-indicators li.active {*/
/*    background: #ADD8E6;*/
/*}*/

/*NEW - index*/
/* --- NEBULA CARD STYLING --- */

.nebula-card {
    /* Subtle Gradient Background */
    background: linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Default Shadow */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy Physics */
    top: 0;
}

/* The "Horizon Bar" at the top of the card */
.nebula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    /* Your Cosmic Gradient */
    background: linear-gradient(90deg, #9d6bb5 0%, #3b8c9d 100%); 
    opacity: 0.7;
    transition: height 0.3s ease, opacity 0.3s ease;
}

/* HOVER STATE: The Lift and Glow */
.nebula-card:hover {
    top: -10px; /* Physical Lift */
    box-shadow: 0 20px 40px rgba(62, 32, 109, 0.15); /* Purple Shadow */
}

.nebula-card:hover::before {
    height: 8px; /* Bar gets slightly thicker */
    opacity: 1;
}

/* --- IMAGE GLOW EFFECT --- */
.img-glow-wrapper img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    /* Subtle initial glow */
    box-shadow: 0 0 0 rgba(62, 32, 109, 0); 
    border: 4px solid #fff; /* Clean white ring */
}

.nebula-card:hover .img-glow-wrapper img {
    transform: scale(1.1); /* Zoom in */
    /* Intense Galaxy Glow behind image */
    box-shadow: 0 0 30px rgba(157, 107, 181, 0.5); 
    border-color: #f4eef9;
}

/* --- TYPOGRAPHY --- */
.service-title {
    color: #3E206D;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.service-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- COSMIC PILL BUTTON --- */
.btn-cosmic-pill {
    background: #fff;
    color: #3E206D !important;
    border: 2px solid #3E206D;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-cosmic-pill:hover {
    background: linear-gradient(90deg, #9d6bb5 0%, #3b8c9d 100%);
    border-color: transparent;
    color: white !important;
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.3);
    transform: translateY(-2px);
}

/*NEW - nav*/
/* --- GALAXY NAVBAR (LIGHT VERSION) --- */

/* Remove the purple gradient background, let Bootstrap bg-light handle it */
.galaxy-nav {
    box-shadow: 0 4px 20px rgba(62, 32, 109, 0.1) !important; /* Soft purple shadow */
}

.galaxy-nav .navbar-brand img {
    /*max-height: 50px;*/
    width: auto;
    /* Optional: Blend mode helps if the logo white isn't perfect */
    /*mix-blend-mode: multiply; */
}

/* Navigation Links - Dark Text for Light Background */
.galaxy-nav .nav-link {
    color: #5a5a5a !important; /* Dark Grey */
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

/* Hover & Active States - Galaxy Purple */
.galaxy-nav .nav-link:hover,
.galaxy-nav .nav-link.active {
    color: #3E206D !important; /* Galaxy Purple */
}

/* Active Link Indicator (Purple Underline) */
.galaxy-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: #3E206D; /* Purple Line */
    border-radius: 2px;
}

/* Dropdown Menu Styling (Kept the same, just ensured it pops) */
.galaxy-nav .dropdown-menu {
    border: 1px solid rgba(62, 32, 109, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(62, 32, 109, 0.15);
    padding: 0.5rem 0;
    margin-top: 10px;
    background-color: #fff;
}

/* The little triangle tip for the dropdown */
@media (min-width: 992px) {
    .galaxy-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 20px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-top: 1px solid rgba(62, 32, 109, 0.1);
        border-left: 1px solid rgba(62, 32, 109, 0.1);
        transform: rotate(45deg);
        border-radius: 2px;
    }
}

.galaxy-nav .dropdown-item {
    color: #5a5a5a;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    transition: all 0.2s;
}

.galaxy-nav .dropdown-item:hover,
.galaxy-nav .dropdown-item:active {
    background-color: #f4eef9; /* Soft Lavender */
    color: #3E206D;
    padding-left: 1.8rem;
    padding-right: 1.2rem;
}

.galaxy-nav .dropdown-item.active {
    background-color: #3E206D;
    color: white !important;
}

/* Loading Spinner Color */
.nav-spinner {
    color: #3E206D; /* Make spinner purple */
}


/* --- MOBILE DROPDOWN ANIMATION FIX --- */

/* Only apply this on mobile screens */
@media (max-width: 991px) {
    
    /* Wrapper for the brand/toggler to ensure they shrink correctly on desktop but expand on mobile */
    .w-lg-auto {
        width: 100%;
    }

    .galaxy-nav .galaxy-mobile-dropdown {
        display: block; 
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        padding: 0;
        border: none;
        transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease;
    }

    /* 2. Set the Open State */
    /* UPDATED SELECTOR: Added .mobile-expanded */
    .galaxy-nav .galaxy-mobile-dropdown.show,
    .galaxy-nav .galaxy-mobile-dropdown.mobile-expanded {
        max-height: 500px; /* Open state */
        opacity: 1;
        padding: 0.5rem 0; 
    }
}

/* Reset for Desktop */
@media (min-width: 992px) {
    .w-lg-auto {
        width: auto;
    }
}

/*NEW - teestimonials*/

/* --- 1. TESTIMONIAL CARD BASE (The Purple Gradient) --- */
.testimonial-card {
    /* This is the missing piece! */
    background: linear-gradient(135deg, #3E206D 0%, #120a26 100%);
    border: none;
    border-radius: 20px !important;
    color: white; /* Ensures text is white */
}

/* Large Background Watermark Icon */
.quote-watermark {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 10rem;
    color: #ffffff;
    opacity: 0.03; /* Very faint */
    transform: rotate(10deg);
    pointer-events: none;
}

/* Helper color for small quotes */
.text-galaxy-light {
    color: #bca2d6; /* Light lavender */
}

/* --- 2. NAVIGATION BUTTONS (PLANETS) --- */
.nav-planet {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Critical for mobile */
    min-height: 50px;
    
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-planet i {
    font-size: 1.5rem;
    color: white;
}

/* Hover Effects */
.carousel-control-prev:hover .nav-planet,
.carousel-control-next:hover .nav-planet {
    background: #fff;
    color: #3E206D;
    transform: scale(1.1);
    border-color: #fff;
}

.carousel-control-prev:hover .nav-planet i,
.carousel-control-next:hover .nav-planet i {
    color: #3E206D;
}

/* --- 3. POSITIONING (Fixing the Edge Overlap) --- */
/* Desktop: Move comfortably inside */
.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }

/* Mobile/Tablet Adjustments */
@media (max-width: 768px) {
    .nav-planet {
        width: 40px; height: 40px;
        min-width: 40px; min-height: 40px; 
    }
    
    .nav-planet i { font-size: 1.2rem; }

    /* Move them in so they don't touch the edge of the purple box */
    .carousel-control-prev { left: 10px; }
    .carousel-control-next { right: 10px; }
}

/* --- 4. TEXT PADDING (Prevent Text Overlapping Buttons) --- */
.testimonial-content-wrapper {
    padding-left: 5rem;
    padding-right: 5rem;
}

@media (max-width: 768px) {
    .testimonial-content-wrapper {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* --- 5. "READ FULL" BUTTON (Matching Homepage Style) --- */
.btn-cosmic-pill {
    background: #fff;
    color: #3E206D;
    border: 2px solid #3E206D;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-cosmic-pill:hover {
    background: linear-gradient(90deg, #9d6bb5 0%, #3b8c9d 100%);
    border-color: transparent;
    color: white !important;
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- 6. DOT INDICATORS --- */
.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 25px; /* Stretch the active dot slightly */
    border-radius: 10px;
    background-color: #fff;
}

/* --- 7. FIX Z-INDEX FOR CLICKING --- */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10 !important; 
    opacity: 1; 
    width: 5%; 
}
/* --- MOBILE COMPACTION FIX --- */
@media (max-width: 576px) {
    /* 1. Shrink Quote Text & Line Height */
    .carousel-item p {
        font-size: 1rem !important; /* Smaller text */
        line-height: 1.5 !important;   /* Tighter spacing between lines */
        margin-bottom: 0.7rem !important; /* Less gap before the author name */
    }
    
    /* 2. Tighten the Author Name area */
    .blockquote-footer {
        margin-top: 0.5rem !important;
    }
    
    /* 3. Reduce the "Read Full Testimonials" button margin */
    .btn-cosmic-pill {
        padding: 0.5rem 1.5rem; /* Slightly smaller button */
        font-size: 0.9rem;
    }
}

/*NEW - 11 mock tests*/

    /* 1. Card Container */
    .accordion-style-1 .card {
        border: none;
        border-radius: 8px;
        margin-bottom: 12px;
        /* Galaxy Purple Shadow */
        box-shadow: 0 2px 15px rgba(62, 32, 109, 0.15); 
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .accordion-style-1 .card-header {
        background-color: #fff;
        border-bottom: 0;
        padding: 0;
    }

    /* 2. The Button Text (Default State - CLOSED) */
    /* Added !important to force override of orange */
    .accordion-style-1 .btn-link {
        color: #120a26 !important; /* Deep Space Navy */
        text-decoration: none;
        width: 100%;
        text-align: left;
        padding: 1.25rem 1.5rem;
        font-weight: 600;
        font-size: 1.05rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    /* 3. Hover State */
    .accordion-style-1 .btn-link:hover {
        color: #3E206D !important; /* Galaxy Purple */
        background-color: #fbf8fd; /* Very faint purple tint */
    }

    /* 4. Active State - OPEN */
    .accordion-style-1 .btn-link[aria-expanded="true"] {
        color: #3E206D !important; /* Galaxy Purple */
        background-color: #f4eef9; /* Soft Lavender tint */
        border-left: 4px solid #3E206D; /* Galaxy Purple Border */
    }

    /* 5. The Icon (Chevron) */
    .accordion-style-1 .icon-chevron {
        width: 24px !important;
        height: 24px !important;
        transition: transform 0.3s ease;
        opacity: 0.5;
        stroke: #120a26; /* Default dark stroke */
    }

    /* Icon when open */
    .accordion-style-1 .btn-link[aria-expanded="true"] .icon-chevron {
        transform: rotate(180deg);
        opacity: 1;
        stroke: #3E206D; /* Galaxy Purple when open */
    }

    /* 6. Content Styling */
    .accordion-style-1 .card-body {
        padding: 1.5rem;
        background-color: #fff;
        line-height: 1.7;
        color: #4a4a4a;
    }

    .accordion-style-1 ul li {
        margin-bottom: 0.5rem;
    }
    ul li {
        margin-bottom: 0.5rem;
    }
    
    /* Fix: Prevent Icon Wrap on long titles */
.accordion-style-1 .btn-link {
    /* Existing properties... */
    display: flex; /* Already set, but good to confirm */
    justify-content: space-between; /* Already set */
    align-items: flex-start; /* Align title text to the top if it wraps */
    text-align: left;
    width: 100%;
    /* New: Ensure the text content can shrink, but the icon remains a fixed block */
}

/* Fix: The Text Container must be allowed to shrink, but not the icon */
.accordion-style-1 .btn-link h5 {
    /* Ensure the H5 title is the main flexible element */
    flex-grow: 1; 
    flex-shrink: 1;
    margin-right: 10px; /* Add some space between text and icon */
    margin-bottom: 0; /* Bootstrap H5 often has bottom margin */
    /* If the icon is still moving, we ensure the text doesn't wrap the icon */
}

/* Fix: Ensure the icon is a fixed-size element */
.accordion-style-1 .icon-chevron {
    flex-shrink: 0; /* CRITICAL: Prevent the icon from being squeezed */
    width: 24px;
    height: 24px;
    align-self: flex-start; /* Align icon to the top if the text wraps */
}

/* Default Link State */
.galaxy-link {
    color: #3E206D !important; /* Galaxy Purple */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Hover State */
.galaxy-link:hover {
    color: #120a26 !important; /* Deep Space Navy */
    text-decoration: underline;
}

/* Focus State (for accessibility) */
.galaxy-link:focus {
    outline: 2px solid #3E206D;
    outline-offset: 2px;
}

/* Custom Class Definition */
.border-md-right {
    /* Hide by default (for mobile/small screens) */
    border-right: none !important; 
}

/* Show the border on medium screens and up */
@media (min-width: 768px) {
    .border-md-right {
        /* Set the desired border style */
        border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
}
    /* 1. Base Card Styling */
    .ticket-card {
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(0,0,0,0.05); /* Light default border */
        border-radius: 12px;
        background: #fff;
        height: 100%;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    /* Card Hover State (Elevate and Glow) */
    .ticket-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(62, 32, 109, 0.2) !important; /* Purple Glow Shadow */
        border-color: #3E206D; /* Galaxy Purple Border */
    }

    /* 2. Header Styling (Galaxy Purple Banner) */
    .ticket-header {
        /*background-color: #3E206D; */
        background-image: linear-gradient(45deg, var(--cosmic-dark) 0%, var(--cosmic-end) 250%);
        color: white;
        padding: 1.25rem;
        text-align: center;
        position: relative;
        transition: background-color 0.3s ease;
    }

    /* "Ticket Notch" Effect */
    .ticket-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 20px;
        background-color: #fff;
        border-radius: 50%;
    }

    /* 3. Body Styling */
    .ticket-body {
        flex-grow: 1;
        padding: 2rem 1.5rem;
        text-align: center;
        transition: background-color 0.3s ease;
    }
    
    /* Horizontal Rule (Divider) */
    .ticket-body hr {
        border-color: #3E206D !important; /* Galaxy Purple Divider */
        opacity: 0.3;
    }

    .info-row {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.75rem;
        color: #6c757d;
        font-size: 0.95rem;
    }

    .date-highlight {
        font-size: 1.4rem;
        font-weight: 700;
        color: #120a26; /* Deep Space Navy Text */
        display: block;
        margin-bottom: 0.5rem;
    }

    .ticket-footer {
        background-color: #f8f9fa;
        padding: 1rem;
        border-top: 1px dashed #ddd;
    }

    /* 4. Active Selection State (When Card is Booked) */
    
    .js-card-selector {
        cursor: pointer;
    }

/* Header change on selection */
.js-card-selector.is-selected .ticket-header {
    background-color: #2a154c !important; /* Darker Deep Space Purple */
}

/* Body background change on selection */
.js-card-selector.is-selected .ticket-body {
    background-color: #f8f4fc !important; /* Light Lavender Background */
}

/* Label text color change on selection (This one still works as the label is a sibling!) */
.custom-control-input:checked ~ .custom-control-label {
    color: #3E206D !important; /* Galaxy Purple Text */
}

/* 5. Custom Checkbox Overrides (HIGH SPECIFICITY to beat your main CSS) */

/* Force Background/Border of the box itself */
.ticket-card .custom-control .custom-control-input:checked ~ .custom-control-label::before,
.ticket-card .custom-control .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #3E206D !important; /* Galaxy Purple */
    border-color: #3E206D !important;
}

/* Force Focus Ring Color */
.ticket-card .custom-control .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(62, 32, 109, 0.25) !important;
    border-color: #3E206D !important;
}

/* Force Active State (while mouse button is down) */
.ticket-card .custom-control .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    background-color: #3E206D !important;
    border-color: #3E206D !important;
}

    /* Style the Divider */
.form-section-divider {
    border-top: 2px solid #3E206D !important; /* Galaxy Purple Solid Line */
    opacity: 0.5;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Style the Inputs (Text/Date) */
.form-control {
    border: 1px solid rgba(0,0,0,0.15); /* Light, subtle border */
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus State: Galaxy Purple Glow */
.form-control:focus {
    border-color: #3E206D; /* Galaxy Purple border */
    /* Subtle box-shadow glow */
    box-shadow: 0 0 0 0.2rem rgba(62, 32, 109, 0.25); 
}

/* Invalid State: Use a softer red/pink that fits the theme if possible, or standard red */
/*.form-control:invalid:not(:focus) {*/
/*    border-color: #dc3545;*/
/*}*/

/* Header Styling */
.form-group h2, .form-group h3 {
    color: #120a26; /* Deep Space Navy */
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(62, 32, 109, 0.1); /* Subtle underline */
    padding-bottom: 0.5rem;
}

/* Labels */
label {
    font-weight: 600;
    color: #4a4a4a;
}

/* Radio Button Circle - Default State */
.custom-radio .custom-control-input ~ .custom-control-label::before {
    border-color: #3E206D;
}

/* This is the checked state */
.custom-control .custom-control-input:checked~.custom-control-label::before,
.custom-control .custom-control-input:checked~.custom-control-label::after {
    background-color: #3E206D !important; /* Galaxy Purple fill */
    border-color: #3E206D !important;
}


/* Radio Button Focus Glow */
.custom-radio .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(62, 32, 109, 0.25) !important;
    border-color: #3E206D !important;
}

/* BUTTON COLORS */
/* Nebula Colors: We'll use a vibrant magenta-purple and a contrasting cyan/blue. */
:root {
    --cosmic-start: #9d6bb5; /* Light purple/magenta */
    --cosmic-end: #3b8c9d; /* Teal/Cyan */
    --cosmic-dark: #3E206D; /* Your Galaxy Purple */
}

/* Base Button Style */
.btn-cosmic {
    /* Gradient Background */
    background-image: linear-gradient(90deg, var(--cosmic-dark) 0%, var(--cosmic-end) 100%);
    color: white !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    /* The glow effect (shadow) */
    box-shadow: 0 0 15px rgba(157, 107, 181, 0.7); 
    transition: all 0.3s ease;
}

/* Hover State (Make it darker and intensify the glow) */
.btn-cosmic:hover,
.btn-cosmic:focus {
    color: white;
    /* Darken the gradient slightly on hover for visual feedback */
    background-image: linear-gradient(90deg, var(--cosmic-start) 0%, var(--cosmic-end) 120%);
    /* Intensify the glow on hover */
    box-shadow: 0 0 25px rgba(157, 107, 181, 0.9), 0 0 5px rgba(59, 140, 157, 0.5); 
    transform: translateY(-1px);
}

/* Ensure the text remains visible and doesn't get messed up by Bootstrap's text color rules */
.btn-cosmic:hover, .btn-cosmic:active, .btn-cosmic:focus {
    color: white !important;
}

/* Style the spinner inside the button */
.btn-cosmic .spinner-border {
    border-color: rgba(255, 255, 255, 0.4);
    border-right-color: white; /* Make the spinner animation bright white */
}

/*NEW - testimonials*/
/* --- STATIC TESTIMONIAL CARD STYLES --- */

.testimonial-static-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    
    /* The "Spine" - A purple bar on the left */
    border-left: 6px solid #3E206D; 
}

/* Hover Effect: Lift and Glow */
.testimonial-static-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(62, 32, 109, 0.15) !important;
    border-color: rgba(62, 32, 109, 0.1);
}

/* Typography */
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5a5a;
    font-weight: 400;
}

.quote-icon {
    color: #3E206D; /* Galaxy Purple Quote Mark */
    opacity: 0.3; /* Subtle */
    font-size: 1.2rem;
    vertical-align: top;
}

.galaxy-text {
    color: #3E206D;
    font-style: normal;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .testimonial-static-card {
        padding: 1.5rem;
        text-align: center; /* Center align on mobile for better look */
        border-left: none; /* Remove side border on mobile */
        border-top: 6px solid #3E206D; /* Move border to top on mobile */
    }
    
    .testimonial-text {
        text-align: center !important;
    }
    
    .blockquote-footer {
        text-align: center !important;
    }
}

/*NEW - books*/

/* --- BOOK CARD STYLES --- */

.book-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}

.book-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    overflow: hidden;
}

/* Lift Effect on Hover */
.book-card-link:hover .book-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.15) !important;
    border-color: rgba(62, 32, 109, 0.3);
}

/* Image Container - Keeps books aligned */
.book-img-wrapper {
    background: #f8f9fa;
    height: 220px; /* Fixed height for visual consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.book-cover-img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    /* Add a subtle shadow to the book cover itself so it pops */
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2); 
    object-fit: contain;
    transition: transform 0.3s ease;
}

.book-card-link:hover .book-cover-img {
    transform: scale(1.05);
}

.book-title {
    color: #3E206D; /* Galaxy Purple */
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.book-info {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Small "View" Button */
.btn-book-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3E206D;
    background: #f4eef9;
    border-radius: 50px;
    padding: 0.25rem 1rem;
    margin-top: auto; /* Pushes button to bottom */
}

/*NEW - directory*/

/* --- DIRECTORY SECTION STYLES --- */

/* Overall Section Spacing */
.directory-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
    padding-bottom: 3rem !important;
}

/* Individual Card Styling */
.directory-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 0 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.15) !important;
}

/* Icon Sizing (Keep it large and centered) */
.directory-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 1.5rem 0 1rem;
}

/* Typography */
.directory-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3E206D; /* Galaxy Purple */
    margin-bottom: 0.5rem;
}

.directory-desc {
    color: #6c757d;
    padding: 0 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Link Button (Reusing the 'Cosmic Pill' Style) */
.btn-directory-link {
    /* Base style */
    background: #fff;
    color: #3E206D;
    border: 2px solid #3E206D;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-directory-link:hover {
    /* Hover effect */
    background: linear-gradient(90deg, #9d6bb5 0%, #3b8c9d 100%);
    border-color: transparent;
    color: white !important;
    box-shadow: 0 5px 15px rgba(62, 32, 109, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- GALAXY FOOTER STYLES --- */

/* 1. Typography & Links */
.footer-heading {
    color: #dcd0ea; /* Light Lavender (Readable on dark bg) */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-galaxy-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-galaxy-link:hover {
    color: #bca2d6 !important; /* Brighter Lavender on hover */
    text-shadow: 0 0 10px rgba(62, 32, 109, 0.5);
    padding-left: 5px; /* Subtle movement */
}

/* 2. Icons */
.icon-galaxy {
    color: #bca2d6; /* Light Lavender */
    margin-right: 10px;
}

/* 3. AWARD CARDS (Dark Theme Variant) */
.award-card {
    background-color: #2b3035; /* Slightly darker than footer for contrast */
    border: none;
    border-radius: 12px;
    border-left: 4px solid #3E206D; /* Galaxy Purple Spine */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.award-card:hover {
    transform: translateY(-5px);
    /* Purple Glow Shadow */
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.2); 
    border-left-color: #bca2d6; /* Spine lights up */
}

/* Award Text */
.award-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}

.award-subtitle {
    color: #adb5bd; /* Bootstrap muted grey */
    font-style: italic;
    font-size: 0.9rem;
}

.award-footer-text {
    color: #6c757d;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Image handling in cards */
.award-img-wrapper {
    padding: 1rem;
    background: #fff; /* Keep image bg white so logos look correct */
    border-radius: 8px;
    margin: 10px;
}

/* --- GALAXY FOOTER STYLES --- */

/* Main Footer Container */
.footer-galaxy-section {
    background-color: #343a40 !important; /* bg-dark */
    color: #f8f9fa !important; /* text-light */
    padding-top: 3rem;
    /* This creates the "infinite" grey background effect at the bottom */
    box-shadow: 0 50vh 0 50vh #343a40; 
}

/* Headings */
.footer-heading {
    color: #dcd0ea; /* Light Lavender */
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- THE BRAND BLOCK (Mobile Center vs Desktop Indent) --- */
.footer-brand-block {
    /* Mobile Default: No border, no padding, text aligns with parent center */
    border-left: none;
    padding-left: 0;
}

@media (min-width: 768px) {
    .footer-brand-block {
        /* Desktop: Add the Galaxy Purple spine and padding */
        border-left: 2px solid #3E206D;
        padding-left: 1rem;
        text-align: left; 
    }
}

.footer-brand-name {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand-bio {
    font-size: 80%; /* Equivalent to .small */
    color: rgba(255, 255, 255, 0.5); /* text-white-50 */
    line-height: 1.6;
}

/* Links */
.footer-galaxy-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-galaxy-link:hover {
    color: #bca2d6 !important;
    text-shadow: 0 0 10px rgba(62, 32, 109, 0.5);
    padding-left: 5px;
}

.icon-galaxy {
    color: #bca2d6;
    margin-right: 10px;
}

/* Separators */
.footer-legal-separator {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
}

.footer-copyright-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Award Card Styles (From previous step) */
.award-card {
    background-color: #2b3035;
    border: none;
    border-radius: 12px;
    border-left: 4px solid #3E206D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(62, 32, 109, 0.2); 
    border-left-color: #bca2d6;
}
.award-title { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.award-subtitle { color: #adb5bd; font-style: italic; font-size: 0.9rem; }
.award-footer-text { color: #6c757d; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.award-img-wrapper { padding: 1rem; background: #fff; border-radius: 8px; margin: 10px; }

.hover-card { transition: transform 0.2s; }
.hover-card:hover { transform: translateY(-3px); }

.whylist {
    display: flex;
    align-items: flex-start;
}

.whylist i.fa {
    margin-right: 0.5rem;
    flex-shrink: 0;
}