/* Service-page-inspired theme for the HomePage */

:root {
    --primary: #ca20fd;
    --secondary: #f27839;
    --accent2: #eb4f74;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
}

a {
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

section {
    overflow: hidden;
}

#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 10px 0;
    background: white;
}

#header.header-scrolled,
#header.header-inner-pages {
    background: #fff;
    padding: 10px 0;
}

#header .logo {
    font-size: 32px;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
}

#header .logo a {
    color: #fff;
}

#header .logo img {
    max-height: 80px;
}

.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar > ul > li {
    white-space: nowrap;
    padding: 8px 12px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #ff4a17;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #fff;
}

.navbar .getstarted,
.navbar .getstarted:focus {
    padding: 8px 25px;
    margin-left: 30px;
    border-radius: 4px;
    color: #000000;
    border: 2px solid #000000;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
    color: #fff;
    background: #fd3800;
    border-color: #ff4a17;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-underline-offset: 1px;
}

.navbar > ul > li > .getstarted:before {
    visibility: hidden;
}

.mobile-nav-toggle {
    color: #0a0a0a;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 1;
    transition: 0.5s;
    background: transparent;
    border: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        line-height: 1;
    }

    .navbar ul {
        display: none;
    }
}

@media (max-width: 991px) {
    #header .navbar {
        position: static !important;
    }

    #header .navbar.navbar-mobile {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        background: rgba(4, 7, 9, 0.9) !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 9999 !important;
    }

    #header .navbar.navbar-mobile ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10000 !important;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(4, 7, 9, 0.9);
    transition: 0.3s;
    z-index: 9999;
}

.navbar.navbar-mobile {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ff4a17;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
    list-style: none;
    margin: 0;
}

.navbar.navbar-mobile ul {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #15222b;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #ff4a17;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #ca20fd 0%, #f27839 100%);
    position: relative;
    height: auto;
    overflow: hidden;
    padding: 5.85rem 1rem 3.15rem;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

.hero::before {
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.25);
    top: 10%;
    right: 10%;
}

.hero::after {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 20%;
    left: 5%;
}

.hero .container {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1450px;
    margin: 0 auto;
    padding: 3.15rem 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 30px;
    align-items: center;
    width: 100%;
    animation: none;
    text-align: left;
}

.hero-content::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    top: 45%;
    right: 32%;
    pointer-events: none;
}

.hero-text {
    flex: initial;
    max-width: none;
    padding-right: 0;
    animation: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hero-text h1 {
    font-size: clamp(1.75rem, 6vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    opacity: 1;
    animation: none;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
}

.hero-text p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    opacity: 1;
    animation: none;
    max-width: min(90%, 600px);
    padding: 0;
}

.hero-image {
    flex: initial;
    max-width: none;
    display: flex;
    justify-content: center;
    animation: none;
}

.hero-image img {
    width: 100%;
    max-width: 1296px;
    border-radius: 20px;
    transform: none;
    animation: none;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    object-fit: cover;
}

.cta-button,
.interest-button,
.text-container button,
.btn-primary,
.btn,
button:not(.slider-btn):not(.slider-btns) {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 26px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(202, 32, 253, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    opacity: 1;
    animation: none;
}

.cta-button:hover,
.interest-button:hover,
.text-container button:hover,
.btn-primary:hover,
.btn:hover,
button:not(.slider-btn):not(.slider-btns):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(202, 32, 253, 0.35);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.hero .cta-button,
.hero .cta-button:hover,
.hero .cta-button:focus,
.hero .cta-button:active {
    width: auto;
    background: #ffffff !important;
    color: var(--secondary) !important;
    border-radius: 25px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none !important;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transform: none !important;
}

.interests,
.services,
.team-section {
    background: #fff;
}

.why-choose-us,
.upcoming-events-section,
.accreditations-section {
    background: var(--bg-light);
}

.interests h2,
.why-text h2,
.services h2,
.texts h1,
.team-section h2,
.accreditations-section h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--text-dark);
}

.interests .intro-text,
.services .intro-text,
.why-text p,
.texts p,
.team-intro,
.accreditation-content p,
.text-container p {
    color: var(--text-light);
}

.interest-grid,
.services-grid,
.team-slider {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.interest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.interests h2 {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 800;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 15px;
}

.interests .intro-text {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 60px;
}

.interests,
.interests .container {
    text-align: center;
}

.interest-box,
.slider-card,
.team-card,
.accreditation-card,
.upcoming-events-section .slide {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, background-image 0.3s ease;
}

.interest-box:hover,
.slider-card:hover,
.team-card:hover,
.accreditation-card:hover,
.upcoming-events-section .slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.interest-box {
    width: auto;
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    background-image: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.interest-image,
.card-image {
    overflow: hidden;
}

.interest-image img,
.card-image img,
.accreditation-card img,
.team-card-image img,
.image-container img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.interest-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.card-image img {
    height: 200px;
}

.interest-box h3,
.team-card-content h3,
.accreditation-content h3,
.text-container h2,
.slider-card h3,
.interest-content h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
}

.interest-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.interest-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.interest-box p,
.team-card-content p,
.text-container p,
.interest-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.interest-box:hover .interest-image img {
    transform: scale(1.03);
}

.interest-content {
    padding: 25px;
    flex: 1;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0;
}

.interest-content h3,
.interest-content p,
.interest-content .interest-button {
    text-align: left;
}

.interest-content p {
    margin: 0;
    margin-bottom: 12px;
}

.interest-content .interest-button {
    margin-top: auto;
}

.slider-card {
    display: flex;
    flex-direction: column;
}

.slider-card h3 {
    margin: 0;
    font-size: 22px;
    text-align: center;
}

.slider-card:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.slider-card:hover h3 {
    color: #fff;
}

.slider-card:hover .card-image img {
    filter: brightness(0.85);
    transform: scale(1.03);
}

.interest-box .interest-button {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none;
    margin: 12px 0 0;
    align-self: flex-start;
}

.interest-box .interest-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(202, 32, 253, 0.4);
    background: linear-gradient(135deg, var(--primary), var(--accent2));
}

.interest-box:hover .interest-content h3,
.interest-box:hover .interest-content p,
.interest-box:hover .interest-button {
    color: #ffffff;
}

.interest-box:hover .interest-content p {
    color: rgba(255, 255, 255, 0.9);
}

.interest-box .interest-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

.services .section-header p {
    color: var(--text-light);
    font-size: 18px;
}

.services .gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #000;
    background-clip: border-box;
    color: #000;
}

.services .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services .service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    background-image: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.services .service-card:hover:not(.expanded) {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #ca20fd;
    background-image: linear-gradient(135deg, #ca20fd 0%, #f27839 100%);
}

.services .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.services .service-content {
    padding: 25px;
    flex: 1;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.services .service-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.services .service-card:hover:not(.expanded) .service-content h3 {
    color: var(--white);
}

.services .service-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.services .service-card:hover:not(.expanded) .service-content p {
    color: rgba(255, 255, 255, 0.9);
}

.services .service-card .service-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.services .service-card.expanded {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    cursor: pointer;
    align-items: stretch;
}

.services .service-card.expanded img {
    width: 350px;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
    flex-shrink: 0;
    margin: 0;
    display: block;
}

.services .service-card.expanded .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 35px;
    background: white;
    border-radius: 0 20px 20px 0;
    min-width: 0;
}

.services .service-card.expanded .service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000 !important;
}

.services .service-card.expanded .short-text {
    display: none;
}

.services .service-card.expanded .full-text {
    display: block !important;
    color: #000 !important;
    font-size: 15px;
    line-height: 1.6;
}

.services .read-more-btn,
.interest-box .interest-button {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 12px;
}

.services .read-more-btn:hover,
.interest-box .interest-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(202, 32, 253, 0.4);
}

.interest-box:hover {
    background-color: #ca20fd;
    background-image: linear-gradient(135deg, #ca20fd 0%, #f27839 100%);
}

@media (max-width: 1024px) {
    .interest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .services .services-grid {
        grid-template-columns: 1fr;
    }

    .services .service-card.expanded {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .services .service-card.expanded img {
        width: 100%;
        height: auto;
        min-height: 0;
        border-radius: 20px 20px 0 0;
        object-fit: cover;
    }

    .services .service-card.expanded .service-content {
        width: 100%;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        gap: 15px;
    }
}

.why-choose-us {
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
    padding: 56px 20px;
}

.why-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
}

.why-text {
    max-width: none;
    padding-right: 8px;
}

.why-video {
    max-width: none;
    width: 100%;
    justify-self: stretch;
}

.why-text h2,
.texts h1,
.team-section h2,
.accreditations-section h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 18px;
}

.why-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-text {
        padding-right: 0;
    }
}

.upcoming-events-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.upcoming-events-section .texts {
    text-align: center;
    margin-bottom: 30px;
}

.upcoming-events-section .slider-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upcoming-events-section .slider {
    gap: 24px;
}

.upcoming-events-section .slide {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.upcoming-events-section .slider-container .slide.active {
    display: flex !important;
    flex-direction: row-reverse !important;
    opacity: 1;
    visibility: visible;
}

.upcoming-events-section .image-container,
.upcoming-events-section .text-container {
    background: #ffffff;
    overflow: hidden;
}

.upcoming-events-section .image-container {
    order: 2;
    margin-left: 0;
    flex: 1;
}

.upcoming-events-section .text-container {
    order: 1;
    flex: 1;
}

.upcoming-events-section .slide .image-container {
    border-radius: 24px 0 0 24px;
}

.upcoming-events-section .slide .text-container {
    border-radius: 0 24px 24px 0;
}

.upcoming-events-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px 0 0 24px;
}

.text-container {
    padding: 30px;
}

.text-container h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.text-container button {
    border-radius: 999px;
}

@media (max-width: 768px) {
    .upcoming-events-section .slide,
    .upcoming-events-section .slider-container .slide.active {
        flex-direction: column;
    }

    .upcoming-events-section .slide .image-container {
        border-radius: 24px 24px 0 0;
    }

    .upcoming-events-section .slide .text-container {
        border-radius: 0 0 24px 24px;
    }

    .upcoming-events-section .image-container img {
        border-radius: 24px 24px 0 0;
    }
}

.team-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.team-section .team-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.7;
}

.team-slider-wrapper {
    margin-top: 90px;
    overflow: visible;
}

.team-slider {
    gap: 30px;
}

.team-card {
    position: relative;
    text-align: center;
    padding: 0 0 16px;
    overflow: visible;
    border-radius: 22px;
    border: 1px solid rgba(26, 26, 46, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.team-card-image {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card-content {
    padding: 74px 26px 0;
}

.team-card-content h3 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.team-card-content p {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.team-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    background: #f7f8fb;
    border: 1px solid rgba(26, 26, 46, 0.1);
    font-size: 16px;
    transition: all 0.25s ease;
}

.team-social-links a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-2px);
}

.accreditations-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.accreditations-slider-wrapper {
    max-width: 760px;
}

.accreditation-card {
    padding: 26px;
    background: #fff;
}

.accreditation-card img {
    max-width: 200px;
    margin: 0 auto 18px;
    border-radius: 12px;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
}

#footer .footer-top .footer-info h3 {
    color: #fff !important;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.75) !important;
}

.slider-btns {
    background: #ccc !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.slider-btns.active,
.slider-btns:hover {
    background: var(--primary) !important;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.7rem 16px;
    }

    .hero-text {
        align-items: center;
    }

    .hero-content::before {
        right: 50%;
        transform: translateX(50%);
        top: 55%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4.5rem 0.75rem 2.25rem;
    }

    .hero-image img {
        max-width: 936px;
    }
}

/* Featured Hero Event Section */
.featured-events {
    padding: 5rem 1.5rem;
    background: var(--bg-light);
    font-family: "Poppins", sans-serif;
}

.featured-events__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-events__heading {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-events__heading h2 {
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.featured-events__heading p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.events-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.events-slider__track {
    display: flex;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.events-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 10px;
    opacity: 0.2;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-slider__slide.is-active {
    opacity: 1;
}

.event-hero-card {
    display: flex;
    flex-direction: row;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    overflow: hidden;
    box-shadow: 0 12px 34px color-mix(in srgb, var(--text-dark) 4%, transparent);
}

@media (max-width: 768px) {
    .event-hero-card {
        flex-direction: column;
    }
}

.event-hero-card__media {
    position: relative;
    width: 40%;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--primary) 8%, var(--bg-light));
}

@media (max-width: 768px) {
    .event-hero-card__media {
        width: 100%;
        min-height: 280px;
    }
}

.event-hero-card__img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

@media (max-width: 768px) {
    .event-hero-card__img {
        border-bottom-left-radius: 0;
        border-top-right-radius: inherit;
    }
}

.event-badge-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 25%, transparent);
    z-index: 2;
}

.event-badge-date__day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.event-badge-date__month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-badge-price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--text-dark) 8%, transparent);
    z-index: 2;
}

.event-hero-card__body {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

@media (max-width: 768px) {
    .event-hero-card__body {
        width: 100%;
        padding: 1.5rem;
    }
}

.event-category-tag {
    align-self: flex-start;
    background: color-mix(in srgb, var(--primary) 8%, var(--white));
    color: var(--text-dark);
    border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.event-hero-card__title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .event-hero-card__title {
        font-size: 1.4rem;
    }
}

.event-hero-card__desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta-rows {
    margin-bottom: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.event-meta-row svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    flex-shrink: 0;
}

.event-hero-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

@media (max-width: 768px) {
    .event-hero-card__footer {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .event-register-btn {
        text-align: center;
        width: 100%;
    }
}

.event-register-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 25%, transparent);
    text-decoration: none;
    display: inline-block;
}

.event-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 35%, transparent);
    color: var(--white);
}

.events-slider__nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    justify-content: center;
}

@media (max-width: 768px) {
    .events-slider__nav {
        margin-top: 5px;
    }
}

.events-slider__dots {
    display: flex;
    align-items: center;
    gap: 12px;
}

.events-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
    background: transparent !important;
    border: 2px solid color-mix(in srgb, var(--text-light) 40%, transparent) !important;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.events-slider__dot.is-active {
    border-color: var(--primary) !important;
    transform: scale(1.4);
}

.events-slider__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: var(--white) !important;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--text-dark) 5%, transparent) !important;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.events-slider__arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.events-slider__arrow:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px color-mix(in srgb, var(--primary) 20%, transparent) !important;
}

.events-slider__arrow:hover svg {
    fill: var(--white);
}

.events-slider__arrow--prev:hover svg {
    transform: translateX(-3px);
}

.events-slider__arrow--next:hover svg {
    transform: translateX(3px);
}

/* Team Section with 3 Cards and Social Media Links */
.team-section--flip {
    padding: 88px 0 94px;
    background: linear-gradient(180deg, var(--white), color-mix(in srgb, var(--bg-light) 86%, var(--white)));
    font-family: "Poppins", sans-serif;
}

.team-section--flip .container {
    max-width: 1200px;
}

.team-section__heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.team-section__heading h2 {
    margin: 0;
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.team-section__heading p {
    margin: 12px auto 0;
    max-width: 620px;
    color: var(--text-light);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.team-section--flip .team-card {
    perspective: 1500px;
    min-height: 230px;
    position: relative;
    border: 1px solid color-mix(in srgb, var(--text-dark) 10%, transparent);
    border-radius: 18px;
    background: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.team-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.team-card:hover .team-card__inner,
.team-card.is-flipped .team-card__inner,
.team-card:focus-within .team-card__inner {
    transform: rotateY(180deg);
}

.team-card__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    border: 0;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.team-card__front {
    background: var(--white);
    text-align: center;
    z-index: 2;
}

.team-card__front::before {
    content: "";
    position: absolute;
    inset: auto 18px 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 35%, transparent), transparent);
}

.team-card__back {
    transform: rotateY(180deg);
    background: linear-gradient(180deg, var(--white), color-mix(in srgb, var(--bg-light) 88%, var(--white)));
    text-align: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1;
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 5px;
    background: color-mix(in srgb, var(--primary) 22%, var(--white));
    border: 2px solid color-mix(in srgb, var(--primary) 64%, var(--secondary));
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.team-avatar__inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--bg-light) 74%, var(--white));
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    overflow: hidden;
    flex: 0 0 auto;
}

.team-avatar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__name {
    margin: 0;
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
}

.team-card__role {
    margin: 6px 0 0;
    color: var(--primary);
    font-family: "Poppins", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.team-card__bio {
    margin: 0;
    color: var(--text-light);
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 23ch;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social__link {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--text-dark) 12%, transparent);
    color: var(--primary);
    background: color-mix(in srgb, var(--white) 92%, var(--bg-light));
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-social__link:hover,
.team-social__link:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
    background: color-mix(in srgb, var(--primary) 8%, var(--white));
}

.team-social__link svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.team-card__hint {
    margin: 0;
    color: color-mix(in srgb, var(--text-light) 90%, var(--white));
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .team-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .team-section--flip {
        padding: 72px 0 80px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Accreditations section */
.accreditations-modern {
    padding: 5rem 1.5rem;
    background: var(--bg-light);
    font-family: "Poppins", sans-serif;
}

.accreditations-modern__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.accreditations-modern,
.accreditations-modern * {
    font-family: "Poppins", sans-serif;
}

.accred-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.accred-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin: 0 0 15px 0;
}

.accred-header__line {
    width: 48px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    margin: 0 auto 16px auto;
    display: none;
}

.accreditations-modern .gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #000;
    background-clip: border-box;
    color: #000;
}

.accred-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.accred-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.accred-track {
    display: flex;
    gap: 18px;
    padding-top: 4px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.accred-card {
    flex: 0 0 calc((100% - 36px) / 3);
    background: var(--white);
    border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
    border-radius: 16px;
    padding: 1.75rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.accred-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .accred-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

@media (max-width: 650px) {
    .accred-card {
        flex: 0 0 100%;
    }
}

.accred-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 6%, var(--white));
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.accred-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
}

.accred-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.accred-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.accred-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.accred-footer {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 12px 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--text-dark) 6%, transparent);
    font-size: 11px;
    color: color-mix(in srgb, var(--text-light) 80%, transparent);
    margin-top: auto;
}

.accred-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.accred-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent) !important;
    background: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
}

.accred-arrow svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.accred-arrow:hover:not(:disabled) {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent) !important;
    transform: translateY(-2px);
}

.accred-arrow:hover:not(:disabled) svg {
    fill: var(--white);
}

#accPrev:hover:not(:disabled) svg {
    transform: translateX(-3px);
}

#accNext:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.accred-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none;
}

.accred-dots {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accred-dot {
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
    background: transparent !important;
    border: 2px solid color-mix(in srgb, var(--text-light) 40%, transparent) !important;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.accred-dot.is-active {
    border-color: var(--primary) !important;
    transform: scale(1.4);
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 0;
    bottom: 20%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    padding-right: 12px;
    pointer-events: none;
}

.float-pill {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 36px;
    width: 36px;
    border-radius: 18px;
    background: var(--white, #ffffff);
    border: 1px solid color-mix(in srgb, var(--primary, #d4367e) 20%, transparent);
    overflow: hidden;
    text-decoration: none;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.float-pill:hover {
    width: 120px;
    border-color: var(--primary, #d4367e);
}

.float-pill__label {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary, #d4367e);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 8px;
}

.float-pill:hover .float-pill__label {
    opacity: 1;
    transform: translateX(0);
}

.float-pill__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary, #d4367e) 8%, var(--white, #ffffff));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.float-pill__icon svg {
    width: 16px;
    height: 16px;
    fill: var(--primary, #d4367e);
}

.float-pill--whatsapp .float-pill__icon svg {
    fill: #25d366;
}

.float-pill--whatsapp .whatsapp-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--white, #ffffff);
}

/* Keep accreditations heading identical to services heading */
.accreditations-modern .accred-header h2 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 48px !important;
    color: #000 !important;
    margin: 0 0 15px 0 !important;
}
