/* 
* Color Palette (6 colors)
* Lotus White       #FDFDFD Main background, cards, light mode base
* Soft Lotus Pink   #F8C6DC Primary accent, buttons, highlights
* Blooming Magenta  #E87CCE Headings, active states, strong accents
* Mystic Purple     #B86BDB Secondary accent, links on hover, borders
* Deep Aura         #883B9B Dark text, footer background, strong contrast
* Lotus Leaf Green  #6B9B6E Subtle natural accent (tags, icons, success)
* /

/* Base Reset */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Poiret One", 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
}

.poiret-one-regular {
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

:root {
    --lotus-white: #FDFDFD;
    --soft-lotus-pink: #F8C6DC;
    --blooming-magenta: #E87CCE;
    --mystic-purple: #B86BDB;
    --deep-aura: #883B9B;
    --lotus-leaf-green: #6B9B6E;

    --color-bg: var(--lotus-white);
    --color-surface: var(--lotus-white);
    --color-border: var(--soft-lotus-pink);
    --color-text: var(--deep-aura);
    --color-text-light: #6B4F75;
    --color-accent: var(--soft-lotus-pink);
    --color-accent-hover: var(--blooming-magenta);
    --color-secondary: var(--mystic-purple);
    --color-success: var(--lotus-leaf-green);
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-sm: 0 1px 2px rgba(136, 59, 155, 0.08);
    --shadow-md: 0 2px 6px rgba(136, 59, 155, 0.15);
    --max-width: 1400px;

    /* Form variables */
    --form-text-color: var(--deep-aura);
    --form-placeholder-color: #9B7AA8;
    --form-border-color: var(--soft-lotus-pink);
    --form-focus-color: var(--mystic-purple);
    --form-bg: var(--lotus-white);

    /* Contact form (legacy) */
    --primary-color: var(--deep-aura);
    --secondary-color: #9B7AA8;
    --bg-color: var(--lotus-white);
    --button-color: var(--mystic-purple);
    --h1-color: var(--deep-aura);
}

/* Layout */
.wrapper {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.site-header {
    background: linear-gradient(135deg, var(--mystic-purple) 0%, var(--blooming-magenta) 100%);
    color: var(--lotus-white);
    box-shadow: 0 2px 8px rgba(136, 59, 155, 0.1);
}

/* Social Bar */
.social-bar {
    background: rgba(136, 59, 155, 0.3);
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(253, 253, 253, 0.1);
}

.social-bar-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: none;
}

@media (min-width: 768px) {
    .contact-info {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lotus-white);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: var(--soft-lotus-pink);
}

.contact-text {
    order: 2;
    color: var(--deep-aura);
    font-size: 1.125rem;
    font-weight: 700;
}

.contact-icon {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lotus-leaf-green);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-aura);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--soft-lotus-pink);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Navigation */
.navbar {
    padding: 1rem 1rem;
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--mystic-purple) 0%, var(--blooming-magenta) 100%);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.3);
}

.navbar-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--lotus-white);
    z-index: 1001;
}

.logo-image {
    height: 140px;
    width: auto;
    display: block;
    object-fit: contain;
    margin: -25px 0;
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-phone-icon {
    display: none;
    color: var(--lotus-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(136, 59, 155, 0.8);
    border: 2px solid var(--lotus-white);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-phone-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-phone-icon:hover {
    background-color: var(--lotus-pink);
    border-color: var(--lotus-pink);
    transform: scale(1.1);
}

.mobile-phone-icon:active {
    transform: scale(0.95);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--lotus-white);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: var(--lotus-white);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-phone-icon {
        display: flex;
    }

    .navbar {
        padding: 0.5rem 1rem;
        min-height: 60px;
    }

    .logo-image {
        height: 140px;
        margin: -40px 0;
    }

    #primary_nav_wrap {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        background: linear-gradient(180deg, var(--blooming-magenta) 0%, var(--mystic-purple) 100%);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
        padding-top: 4rem;
    }

    #primary_nav_wrap.open {
        transform: translateX(0);
    }

    #primary_nav_wrap ul {
        float: none;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
    }

    #primary_nav_wrap ul li {
        float: none;
        width: 100%;
        position: relative;
        z-index: auto;
    }

    #primary_nav_wrap ul a {
        padding: 1rem 1.5rem;
        line-height: 1.5;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: auto;
    }

    #primary_nav_wrap ul li:hover {
        background: rgba(253, 253, 253, 0.1);
    }

    #primary_nav_wrap ul ul {
        position: relative;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background: rgb(136, 59, 155);
        z-index: 100;
        margin: 0;
        padding: 0;
    }

    #primary_nav_wrap ul ul li {
        width: 100%;
        z-index: 101;
        position: relative;
        background: rgb(136, 59, 155);
    }

    #primary_nav_wrap ul ul a {
        padding-left: 2.5rem;
        font-size: 14px;
        z-index: 102;
        position: relative;
        background: rgb(136, 59, 155);
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    #primary_nav_wrap ul ul a:active,
    #primary_nav_wrap ul ul a:focus {
        background: rgba(184, 107, 219, 0.9);
        outline: 2px solid var(--lotus-white);
        outline-offset: -2px;
    }

    #primary_nav_wrap ul ul a:hover {
        background: rgba(184, 107, 219, 0.8);
    }

    #primary_nav_wrap ul li.open>ul {
        display: block;
    }

    /* Change arrow direction for mobile */
    #primary_nav_wrap>ul>li:has(> ul)>a::after {
        float: right;
    }
}

/* Pure CSS Dropdown Navigation */
#primary_nav_wrap {
    margin-top: 0;
}

#primary_nav_wrap ul {
    list-style: none;
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
}

#primary_nav_wrap ul a {
    display: block;
    color: var(--lotus-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 40px;
    padding: 0 15px;
    font-family: 'Poiret One', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background 0.2s ease;
}

#primary_nav_wrap ul li {
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
}

#primary_nav_wrap ul li:hover {
    background: rgba(253, 253, 253, 0.15);
}

/* Visual indicator for items with submenus */
#primary_nav_wrap>ul>li:has(> ul)>a::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.8;
}

#primary_nav_wrap ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, var(--mystic-purple) 0%, var(--blooming-magenta) 100%);
    padding: 0;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.4);
    border-radius: 0 0 8px 8px;
}

#primary_nav_wrap ul ul li {
    float: none;
    width: 100%;
}

#primary_nav_wrap ul ul a {
    line-height: 120%;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 500;
}

#primary_nav_wrap ul ul a:hover {
    background: rgba(253, 253, 253, 0.2);
}

#primary_nav_wrap ul ul ul {
    top: 0;
    left: 100%;
}

#primary_nav_wrap ul li:hover>ul,
#primary_nav_wrap ul li:focus-within>ul {
    display: block;
}

/* Touch device support - show dropdown on tap */
@media (hover: none) and (pointer: coarse) {
    /* Only disable pointer events on links that have submenus */
    #primary_nav_wrap>ul>li:has(> ul)>a {
        pointer-events: none;
    }

    #primary_nav_wrap>ul>li:has(> ul) {
        cursor: pointer;
    }

    #primary_nav_wrap>ul>li>ul {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(136, 59, 155, 0.5);
    }

    #primary_nav_wrap>ul>li.open>ul {
        display: block;
    }
}

/* Main */
.site-main {
    min-height: 60vh;
    padding: 0;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    line-height: 1.2;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--lotus-white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    max-width: --max-width;
}

/* Testimonal */
.testimonial-card {
    margin: 0;
    padding: 0;
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #6841c7;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 56px;
    font-weight: 600;
    color: white;
    border: 6px solid var(--lotus-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
    margin-bottom: -70px;
    background-size: cover;
    background-position: center;
}

.testimonial-content {
    background: #6841c7;
    border-radius: 8px;
    padding: 75px 32px 32px;
    width: 100%;
    box-sizing: border-box;
    color: white;
    box-shadow: 0 8px 24px rgba(104, 65, 199, 0.3);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 14px;
    opacity: 0.9;
}

/* Example with image */
.avatar-circle.with-image {
    background-image: url("https://via.placeholder.com/140");
}

/* Testimonial Carousel */
.testimonial-carousel {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-testimonials 30s linear infinite;
}

.testimonial-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 5 - 2rem * 5));
    }
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 1400px;
        width: 100%;
        padding-right: 2rem;
        text-align: left;
    }

    .hero-content>* {
        max-width: 50%;
    }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero .button {
    background: var(--soft-lotus-pink);
    color: var(--deep-aura);
    box-shadow: 0 2px 8px rgba(232, 124, 206, 0.4);
    font-weight: 700;
}

.hero .button:hover,
.hero .button:focus {
    background: var(--blooming-magenta);
    color: var(--lotus-white);
}

.button-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: transparent;
    color: var(--lotus-white);
    border: 2px solid var(--lotus-white);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.button-outline:hover,
.button-outline:focus {
    background: rgba(253, 253, 253, 0.1);
    border-color: var(--soft-lotus-pink);
    color: var(--soft-lotus-pink);
    transform: translateY(-1px);
}

.button-outline svg {
    width: 20px;
    height: 20px;
}

.content-section--light .button-outline {
    color: var(--deep-aura);
    border-color: var(--deep-aura);
}

.content-section--light .button-outline:hover,
.content-section--light .button-outline:focus {
    background: rgba(136, 59, 155, 0.1);
    border-color: var(--blooming-magenta);
    color: var(--blooming-magenta);
}

/* Content Section */
.content-section {
    padding: 4rem 1rem;
    width: 100%;
}

.content-section--carousel {
    height: 70vh;
    padding: 0;
}

.content-section--light {
    background: var(--lotus-white);
}

.content-section--dark {
    background: linear-gradient(135deg, rgba(248, 198, 220, 0.2) 0%, rgba(184, 107, 219, 0.15) 100%);
}

.content-section--accent {
    background: linear-gradient(135deg, var(--soft-lotus-pink) 0%, var(--mystic-purple) 100%);
    color: var(--lotus-white);
    text-align: center;
}

.content-section--accent h2,
.content-section--accent p {
    color: var(--lotus-white);
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-wrapper--split {
    display: grid;
    gap: 3rem;
    align-items: center;
}

/* Two-column layout with 65/35 split */
.two-column-layout {
    display: grid;
    gap: 2rem;
}

.column-left,
.column-right {
    width: 100%;
}

@media (min-width: 768px) {
    .content-wrapper--split {
        grid-template-columns: 1fr 1fr;
    }

    .two-column-layout {
        grid-template-columns: 65% 35%;
    }
}

.content-text {
    width: 100%;
}

.content-image {
    width: 100%;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* SVG Circle Mask for Images */
.masked-image {
    clip-path: url(#circlesMask);
    -webkit-clip-path: url(#circlesMask);
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.content-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.content-section .content-actions .button,
.content-actions .button-outline {
    margin-top: 0;
}

.content-section .button {
    margin-top: 1rem;
}

/* Utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: 1rem;
}

.flow>*+* {
    margin-top: var(--flow-space, 1rem);
}

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

/* Buttons */
.button {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: var(--color-accent);
    color: var(--deep-aura);
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
    background: var(--color-accent-hover);
    color: var(--lotus-white);
    transform: translateY(-1px);
}

[data-theme="dark"] {
    --primary-color: #FCFDFD;
    --secondary-color: #818386;
    --bg-color: #010712;
    --button-color: #818386;
    --h1-color: #FCFDFD;
}

* {
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

.contact-container {
    display: flex;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
}

.left-col {
    width: 45vw;
    height: 100%;
    background-image: url("https://images.pexels.com/photos/931018/pexels-photo-931018.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500");
    background-size: cover;
    background-repeat: no-repeat;
}

.logo {
    width: 10rem;
    max-width: 100%;
    height: auto;
}

.right-col {
    background: var(--bg-color);
    width: 50vw;
    height: 100vh;
    padding: 5rem 3.5rem;
}

.contact-container h1,
label,
button,
.description {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

.contact-container h1 {
    color: var(--h1-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

.contact-container p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
    width: 40vw;
    margin: 0.25rem 0;
}

.contact-container label,
.contact-container .description {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.625rem;
}

.contact-container form {
    width: 31.25rem;
    position: relative;
    margin-top: 2rem;
    padding: 1rem 0;
}

#admissions-form label,
#admissions-form input,
#admissions-form textarea,
#contact-form label,
#contact-form input,
#contact-form textarea,
.contact-container input,
.contact-container textarea,
.contact-container label {
    color: var(--form-text-color);
    font-weight: 500;
    background: var(--form-bg);
    border: none;
    border-bottom: 2px solid var(--form-border-color);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

#admissions-form label,
#contact-form label {
    border: none;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    background: none;
    font-weight: bold;
}

/* Global Form Styles */
input,
textarea,
select {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--form-text-color);
    font-weight: 500;
    background: var(--form-bg);
    border: none;
    border-bottom: 2px solid var(--form-border-color);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom-color: var(--form-focus-color);
}

input::placeholder,
textarea::placeholder {
    color: var(--form-placeholder-color);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Labels */
label {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
    font-family: 'Inter', system-ui, sans-serif;
    border: none;
    background: none;
}

/* Form Buttons */
button[type="submit"],
.form-button {
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, var(--mystic-purple) 0%, var(--blooming-magenta) 100%);
    color: var(--lotus-white);
    min-width: 180px;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.3);
}

button[type="submit"]:hover,
.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(136, 59, 155, 0.4);
}

button[type="submit"]:active,
.form-button:active {
    transform: translateY(0);
}

.contact-container p,
.contact-container placeholder,
.contact-container input,
.contact-container textarea {
    font-family: 'Poiret One', cursive;
}

/* Contact Page Specific Overrides */
.contact-container input,
.contact-container textarea,
.contact-container label {
    width: 40vw;
}

.contact-container h1 {
    font-family: 'Poiret One', cursive;
}

.contact-container label {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 0.875rem;
}

.contact-container input,
.contact-container textarea {
    font-family: 'Poiret One', cursive;
    background: var(--form-bg);
}

.contact-container input::placeholder,
.contact-container textarea::placeholder {
    font-family: 'Poiret One', cursive;
}

.contact-container button {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.contact-column h2 {
    margin-bottom: 1rem;
}

.contact-column p {
    margin-bottom: 1.5rem;
}

/* Contact Form Styles */
.contact-form-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

/* Contact Info Styles */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b86bdb 0%, #e87cce 100%);
    border-radius: 50%;
    color: white;
}

.contact-info-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-info-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-link {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    color: var(--deep-aura);
}

.contact-link:hover {
    color: #e87cce;
}

/* Map Styles */
.contact-map-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bottom Info Section */
.contact-bottom-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-bottom-info h2 {
    margin-bottom: 1rem;
}

.contact-bottom-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-column {
        flex-direction: row;
    }

    .contact-info-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .contact-info-column {
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* Toggle Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    text-align: center;
    width: 160px;
    position: absolute;
    top: 0.5rem;
    right: 0;
}

.description {
    margin-left: 1.25rem;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 0.25rem;
    content: "";
    width: 26px;
    height: 26px;
    left: 0.25rem;
    position: absolute;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--button-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
    .navbar {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }

    .logo-image {
        height: 160px;
        margin: -30px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-lead {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .content-section {
        padding: 6rem 0;
    }
}

/* Footer responsive tweaks */
@media (min-width: 640px) {
    .site-footer {
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: #000;
    color: #fff;
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        width: 100%;
    }

    .left-col {
        width: 100%;
        height: 30vh;
        min-height: 200px;
    }

    .left-col .logo {
        max-width: 100%;
        height: auto;
    }

    .right-col {
        width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
    }

    .contact-container p {
        width: 100%;
    }

    .contact-container form {
        width: 100%;
    }

    .contact-container input,
    .contact-container textarea,
    .contact-container label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.25rem 0.75rem;
        min-height: 50px;
    }

    .logo-image {
        height: 140px;
        margin: -45px 0;
    }

    .contact-container h1 {
        font-size: 1.75rem;
        letter-spacing: 0.3rem;
    }

    .right-col {
        padding: 1.5rem 1rem;
    }

    .logo {
        width: 8rem;
        padding: 1rem;
    }
}

/* Print */
@media print {

    .site-header,
    .site-footer,
    .navbar {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* Dark mode */
@media (prefers-color-scheme: light) {
    :root {
        --color-bg: var(--deep-aura);
        --color-surface: #6B3D7D;
        --color-border: var(--mystic-purple);
        --color-text: var(--lotus-white);
        --color-text-light: var(--soft-lotus-pink);
    }

    body {
        background: var(--color-bg);
        color: var(--color-text);
    }

    .site-header {
        background: #6B3D7D;
    }

    .site-footer {
        background: #6B3D7D;
    }

    .feature-card {
        background: linear-gradient(135deg, rgba(136, 59, 155, 0.4) 0%, rgba(107, 61, 125, 0.4) 100%);
        border-color: var(--mystic-purple);
    }

    .feature-card:hover {
        border-color: var(--soft-lotus-pink);
    }

    .cta-section {
        background: linear-gradient(135deg, rgba(136, 59, 155, 0.3) 0%, rgba(184, 107, 219, 0.3) 100%);
        border-color: var(--mystic-purple);
    }

    input,
    select,
    textarea {
        background: #6B3D7D;
        color: var(--lotus-white);
        border-color: var(--mystic-purple);
    }
}

/* About Page Styles */
.column-left h2 {
    color: var(--mystic-purple);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.column-left p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #444;
}

.column-right h3 {
    color: var(--mystic-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 3px solid var(--blooming-magenta);
    padding-bottom: 0.5rem;
}

.column-right ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.column-right ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #555;
}

.column-right ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lotus-leaf-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.about__treatment-programs {
    background: linear-gradient(135deg, var(--mystic-purple) 0%, var(--blooming-magenta) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.2);
}

.about__treatment-programs h3 {
    color: var(--lotus-white);
    border-bottom: 3px solid var(--lotus-white);
    margin-bottom: 1.5rem;
}

.treatment-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-links li {
    padding: 0;
    margin-bottom: 0.75rem;
}

.treatment-links li::before {
    content: none;
}

.treatment-links a {
    color: var(--lotus-white);
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.treatment-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: var(--lotus-leaf-green);
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .column-left h2 {
        font-size: 2rem;
    }

    .about__treatment-programs {
        padding: 1.5rem;
    }
}

/* About Page Contact Form */
.about-contact-form {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-contact-form h3 {
    font-family: 'Poiret One', cursive;
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-contact-form>p {
    font-family: 'Poiret One', cursive;
    color: var(--deep-aura);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.about-contact-form label {
    font-family: 'Poiret One', cursive;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    border: none;
}

.about-contact-form input,
.about-contact-form textarea {
    font-family: 'Poiret One', cursive;
    background-color: var(--form-bg);
}

.about-contact-form input::placeholder,
.about-contact-form textarea::placeholder {
    font-family: 'Poiret One', cursive;
}

.about-contact-form button {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

/* Contact Page Form - Match Homepage Contact Form */
.contact-form-column {
    color: var(--h1-color);
}

.contact-form-column h2 {
    font-family: 'Poiret One', cursive;
    color: var(--h1-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

.contact-form-column p {
    font-family: 'Poiret One', cursive;
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
}

.contact-form-column label {
    font-family: 'Poiret One', cursive;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

.contact-form-column input,
.contact-form-column textarea {
    font-family: 'Poiret One', cursive;
    color: var(--form-text-color);
    font-weight: 500;
    background: var(--form-bg);
    border: none;
    border-bottom: 2px solid var(--form-border-color);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form-column input::placeholder,
.contact-form-column textarea::placeholder {
    font-family: 'Poiret One', cursive;
}

.contact-form-column button {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

/* Contact Page Map Styles */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    border: 0;
    display: block;
}

/* Contact Page CTA Section */
.contact-cta-actions {
    justify-content: center;
    margin-top: 2rem;
}

/* Forms inherit global styles */

#about-error,
#about-success-msg,
#error,
#success-msg,
#contact-error,
#contact-success-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

#about-error,
#error,
#contact-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

#about-success-msg,
#success-msg,
#contact-success-msg {
    background: #efe;
    color: #3a3;
    border: 1px solid #cfc;
}

@media (max-width: 767px) {
    .about-contact-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .about-contact-form button {
        width: 100%;
    }
}

/* Gallery Page - Diamond Collage */
.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.gallery-intro h2 {
    color: var(--mystic-purple);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-intro p {
    color: #666;
    font-size: 1.125rem;
    line-height: 1.8;
}

.diamond-collage-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 20px;
}

.diamond-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: -170px;
}

.diamond-row:first-child {
    margin-top: 0;
}

.diamond {
    width: 350px;
    height: 350px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background-size: cover;
    background-position: center;
    border: 4px solid var(--lotus-white);
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.2);
    transition: all 0.4s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* Placeholder to maintain layout when diamond is expanded */
.diamond-placeholder {
    pointer-events: none;
}

/* Keep diamond out of flow while transitioning back */
.diamond.transitioning {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.diamond.expanded {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 12px 40px rgba(136, 59, 155, 0.5);
    z-index: 1001;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.8);
    width: 500px;
    height: 500px;
    border-width: 6px;
}

/* Backdrop overlay (created by JavaScript) */
.gallery-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.gallery-backdrop.active {
    opacity: 1;
}

/* Top Row (3 images) */
.diamond-1 {
    background-image: url("https://picsum.photos/seed/facility1/500/500");
}

.diamond-2 {
    background-image: url("https://picsum.photos/seed/facility2/500/500");
}

.diamond-3 {
    background-image: url("https://picsum.photos/seed/facility3/500/500");
}

/* Middle Row (2 images) */
.diamond-4 {
    background-image: url("https://picsum.photos/seed/facility4/500/500");
}

.diamond-5 {
    background-image: url("https://picsum.photos/seed/facility5/500/500");
}

/* Bottom Row (3 images) */
.diamond-6 {
    background-image: url("https://picsum.photos/seed/facility6/500/500");
}

.diamond-7 {
    background-image: url("https://picsum.photos/seed/facility7/500/500");
}

.diamond-8 {
    background-image: url("https://picsum.photos/seed/facility8/500/500");
}

/* Facility Features Grid */
.facility-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: var(--lotus-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(136, 59, 155, 0.2);
}

.feature-item h3 {
    color: var(--mystic-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
}

/* Small hero variant */
.hero--small {
    min-height: 40vh;
}

/* Responsive adjustments for diamond collage */
@media (max-width: 768px) {
    .diamond-collage-container {
        margin: 2rem auto;
        padding: 10px;
        overflow-x: hidden;
    }

    .diamond-row {
        gap: 12px;
        margin-top: -100px;
    }

    .diamond-row:first-child {
        margin-top: 0;
    }

    .diamond {
        width: 220px;
        height: 220px;
        border: 2px solid var(--lotus-white);
    }

    .diamond.expanded {
        width: 90vw;
        height: 90vw;
        max-width: 500px;
        max-height: 500px;
        transform: translate(-50%, -50%) scale(1);
    }

    .gallery-intro h2 {
        font-size: 2rem;
    }

    .facility-features {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .diamond-collage-container {
        overflow-x: hidden;
    }

    .diamond-row {
        gap: 10px;
        margin-top: -80px;
    }

    .diamond-row:first-child {
        margin-top: 0;
    }

    .diamond {
        width: 160px;
        height: 160px;
    }

    .diamond.expanded {
        width: 95vw;
        height: 95vw;
        max-width: 400px;
        max-height: 400px;
    }
}

/* Treatment Page Layout */
.treatment-page {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.treatment-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.treatment-sidebar h2 {
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.treatment-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-nav li {
    margin-bottom: 0.5rem;
}

.treatment-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.treatment-nav a:hover {
    background: rgba(136, 59, 155, 0.1);
    color: var(--mystic-purple);
    border-left-color: var(--mystic-purple);
}

.treatment-nav a.active {
    background: rgba(136, 59, 155, 0.15);
    color: var(--mystic-purple);
    border-left-color: var(--mystic-purple);
    font-weight: 600;
}

.treatment-main {
    min-height: 400px;
}

.treatment-content h1 {
    color: var(--mystic-purple);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.treatment-content h2 {
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.treatment-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.treatment-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.treatment-content ul li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #555;
}

.treatment-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    padding: 1.5rem;
    background: var(--lotus-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(136, 59, 155, 0.2);
}

.highlight-item h3 {
    color: var(--mystic-purple);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.highlight-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Treatment Page */
@media (max-width: 768px) {
    .treatment-page {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .treatment-sidebar {
        position: static;
    }

    .treatment-nav ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }

    .treatment-content h1 {
        font-size: 2rem;
    }

    .treatment-highlights {
        grid-template-columns: 1fr;
    }
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-main {
    min-width: 0;
}

/* Blog Post Card */
.blog-post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--lotus-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(136, 59, 155, 0.2);
}

.blog-post-image {
    width: 300px;
    height: 250px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-date {
    color: #888;
}

.post-category {
    color: var(--mystic-purple);
    font-weight: 600;
}

.blog-post-title {
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-link {
    color: var(--mystic-purple);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 0.75rem;
}

.read-more-link svg {
    transition: transform 0.3s ease;
}

.read-more-link:hover svg {
    transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--mystic-purple);
    color: var(--lotus-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.pagination-btn:hover {
    background: #6a3b7d;
    transform: translateY(-2px);
}

.pagination-info {
    color: #666;
    font-weight: 600;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--lotus-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
}

.sidebar-widget h3 {
    color: var(--mystic-purple);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(136, 59, 155, 0.1);
}

.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-posts-list li {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.latest-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-posts-list a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.latest-posts-list a:hover {
    color: var(--mystic-purple);
}

.sidebar-post-date {
    font-size: 0.875rem;
    color: #888;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
    padding-left: 0;
}

.category-list a:hover {
    color: var(--mystic-purple);
    padding-left: 0.5rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--mystic-purple) 0%, #6a3b7d 100%);
    color: var(--lotus-white);
}

.sidebar-cta h3 {
    color: var(--lotus-white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sidebar-cta .button {
    background: var(--lotus-white);
    color: var(--mystic-purple);
    width: 100%;
    text-align: center;
}

.sidebar-cta .button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive Blog Layout */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 250px;
        gap: 2rem;
    }

    .blog-post-card {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
    }

    .blog-post-image {
        width: 250px;
        height: 200px;
    }

    .blog-post-content {
        padding: 1.5rem 1.5rem 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-post-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-post-image {
        width: 100%;
        height: 250px;
    }

    .blog-post-content {
        padding: 2rem;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-pagination {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .pagination-info {
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 1rem;
    }
}

/* Blog Detail Page */
.blog-detail-content {
    background: var(--lotus-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    margin-bottom: 3rem;
}

.blog-detail-content .lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    font-weight: 500;
}

.blog-detail-content h2 {
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-detail-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-detail-content li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #555;
}

.blog-detail-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(136, 59, 155, 0.05);
    border-left: 4px solid var(--mystic-purple);
    font-style: italic;
    color: #444;
    border-radius: 0 8px 8px 0;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mystic-purple);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.back-to-blog:hover {
    gap: 0.75rem;
}

.back-to-blog svg {
    transition: transform 0.3s ease;
}

.back-to-blog:hover svg {
    transform: translateX(-4px);
}

.share-post {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-post span {
    color: #666;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(136, 59, 155, 0.1);
    color: var(--mystic-purple);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.share-btn:hover {
    background: var(--mystic-purple);
    color: var(--lotus-white);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    color: var(--mystic-purple);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: var(--lotus-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(136, 59, 155, 0.2);
}

.related-post-card a {
    text-decoration: none;
    display: block;
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-category {
    display: inline-block;
    color: var(--mystic-purple);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-post-content h4 {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
}

.related-post-card:hover .related-post-content h4 {
    color: var(--mystic-purple);
}

/* Hero with meta info */
.hero .blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.hero .post-date {
    color: rgba(255, 255, 255, 0.9);
}

.hero .post-category {
    color: var(--lotus-white);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Responsive Blog Detail */
@media (max-width: 768px) {
    .blog-detail-content {
        padding: 2rem;
    }

    .blog-detail-content h2 {
        font-size: 1.5rem;
    }

    .blog-post-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .share-post {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* 404 Error Page */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.error-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    align-items: center;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--mystic-purple);
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--mystic-purple) 0%, #6a3b7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    color: var(--mystic-purple);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.helpful-links {
    background: var(--lotus-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    margin-bottom: 2rem;
}

.helpful-links h3 {
    color: var(--mystic-purple);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpful-links li {
    margin-bottom: 0.75rem;
}

.helpful-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
    padding-left: 1rem;
    position: relative;
}

.helpful-links a:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--mystic-purple);
    transition: transform 0.3s ease;
}

.helpful-links a:hover {
    color: var(--mystic-purple);
    padding-left: 1.5rem;
}

.helpful-links a:hover:before {
    transform: translateX(4px);
}

.crisis-support {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--mystic-purple) 0%, #6a3b7d 100%);
    padding: 2rem;
    border-radius: 12px;
    color: var(--lotus-white);
}

.crisis-icon {
    flex-shrink: 0;
}

.crisis-icon svg {
    stroke: var(--lotus-white);
}

.crisis-text h4 {
    color: var(--lotus-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.crisis-text p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.crisis-text a {
    color: var(--lotus-white);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--lotus-white);
    transition: opacity 0.3s ease;
}

.crisis-text a:hover {
    opacity: 0.8;
}

.error-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

/* Responsive 404 Page */
@media (max-width: 968px) {
    .error-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .error-illustration {
        order: -1;
    }

    .error-illustration svg {
        max-width: 250px;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.75rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .button,
    .error-actions .button-outline {
        width: 100%;
        text-align: center;
    }

    .helpful-links {
        padding: 1.5rem;
    }

    .crisis-support {
        flex-direction: column;
        padding: 1.5rem;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--mystic-purple) 0%, #6a3b7d 100%);
    color: var(--lotus-white);
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--lotus-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Column 1: Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lotus-white);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

/* Column 2 & 3: Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--lotus-white);
    padding-left: 0.5rem;
}

/* Column 4: Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--lotus-white);
}

.contact-item span {
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    width: 100%;
}

.footer-bottom-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--lotus-white);
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-logo {
        max-width: 150px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Admissions Process Section */
.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.process-intro h2 {
    color: var(--mystic-purple);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.process-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Process Cards (similar to testimonials) */
.process-card {
    background: var(--lotus-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(136, 59, 155, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--mystic-purple) 0%, #6a3b7d 100%);
    color: var(--lotus-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(136, 59, 155, 0.3);
}

.process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.process-icon {
    margin-bottom: 1.5rem;
    color: var(--mystic-purple);
}

.process-icon svg {
    stroke: var(--mystic-purple);
}

.process-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.process-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--mystic-purple);
    color: var(--lotus-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: auto;
}

.process-button:hover {
    background: #6a3b7d;
    transform: translateY(-2px);
}

.process-button svg {
    stroke: var(--lotus-white);
}

/* Responsive Admissions Process */
@media (max-width: 968px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-intro h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .process-intro h2 {
        font-size: 1.75rem;
    }

    .process-intro p {
        font-size: 1rem;
    }

    .process-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
