/* =========== VARIABLES =========== */
@import url(./variable.css);
@import url("https://fonts.googleapis.com/css?family=Montserrat");

/* =========== RESET =========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.title-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.title-wrapper h2 {
    font-size: 40px;
    white-space: nowrap;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    font: inherit;
}

img,
span,
a,
ion-icon {
    display: block;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

html {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--red-orange-color-wheel);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ultramarine-blue);
}

/* =========== COMPONENT =========== */

.btn {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    font-weight: var(--fw-5);
    border-radius: 8px;
    color: var(--white);
    padding: 20px 45px;
    text-transform: uppercase;
    overflow: hidden;
}

.btn .btn-text {
    position: relative;
    z-index: 5;
}

.btn-primary,
.btn-secondary .square {
    background: var(--red-orange-color-wheel);
}

.btn .square {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: var(--default-transition);
}

.btn:hover .square {
    right: -2px;
    width: 102%;
    height: 102%;
}

.btn-primary .square,
.btn-secondary {
    background: var(--oxford-blue);
}

/* =========== REUSED CSS =========== */

.section-subtitle {
    color: var(--ultramarine-blue);
    font-weight: var(--fw-7);
    text-transform: uppercase;
}

.section-text {
    color: var(--sonic-silver);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    line-height: 1.6;
}

.section-title {
    font-size: var(--fs-2);
    font-weight: var(--fw-8);
    color: var(--oxford-blue);
    line-height: 1.3;
}

/* Locations Grid Section */
/* Locations Grid Section - 5 Columns with Proper Margins */
.locations-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    width: 100%;
}

.locations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    /* Maintain proper left-right margins */
}

.locations-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0062ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.locations-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    padding: 0 20px;
}

/* 5-column grid with proper spacing */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    /* Good spacing between cards */
    perspective: 1000px;
    width: 100%;
}

/* Compact cards with proper margins */
.location-card {
    background: white;
    border-radius: 10px;
    padding: 15px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Simple hover effect without hiding */
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 98, 255, 0.15);
    border-color: #0062ff;
}

.location-icon {
    font-size: 20px;
    color: #0062ff;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.2);
    color: #00d4ff;
}

.location-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover .location-name {
    color: #0062ff;
}

/* Responsive design maintaining margins */
@media (max-width: 1400px) {
    .locations-container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .locations-container {
        padding: 0 25px;
    }

    .locations-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .locations-section {
        padding: 40px 0;
    }

    .locations-container {
        padding: 0 20px;
    }

    .location-card {
        padding: 12px 8px;
        min-height: 85px;
    }

    .location-name {
        font-size: 0.9rem;
    }

    .location-icon {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .locations-container {
        padding: 0 15px;
    }

    .locations-title {
        font-size: 1.8rem;
    }

    .locations-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .location-card {
        min-height: 80px;
        max-width: 300px;
        margin: 0 auto;
        width: 100%;
    }
}

/* =========== FOOTER =========== */
.footer-logo img {
    width: 60px;
    /* adjust size */
    height: 60px;
    /* make it square */
    border-radius: 50%;
    /* makes it circular */
    object-fit: cover;
    /* keeps image ratio and crops excess */
    border: 2px solid #fff;
    /* optional border */
}

.footer-profile {
    display: flex;
    align-items: center;
}

.footer-text {
    margin-left: 10px;
    text-align: justify;
    margin-bottom: 5px;
    max-width: 100%;
    /* full width in container */
    font-size: 14px;
    /* adjust size */
    line-height: 1.4em;
    /* controls line spacing */
}

@media (max-width: 768px) {

    /* tablet */
    .footer-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    /* mobile */
    .footer-text {
        font-size: 12px;
    }
}

.footer-name {
    font-weight: bold;
    font-size: 16px;
    margin-top: 10%;
}

.footer-role {
    font-size: 14px;
    color: gray;
}

/* =========== MAIN =========== */

.container {
    background: var(--white);
    max-width: 1440px;
    margin: auto;
    overflow: hidden;
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 1440px !important;
    background: hsla(0, 0%, 100%, 0.9) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px var(--px) !important;
    /* Reduced from 10px to 6px */
    height: 100px !important;
    /* Fixed smaller height */
    box-shadow: 0 10px 20px -5px hsla(0, 0%, 8%, 0.03) !important;
    z-index: 100 !important;
}

.navbar-nav {
    position: absolute;
    background: var(--white);
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px -5px hsla(0, 0%, 8%, 0.25);
    padding: 20px 0;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0);
    pointer-events: none;
    transition: var(--default-transition);
}

.nav-item a {
    padding: 15px;
    font-size: var(--fs-5);
    font-weight: var(--fw-6);
    font-family: 'Montserrat', sans-serif;
    color: var(--oxford-blue);
    transition: var(--default-transition);
}

.nav-item:not(:last-child) a {
    border-bottom: 1px solid hsla(0, 0%, 8%, 0.1);
}

.nav-item a:hover {
    color: var(--red-orange-color-wheel);
    background: hsla(0, 0%, 98%, 1);
}

.navbar-nav.active {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: all;
}



.navbar .btn {
    display: none;
}

.nav-toggle-btn {
    background: var(--red-orange-color-wheel);
    width: 44px;
    /* Slightly smaller toggle */
    height: 26px;
    /* Slightly smaller toggle */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav-toggle-btn span {
    background: var(--white);
    width: 26px;
    height: 2px;
    transition: var(--default-transition);
}

.nav-toggle-btn.active .one {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle-btn.active .two {
    display: none;
}

.nav-toggle-btn.active .three {
    transform: rotate(-45deg) translate(2px, -2px);
}


/* =========== HOME =========== */

.home {
    position: relative;
    margin-top: 70px;
    padding: var(--py) var(--px);
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -400px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #0062ff4d, transparent 70%);
}

.home::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -400px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, hsla(15, 100%, 55%, 0.3), transparent 70%);
}

.home .deco-shape {
    position: absolute;
}

.home .shape-1 {
    top: 14%;
    left: 8%;
}

.home .shape-2 {
    top: 600px;
    left: 30px;
}

.home .shape-3 {
    top: 25%;
    right: 0;
}

.home .shape-4 {
    top: 570px;
    right: 110px;
}

.home-left {
    margin-bottom: 60px;
}

.home-left,
.home-right {
    position: relative;
    z-index: 10;
}

.home .section-subtitle {
    text-align: center;
    margin-bottom: 25px;
}

.main-heading {
    color: var(--oxford-blue);
    font-size: var(--fs-1);
    font-weight: var(--fw-9);
    line-height: 1.2;
    margin-bottom: 48px;
    text-align: center;
}

.underline-img {
    display: inline-block;
    position: relative;
}

.typing-container {
    position: relative;
    height: 1.2em;
    display: flex;
    align-items: center;
}

/* 👇 This creates a hidden "ghost" that keeps space reserved */
.typing-container::before {
    content: "Greatness";
    /* Longest word */
    visibility: hidden;
    display: block;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.arrow {
    margin-left: 8px;
    /* Moves arrow to the right */
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    list-style: none;
    width: 240px;
    top: 100%;
    left: 0;
    border-radius: 5px;
}

.dropdown-menu li {
    padding: 8px 12px;
}

.dropdown-menu li a {
    color: black;
    display: flex;
    justify-content: center;
    /* Align text and arrow */
    align-items: center;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Submenu Styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Align text and arrow */
}

.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: white;
    list-style: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 240px;
}

/* Show submenu on hover */
.dropdown-submenu:hover .submenu {
    display: block;
}

@media screen and (max-width: 768px) {
    .dropdown-toggle {
        display: block;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    .dropdown-toggle .arrow {
        display: inline-block;
        margin-left: 5px;
    }
}

.typing-animation::after {
    content: "";
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid black;
    position: absolute;
    left: 0;
    top: 0;
    animation: typing 6s steps(1, end) infinite, blinkCursor 0.5s step-end infinite;
}


.underline-img img {
    position: absolute;
    bottom: -5px;
    /* adjust */
    left: 0;
    width: 100%;
}

/* Keyframes: keep yours as-is */


.home .section-text {
    max-width: 500px;
    text-align: justify;
    margin: auto;
    margin-bottom: 30px;
}

.home-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.home-right .img-box {
    position: relative;
}

.home-right .img-box img {
    position: absolute;
}

.home-right .img-box .banner-img {
    position: relative;
    width: auto;
    max-width: 100%;

    margin: auto;
}

.home-right .background-shape {
    width: auto;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    /* z-index: 1; */
}

.home-right .icon-1 {
    top: 200px;
    left: 20px;
}

.home-right .icon-2,
.home-right .icon-3 {
    display: none;
}

.home-right .icon-4 {
    top: 60px;
    right: 20px;
    filter: drop-shadow(0 8px 30px hsla(350, 100%, 68%, 0.5));
}

.icon-1,
.icon-2,
.icon-3,
.icon-4 {
    filter: drop-shadow(0 10px 20px hsla(0, 0%, 0%, 0.2));
    z-index: 5;
}

/* =========== COURSE CATEGORY =========== */
.category {
    padding: var(--py) var(--px);
}

.category .section-subtitle {
    text-align: center;
    margin-bottom: 15px;
}

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

.category .course-item-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.course-category-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid hsl(0, 0%, 67%);
    border-radius: 8px;
    padding: 25px;
    transition: var(--default-transition);
}

.course-category-item:hover {
    background: var(--red-orange-color-wheel);
    border-color: var(--red-orange-color-wheel);
    box-shadow: 0 10px 50px -20px var(--red-orange-color-wheel);
}

.category-icon {
    width: 50px;
}

.category-icon.hover,
.course-category-item:hover .category-icon.default {
    display: none;
}

.category-icon.default,
.course-category-item:hover .category-icon.hover {
    display: block;
}

.category-title a {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
}

.category-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--sonic-silver);
    font-size: var(--fs-6);
}

.course-category-item:hover .category-title a,
.course-category-item:hover .category-subtitle {
    color: var(--white);
}

/* =========== Form =========== */
/* =========== Form =========== */
.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-header h2 {
    margin: 0;
}

.quote-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.quote-image {
    flex: 1 1 350px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.quote-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.quote-form {
    flex: 1 1 350px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 35px;
    border-radius: 16px;
    color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #0062ff);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.quote-form h2 {
    margin-bottom: 10px;
    color: #1e293b;
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    background: linear-gradient(90deg, #0062ff, #0062ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-form p {
    font-size: 15px;
    margin-bottom: 25px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    outline: none;
    font-size: 15px;
    background: white;
    color: #334155;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0062ff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 45px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.submit-btn {
    background: linear-gradient(135deg, #0062ff 0%, #6397ea 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::after {
    left: 100%;
}

.error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

.contact-number a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50px;
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #bae6fd;
}

.contact-number a:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.1);
}

.contact-number img {
    width: 24px;
    height: 24px;
    filter: hue-rotate(180deg) saturate(1.5);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .quote-section {
        padding: 15px;
        gap: 30px;
    }

    .quote-form {
        padding: 25px;
    }

    .quote-form h2 {
        font-size: 24px;
    }

    .submit-btn {
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .quote-form {
        padding: 20px;
        border-radius: 12px;
    }

    .quote-form h2 {
        font-size: 22px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-number a {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* =========== ABOUT =========== */

.about {
    padding: var(--py) var(--px);
    background: var(--cultured);
    overflow: hidden;
}

.about-left .img-box {
    position: relative;
}

.about-left img {
    position: absolute;
}

.about-bg,
.about-img {
    width: auto;
    max-width: 100%;
    margin: auto;
}

.about-left .about-img {
    position: relative;
    z-index: 2;
}

.about-left .icon-1 {
    top: 130px;
    right: 0;
    z-index: 5;
}

.about-left .icon-2 {
    display: none;
}

.about-right {
    padding-top: 50px;
}

.about-right .section-subtitle {
    margin-bottom: 10px;
}

.about-right .section-title {
    margin-bottom: 30px;
}

.about-right .section-text {
    margin-bottom: 20px;
}

.about-ul {
    margin-bottom: 40px;
}

.about-ul li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-ul ion-icon {
    font-size: 30px;
    color: var(--red-orange-color-wheel);
}

.about-ul p {
    color: var(--oxford-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    font-weight: var(--fw-5);
    line-height: 1.6;
    text-align: left;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Hide stats on screens smaller than 1024px */
@media (max-width: 1023px) {
    .stats-container {
        display: none;
    }
}

/* Show stats only on laptops (min-width: 1024px) */
@media (min-width: 1024px) {
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 1200px;
        /* margin: 20px auto; */
        padding: 20px;
        /* margin-top: -55px; */
    }

    .stat-box {
        background-color: #050e38;
        color: white;
        padding: 66px;
        text-align: center;
        border-radius: 10px;
        position: relative;
        clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 0 100%);
    }

    .stat-box:hover {
        background-color: #FFB703;
        color: black;
    }

    .stat-box i {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 28px;
        font-weight: bold;
        font-family: 'Montserrat', sans-serif;
        ;
    }

    .stat-text {
        font-size: 14px;
        font-family: 'Montserrat', sans-serif;
    }
}

.about-ul li:not(:last-child) {
    margin-bottom: 30px;
}

/* =========== COURSE =========== */
.course {
    padding: var(--py) var(--px);
}

.clients {
    text-align: center;
    padding: 50px 20px;
    background: #f5f5f5;
    /* Light background */
}

/* .section-subtitle {
    font-size: 18px;
    color: #FFB703;
    text-transform: uppercase;
} */

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: red;
    margin: 0 auto 30px;
    border-radius: 5px;
}

.swiper {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}


.swiper-slide img {
    max-width: 100%;
    height: 150px;
    /* Increased logo size */
    object-fit: contain;
}

.course .section-subtitle {
    margin-bottom: 15px;
    color: #FFB703;
}

.course .section-title {
    margin-bottom: 60px;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.course-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 50px hsla(0, 0%, 0%, 0.1);
    overflow: hidden;
}

.course-banner {
    position: relative;
    overflow: hidden;
}

.course-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--default-transition);
}

.course-card:hover .course-banner img {
    transform: scale(1.05);
}

.course-banner .course-tag-box {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.course-banner .badge-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
}

.course-banner .orange {
    background: var(--red-orange-color-wheel);
}

.course-banner .blue {
    background: var(--ultramarine-blue);
}

.course-card .course-content {
    padding: 30px;
    padding-bottom: 20px;
}

.course-card .card-title {
    margin-bottom: 20px;
}

.course-card .card-title a {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    line-height: 1.3;
    transition: var(--default-transition);
}

.course-card:hover .card-title a {
    color: var(--red-orange-color-wheel);
}

.course-card .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card .border-bottom {
    margin-bottom: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.course-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card .author-img {
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 20px hsla(0, 0%, 0%, 0.2);
}

.course-card .author-name {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    color: var(--sonic-silver);
    transition: var(--default-transition);
}

.course-card .author-name:hover {
    color: var(--oxford-blue);
}

.course-card .rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card .rating ion-icon {
    font-size: 20px;
    color: hsl(45, 100%, 51%);
}

.course-card .enrolled p,
.course-card .rating p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    color: var(--sonic-silver);
}

.course-card .course-price {
    color: var(--red-orange-color-wheel);
    font-size: 20px;
    font-weight: var(--fw-7);
}

.course-card .enrolled {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card .icon-user {
    background: hsl(138, 59%, 91%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.course .btn-primary {
    display: block;
    margin: auto;
}

/* =========== EVENT =========== */

.event {
    padding: var(--py) var(--px);
    background: var(--cultured);
}

.event-left {
    position: relative;
    max-width: max-content;
    margin-bottom: 50px;
}

.event .banner-img {
    width: auto;
    max-width: 100%;
    border-radius: 8px;
}

.event .play {
    position: absolute;
    bottom: 100px;
    right: 0;
    padding: 30px 40px;
    background: var(--red-orange-color-wheel);
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px hsla(64, 100%, 50%, 0.7);
}

.event .play-icon {
    border-radius: 50%;
    box-shadow: 0 0 0 15px transparent;
}

.event .play ion-icon {
    display: block;
    color: var(--white);
    font-size: 70px;
    margin: -8px;
}

.event .play p {
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    color: var(--white);
}

.event .section-subtitle {
    margin-bottom: 15px;
}

.event .section-title {
    margin-bottom: 30px;
}

.event-card-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
    border-right: 5px solid transparent;
    transition: var(--default-transition);
}

.event-card .content-left {
    width: 100%;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 25px;
    box-shadow: 0 16px 0 -15px var(--light-gray);
}

.event-card .day {
    font-size: var(--fs-3);
    font-weight: var(--fw-7);
    color: var(--blue-crayola);
}

.event-card .month {
    font-size: var(--fs-6);
    font-weight: var(--fw-5);
    color: var(--blue-crayola);
}

.event .schedule {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.event .schedule p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    color: var(--sonic-silver);
}

.event .schedule .time {
    padding-right: 20px;
    margin-right: 20px;
    box-shadow: 4px 0 0 -3px var(--light-gray);
}

.event-card .event-name {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    line-height: 1.6;
    text-align: center;
    transition: var(--default-transition);
}

.event-card:hover {
    border-color: var(--red-orange-color-wheel);
}

.event-card:hover .event-name {
    color: var(--red-orange-color-wheel);
}

/* =========== FEATURES =========== */
.features {
    background: var(--oxford-blue);
}

.features-left {
    padding: var(--py) var(--px);
}

.features .section-subtitle {
    margin-bottom: 15px;
}

.features .section-title {
    color: var(--white);
    margin-bottom: 30px;
}

.features-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.features-item:not(:last-child) {
    margin-bottom: 30px;
}

.features-item .item-icon-box {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.features-item .blue {
    background: hsl(222, 87%, 56%);
}

.features-item .pink {
    background: hsl(336, 73%, 50%);
}

.features-item .purple {
    background: hsl(265, 83%, 44%);
}

.features-item .wrapper {
    max-width: calc(100% - 85px);
}

.features-item .item-title {
    color: var(--white);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    margin-bottom: 10px;
}

.features-item .item-text {
    font-family: 'Montserrat', sans-serif;
    color: hsl(231, 100%, 94%);
    font-size: var(--fs-6);
    line-height: 1.6;
}

.features-right {
    height: 500px;
}

.features-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========== INSTRUCTOR =========== */
.instructor {
    padding: var(--py) var(--px);
}

.instructor .section-subtitle {
    text-align: center;
    margin-bottom: 15px;
}

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

.instructor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
}

.instructor-card {
    background: hsl(220, 33%, 97%);
    padding: 20px;
    padding-bottom: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--default-transition);
}

.instructor-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
}

.instructor-img-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.instructor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--default-transition);
}

.instructor-card:hover .instructor-img-box img {
    transform: scale(1.1);
}

.instructor-card .social-link {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: var(--default-transition);
}

.instructor-card .social-link a {
    background: var(--ultramarine-blue);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: var(--default-transition);
}

.instructor-card .social-link a:hover {
    background: var(--red-orange-color-wheel);
}

.instructor-card:hover .social-link {
    bottom: 20px;
}

.instructor-name {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    margin-bottom: 10px;
    transition: var(--default-transition);
}

.instructor-card:hover .instructor-name {
    color: var(--red-orange-color-wheel);
}

.instructor-title {
    color: var(--ultramarine-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
}

/* =========== TESTIMONIAL =========== */
/* ========== GLOBAL RESET FOR TESTIMONIAL CONTAINER ========== */
.testimonial-container * {
    box-sizing: border-box;
}

/* ========== BODY STYLING ========== */
.testimonial-body {
    background-color: #eee;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 10px;
}

/* ========== MAIN CONTAINER ========== */
.testimonial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    background-color: #fff;
    color: #333;
    border-radius: 15px;
    margin: 20px auto;
    padding: 50px 80px;
    width: 800px;
    min-height: 430px;
    position: relative;
    transition: all 0.3s ease;
}

/* ========== STARS ========== */
.stars {
    font-size: 14px;
}

/* ========== TESTIMONIAL TEXT ========== */
.testimonial {
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: 900;
    height: 100%;
    line-height: 28px;
    margin: 0;
}

/* ========== USER INFO ========== */
.user {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user .user-image {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.user .user-details {
    text-align: center;
}

.user .username {
    margin: 0;
    font-size: 14px;
}

.user .role {
    margin: 0;
    font-size: 12px;
}

/* ========== PROGRESS DOTS ========== */
.progress-dots {
    display: flex;
    gap: 5px;
}

.progress-dot {
    width: 5px;
    height: 5px;
    background-color: #eee;
    border-radius: 50%;
}

.progress-dot.active {
    background-color: #555;
}

/* ========== NAVIGATION BUTTONS ========== */
.testimonials-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    font-size: 10px;
    cursor: pointer;
    transition: 0.1s ease;
}

.testimonials-btn:hover {
    background-color: #eee;
}

#testimonials-btn-prev {
    left: 25px;
}

#testimonials-btn-next {
    right: 25px;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Phones */
@media (max-width: 600px) {
    .testimonial-container {
        width: 95%;
        padding: 30px 20px;
        min-height: auto;
    }

    .testimonial {
        font-size: 14px;
        line-height: 22px;
    }

    .stars {
        font-size: 12px;
    }

    .testimonials-btn {
        width: 25px;
        height: 25px;
        font-size: 8px;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 992px) {
    .testimonial-container {
        width: 90%;
        padding: 40px 40px;
    }

    .testimonial {
        font-size: 15px;
        line-height: 24px;
    }
}

/* Laptops / Large Screens */
@media (min-width: 993px) {
    .testimonial-container {
        width: 800px;
    }
}

/* =========== TESTIMONIAL =========== */

/* ===== Base Styles ===== */
.testimonials {
    padding: var(--py) var(--px);
    background: var(--cultured);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.testimonials-left {
    flex: 1 1 350px;
}

.testimonials-right {
    flex: 1 1 500px;
    overflow: hidden;
    position: relative;
    padding-top: 20px;
}

.testimonials .section-subtitle {
    margin-bottom: 15px;
}

.testimonials .section-title {
    margin-bottom: 30px;
}

.section-text {
    margin-bottom: 20px;
    color: var(--sonic-silver);
}

/* ===== Slider ===== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
    /* Make all cards same height */
}

.testimonials-card {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 30px hsla(0, 0%, 0%, 0.1);
    height: 350px;
    /* Fixed height to avoid jump */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.testimonials-card.active {
    display: flex;
}

.testimonials .quote-img {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 1;
    opacity: 0.1;
    width: 50px;
}

.testimonials-text {
    color: var(--sonic-silver);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    line-height: 1.6;
    margin-bottom: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.client-detail {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.client-detail .client-name {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    line-height: 1.2;
    font-weight: var(--fw-7);
    margin-bottom: 5px;
}

.star-rating {
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 3px;
    display: inline-block;
    background: linear-gradient(90deg, #eac408, #FFC107);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-detail .client-title {
    color: #000000;
    font-size: var(--fs-6);
}

/* ===== Buttons ===== */
.testimonial-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-btn {
    background: var(--white);
    border: 1px solid var(--sonic-silver);
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: var(--red-orange-color-wheel);
    color: var(--white);
    border-color: var(--red-orange-color-wheel);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .testimonials {
        flex-direction: column;
        text-align: center;
    }

    .testimonials-left {
        order: 1;
        margin-bottom: 20px;
    }

    .testimonials-right {
        order: 2;
    }

    .testimonial-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .testimonials-card {
        padding: 20px;
        height: auto;
        /* Let it expand naturally on very small screens */
    }

    .testimonials .quote-img {
        width: 35px;
        bottom: 20px;
        right: 20px;
    }

    .testimonials-text {
        font-size: 14px;
    }
}


/* =========== BLOG =========== */

.blog {
    padding: var(--py) var(--px) 250px;
}

.blog .section-subtitle {
    text-align: center;
    margin: 15px;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
    overflow: hidden;
}

.blog-banner-box {
    overflow: hidden;
}

.blog-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--default-transition);
}

.blog-card:hover .blog-banner-box img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    padding-bottom: 20px;
}

.blog-title {
    padding-bottom: 25px;
    border-radius: 1px solid var(--light-gray);
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--oxford-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-7);
    transition: var(--default-transition);
}

.blog-card:hover .blog-title a {
    color: var(--red-orange-color-wheel);
}

.blog-content .wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.blog-content .wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--light-gray);
    width: 1px;
    height: 15px;
}

.blog-publish-date,
.blog-comment {
    display: flex;
    align-items: center;
    gap: 10px;
}

:is(.blog-publish-date, .blog-comment) a {
    color: var(--sonic-silver);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-6);
    transition: var(--default-transition);
}

:is(.blog-publish-date, .blog-comment) a:hover {
    color: var(--oxford-blue);
}

/* =========== CONTACT =========== */
.contact-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

/* Make the whole phone icon & number clickable */
.contact-number a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    /* keep same white color */
}

.contact-number a:hover {
    color: #ffcc00;
    /* change color on hover */
}

.contact-number img {
    width: 60px;
    height: 60px;
    margin-right: 0px;
    margin-left: -12px;
}


.contact {
    position: relative;
}

.contact-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ultramarine-blue);
    width: calc(100% - var(--px));
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-card-bg {
    position: absolute;
    width: auto;
    max-width: 100%;
    top: -2px;
    left: -2px;
}

.contact-card h2 {
    position: relative;
    font-size: 30px;
    color: var(--white);
    font-weight: var(--fw-8);
    text-align: center;
}

.contact .btn-primary {
    justify-self: center;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}

/* =========== FOOTER =========== */

.footer {
    background-color: #050e38;
    color: #fff;
    padding: 60px 0 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--px);
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    margin-top: 20px;
    color: #ccc;
    font-size: 15px;
}

.footer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-profile h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ff4444;
    text-transform: uppercase;
}

.footer-profile span {
    font-size: 14px;
    color: #aaa;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact i {
    color: #ffbb33;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li {
    color: #ccc;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 15px;
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 var(--px);
        gap: 30px;
    }

    .footer {
        padding: 40px 0 0;
    }
}

/* =========== GLOBAL SUCCESS POP-UP =========== */
.global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.global-success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
    width: 90%;
}

.global-success-modal.active,
.global-overlay.active {
    display: block;
    opacity: 1;
}

.global-success-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

/* Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #7ac142;
    stroke-width: 3;
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.global-success-modal h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.global-success-modal p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.global-success-close {
    background: linear-gradient(135deg, #0062ff, #004ecc);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 98, 255, 0.3);
    width: 100%;
}

.global-success-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 98, 255, 0.4);
}

.quote-section-modern {
    padding: 100px 5% 120px 5%;
    /* Added extra bottom padding for spacing */
    position: relative;
    /* Removed overflow:hidden to prevent shadow clipping at the bottom */
    /* Removed gradient to match site background */
}

.quote-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Content */
.quote-content {
    flex: 1;
    max-width: 500px;
}

.sub-tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 98, 255, 0.08);
    color: #0062ff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(0, 98, 255, 0.1);
}

.modern-heading {
    font-size: 3.8rem;
    line-height: 1.15;
    color: #050e38;
    /* Oxford Blue */
    font-weight: 800;
    /* Extra bold */
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.modern-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Contact Block */
.contact-highlight-modern {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #ffffff;
    padding: 15px 25px 15px 15px;
    /* balanced padding */
    border-radius: 20px;
    /* softer */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    /* very soft shadow */
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-highlight-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 98, 255, 0.1);
}

/* Ripple Animation */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.4),
            0 0 0 0 rgba(0, 98, 255, 0.4);
    }

    80% {
        box-shadow: 0 0 0 20px rgba(0, 98, 255, 0),
            0 0 0 40px rgba(0, 98, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 98, 255, 0),
            0 0 0 0 rgba(0, 98, 255, 0);
    }
}

.icon-circle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0062ff, #2979ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    /* Apply Ripple Animation */
    animation: ripple 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-text span {
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.phone-link-modern {
    font-size: 1.5rem;
    font-weight: 800;
    color: #050e38;
    font-family: 'Montserrat', sans-serif;
}

/* Premium Form Card */
/* Premium Form Card */
.quote-form-card {
    flex: 1;
    max-width: 550px;
    background: #ffffff;
    /* Reduced bottom padding to balance with button margin */
    padding: 50px 50px 40px 50px;
    border-radius: 30px;
    /* Real border for crisp definition */
    border: 1px solid #e5e7eb;
    /* Balanced shadow: reduced vertical offset, even spread */
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #050e38;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 0px;
}

/* Removed the underline for a cleaner look, or use a smaller one */
.form-title::after {
    display: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    /* more breathing room */
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group.full-width,
.form-action.full-width {
    grid-column: span 2;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #050e38;
    margin-left: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    max-width: 100%;
    /* Ensure inputs don't overflow */
    padding: 16px 20px;
    border: 2px solid #eaebf0;
    /* Very subtle border */
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fcfcfd;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.input-group input:focus {
    border-color: #0062ff;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.08);
    /* Glow on focus */
    outline: none;
}

.input-group input::placeholder {
    color: #b0bac9;
}

.error-msg {
    color: #ff3b30;
    font-size: 0.75rem;
    margin-top: 4px;
    margin-left: 2px;
}

/* Premium Button */
.btn-modern-submit {
    width: 100%;
    min-width: 280px;
    /* Ensure button is wide enough for text */
    padding: 20px 30px;
    /* Increased horizontal padding */
    /* Gradient */
    background: linear-gradient(135deg, #0062ff 0%, #0050d5 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 98, 255, 0.25);
    margin-top: 15px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.btn-modern-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 98, 255, 0.35);
    background: linear-gradient(135deg, #0056e0 0%, #0044b8 100%);
}

.btn-modern-submit i {
    transition: transform 0.3s ease;
}

.btn-modern-submit:hover i {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .quote-wrapper {
        flex-direction: column;
        gap: 60px;
        align-items: stretch;
    }

    .quote-content {
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .contact-highlight-modern {
        margin: 0 auto;
    }

    .quote-form-card {
        max-width: 100%;
        padding: 40px 30px;
    }

    .quote-section-modern {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .modern-heading {
        font-size: 2.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
        gap: 15px;
        /* Reduce gap slightly for mobile */
    }

    .input-group.full-width,
    .form-action.full-width {
        grid-column: span 1;
        /* Reset span for single column */
    }

    .quote-form-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
}

/* =========== GLOBAL TYPOGRAPHY REFINEMENTS =========== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Update inputs in other areas if needed to match */
input,
button,
select,
textarea {
    font-family: inherit;
}

/* =========== FLOATING WHATSAPP BUTTON =========== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

.my-float {
    margin-top: 1px;
}

/* Pulse Animation */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}