/* === Root & Colors === */
:root {
    --primary-color: #6699ff;
    --accent-color: #00b4d8;
    --text-color: #222;
    --header-bg: #f8f9fa;
    --button-color: #009846;
}

body.dark {
    --text-color: #eee;
    --header-bg: #111;
}

body.light {
    --text-color: #222;
    --header-bg: #f8f9fa;
}

/* === Global Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

/* === Top Bar === */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    padding: 6px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.top-bar .left-items {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clients-info {
    font-weight: 600;
    color: var(--primary-color);
}

.right-items {
    display: flex;
    align-items: center;
}

/* === Theme Toggle Switch === */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    transition: 0.4s;
}

.slider .icon {
    font-size: 0.9rem;
    pointer-events: none;
}

.slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.theme-switch input:checked+.slider::before {
    transform: translateX(32px);
}

/* === Navigation === */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-site {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.logo-site .site-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 8px;
    transition: color 0.3s;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
    color: grey;

}

/* === Dropdown menus === */
.nav-links li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    z-index: 10;
}

.submenu li a {
    display: block;
    padding: 8px 20px;
    color: #6699ff;
    text-decoration: none;
    font-weight: 500;
}

.nav-links li.dropdown:hover>.submenu {
    display: block;
}

body.dark .submenu {
    background: #1e1e1e;
}

body.dark .submenu li a {
    color: #f1f1f1;
}

body.dark .submenu li a:hover {
    background: #333;
    color: var(--accent-color);
}

/* ---------- LOADER (full page overlay) ---------- */
.loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.06), rgba(3, 7, 18, 0.02));
    z-index: 9999;
    transition: opacity .5s ease, visibility .4s ease;
}

.loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    /* background: rgba(255, 255, 255, 0.686); */
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.12);
    backdrop-filter: blur(2px);
}

.logo-wrap {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #eef7ff);
    animation: logo-bob 2.2s ease-in-out infinite;
}

.logo-wrap img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
    transform-origin: center;
    animation: logo-spin 3s linear infinite;
}

@keyframes logo-bob {
    0% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-6px) scale(1.03)
    }

    100% {
        transform: translateY(0) scale(1)
    }
}

@keyframes logo-spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loader-percentage {
    font-weight: 700;
    font-size: 18px;
    color: whitesmoke;
    /*var(--muted)*/
}

.loader-sub {
    font-size: 13px;
    color: whitesmoke;
    /*var(--muted)*/
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* === Hero Sections === */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('Images/hero/hero.png') center/cover no-repeat;

    color: white;
    text-align: center;
    text-shadow: 0 0 5px #6699ff;
    padding: 120px 20px;
}

/* Hero Text */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #6699ff, 0 0 15px #6699ff, 0 0 25px #6699ff, 0 0 40px #6699ff;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 0 0 3px #6699ff, 0 0 8px #6699ff, 0 0 11px #6699ff, 0 0 18px #6699ff;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 120px 20px;
        background-position: center;
    }

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

    .hero-subtext {
        font-size: 1rem;
    }
}


.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-color);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #005f8f;
}

body.dark .btn-primary {
    background: var(--accent-color);
}

body.dark .btn-primary:hover {
    background: var(--primary-color);
}


/* === Services Section === */
.services-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f9fbfd, #e6f0fa);
}

.service-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
}

.service-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 2rem;
    color: #0078d4;
    margin-bottom: 10px;
}

/* === DARK MODE: Services Section === */
body.dark .services-section {
    background: linear-gradient(to bottom, #0b0f14, #10161d);
    color: #e5eaf1;
}

body.dark .service-card {
    background: #1a1f27;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

body.dark .service-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 120, 212, 0.3);
}

body.dark .service-card i {
    color: #4da8ff;
}

body.dark .service-card h3 {
    color: #ffffff;
}

body.dark .service-card .brand-name {
    color: #4da8ff;
}

body.dark .service-card p {
    color: #cdd6e0;
}

body.dark .service-card a {
    color: #4da8ff;
    text-decoration: none;
    font-weight: 500;
}

body.dark .service-card a:hover {
    color: #70baff;
    text-decoration: underline;
}

body.dark .service-logo img {
    filter: brightness(0.9) contrast(1.1);
    transition: 0.3s ease;
}

body.dark h2 {
    color: #ffffff;
}


body.dark .make-glow {}

.dark-logo {
    display: none;
}

body.dark .light-logo {
    display: none;
}

body.dark .dark-logo {
    display: block;
    width: 5em;
}

body.dark .services-section {
    background: linear-gradient(to bottom, #0b0f14, #10161d);
    color: #e5eaf1;
}

body.dark .service-card {
    background: #1a1f27;
    box-shadow: 0 0 10px rgba(77, 168, 255, 0.3),
        0 0 20px rgba(77, 168, 255, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Glow effect on hover */
body.dark .service-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 0 15px rgba(77, 168, 255, 0.6),
        0 0 25px rgba(77, 168, 255, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Dark mode icons and text */
body.dark .service-card i {
    color: #4da8ff;
}

body.dark .service-card h3 {
    color: #ffffff;
}

body.dark .service-card .brand-name {
    color: #4da8ff;
}

body.dark .service-card p {
    color: #cdd6e0;
}

body.dark .service-card a {
    color: #4da8ff;
    text-decoration: none;
    font-weight: 500;
}

body.dark .service-card a:hover {
    color: #70baff;
    text-decoration: underline;
}

/* Optional: logo glow (shape-based) */
body.dark .service-logo img {
    filter: drop-shadow(0 0 5px #4da8ff) drop-shadow(0 0 10px #4da8ff) drop-shadow(0 0 15px #4da8ff);
    transition: all 0.3s ease;
}


/* === Price Section === */
.price-section {
    background: #029b024a;
    padding: 80px 20px;
    text-align: center;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

.price-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.price {
    color: #0078d4;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 10px;
}

.price-card ul {
    text-align: center;
    list-style-position: inside;
    list-style-type: circle;
}

.price-card ul::marker {
    color: red;
}

/* === Dark Mode: Prices Section === */
body.dark .price-section {
    background: #0f1118;
    /* deep dark background */
    color: #e5eaf1;
    /* light text outside cards */
    text-align: center;
    padding: 80px 20px;
}

body.dark .price-section h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

body.dark .price-section .subtitle {
    color: #cdd6e0;
    margin-bottom: 40px;
}

/* Price grid remains the same */
body.dark .price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

/* Individual price card */
body.dark .price-card {
    background: #1a1f27;
    /* dark card background */
    padding: 25px;
    border-radius: 16px;
    box-shadow:
        0 0 10px rgba(77, 168, 255, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Hover effect for card glow */
body.dark .price-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 0 20px rgba(77, 168, 255, 0.5),
        0 0 30px rgba(77, 168, 255, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.7);
}

/* Price and headings inside card */
body.dark .price-card h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

body.dark .price-card .price {
    color: #4da8ff;
    /* accent color for price */
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 10px;
}

/* List items */
body.dark .price-card ul li {
    color: #cdd6e0;
    line-height: 1.6;
}

/* Buttons */
body.dark .price-card .btn-primary {
    background-color: #4da8ff;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

body.dark .price-card .btn-primary:hover {
    background-color: #70baff;
    transform: scale(1.05);
}

body.dark .price-card .btn-primary:hover {
    background-color: #70baff;
    /* lighter accent */
    transform: scale(1.05);
    /* subtle grow */
    box-shadow: 0 0 10px rgba(77, 168, 255, 0.6);
    /* glow effect */
}

/* Dark mode background distinction for Pricing Section */
body.dark .price-section {
    background: #1b1f2a;
    /* slightly different dark shade */
    color: #e5eaf1;
    text-align: center;
    padding: 80px 20px;
}


body.dark .price-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 20px rgba(77, 168, 255, 0.5), 0 8px 25px rgba(0, 0, 0, 0.7);
}


/* === Books Section === */
.books-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9fbfd;
    transition: background 0.3s ease, color 0.3s ease;
}

.books-section h2,
.books-section p.subtitle {
    margin-bottom: 30px;
}

/* Books grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    perspective: 1000px;
    /* 3D effect */
}

/* Book card */
.book-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.3s ease;
    cursor: pointer;
}

/* Shadow behind the book (like on a table) */
.book-card::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 15px;
    background: rgba(0, 0, 0, 0.15);
    filter: blur(12px);
    border-radius: 50%;
    z-index: 0;
}

/* Book cover image */
.book-card img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    transform: rotateX(3deg) rotateY(-5deg);
    /* soft tilt */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
    /* shadow for 3D effect */
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.3s ease;
    z-index: 1;
}

/* Hover effect: lift book + straighten + glow */
.book-card:hover img {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
}

/* Book titles and prices */
.book-title {
    color: #005fa3;
    font-weight: bold;
    text-transform: uppercase;
    margin: 12px 0 8px;
    transition: color 0.3s ease;
}

.book-prices {
    color: #0078d4;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Dark mode for books */
body.dark .books-section {
    background: #121318;
    /* dark background */
    color: #e5eaf1;
}

body.dark .book-card {
    background: #1a1f27;
}

body.dark .book-card img {
    filter: brightness(0.95) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

body.dark .book-title {
    color: #70baff;
}

body.dark .book-prices {
    color: #4da8ff;
}

/* Buy button */
.book-card .buy-now-btn {
    margin-top: 12px;
    padding: 10px 18px;
    background: #0078d4;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card .buy-now-btn:hover {
    background: #4da8ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 120, 212, 0.4);
}

/* Dark mode button */
body.dark .book-card .buy-now-btn {
    background: #4da8ff;
    color: #121318;
}

body.dark .book-card .buy-now-btn:hover {
    background: #70baff;
    color: #121318;
}

/* Book card glow */
.book-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.3s ease;
    cursor: pointer;
    /* subtle glow */
    box-shadow: 0 8px 20px rgba(0, 120, 212, 0.15);
}

/* Hover effect: lift + stronger glow */
.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.25);
}

/* Dark mode glow */
body.dark .book-card {
    background: #1a1f27;
    box-shadow: 0 8px 20px rgba(77, 168, 255, 0.2);
}

body.dark .book-card:hover {
    box-shadow: 0 15px 40px rgba(77, 168, 255, 0.35);
}

/* === Booking Section === */
.booking-section {
    background: #e2f0ff;
    /* lighter, distinct from books-section #f9fbfd */
    padding: 60px 20px;
    text-align: center;
    border-radius: 16px;
    max-width: 700px;
    margin: 50px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* slightly stronger shadow */
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Mode Booking Section */
body.dark .booking-section {
    background: #1a1f27;
    /* distinct dark color from books section */
    color: #e5eaf1;
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.3);
    /* subtle glow in dark mode */
}

.booking-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.booking-form label {
    font-weight: 600;
    color: #005fa3;
    margin-bottom: 5px;
    text-align: center;
    display: block;
}

/* Dark mode label color */
body.dark .booking-form label {
    color: #4da8ff;
}

.booking-form select,
.booking-form button {
    display: block;
    width: 80%;
    max-width: 300px;
    padding: 10px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
    transition: background 0.3s, color 0.3s, border 0.3s;
}

/* Dark mode select inputs */
body.dark .booking-form select {
    background: #2a3140;
    color: #e5eaf1;
    border: 1px solid #4da8ff;
}

/* Button styles */
.booking-form button {
    background-color: #0078d4;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.booking-form button:hover {
    background-color: #005fa3;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.45);
}

/* Dark mode button */
body.dark .booking-form button {
    background-color: #4da8ff;
    color: #1a1f27;
    box-shadow: 0 4px 12px rgba(77, 168, 255, 0.4);
}

body.dark .booking-form button:hover {
    background-color: #70baff;
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.6);
}


/* === Reviews Section === */
.reviews-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0fff4 100%);
    padding: 80px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.reviews-section h2 {
    font-size: 2.2rem;
    color: #002b5c;
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === Grid Layout === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

/* === Review Cards === */
.review-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px 25px;
    border: 2px solid rgba(102, 153, 255, 0.4);
    /* Theme blue accent */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    color: #333;
    position: relative;
    animation: fadeInUp 0.8s ease forwards, pulseGlow 3.5s ease-in-out infinite;
}

/* === Hover Effect === */
.review-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(102, 153, 255, 0.8);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12),
        0 0 25px rgba(102, 153, 255, 0.6);
}

/* === Text === */
.review-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

/* Decorative Quote */
.review-card::before {
    content: "“";
    font-size: 3.5rem;
    color: rgba(102, 153, 255, 0.25);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    z-index: 0;
}

/* Reviewer Name */
.review-card h4 {
    font-weight: 600;
    font-size: 1rem;
    color: #009846;
    /* Theme green */
    margin-top: 10px;
    text-align: right;
    letter-spacing: 0.3px;
}

/* === Fade In Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* === Pulsing Glow Animation === */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 153, 255, 0.3),
            0 0 20px rgba(102, 153, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 20px rgba(102, 153, 255, 0.6),
            0 0 30px rgba(102, 153, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 10px rgba(102, 153, 255, 0.3),
            0 0 20px rgba(102, 153, 255, 0.15);
    }
}

/* === Animation Stagger === */
.review-card:nth-child(1) {
    animation-delay: 0.2s;
}

.review-card:nth-child(2) {
    animation-delay: 0.4s;
}

.review-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* === Responsive === */
@media (max-width: 768px) {
    .reviews-section h2 {
        font-size: 1.8rem;
    }

    .review-card {
        padding: 25px 20px;
    }
}

/* === Contact Section === */
.contact-section {
    background: linear-gradient(135deg, #e8f1ff 0%, #fefefe 100%);
    padding: 90px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Section Title */
.contact-section h2 {
    font-size: 2.2rem;
    color: #002b5c;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Subtitle / Description */
.contact-section p {
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Contact Info Container */
.contact-info {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 153, 255, 0.4);
    box-shadow: 0 0 20px rgba(102, 153, 255, 0.1);
    border-radius: 18px;
    padding: 40px 25px;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease forwards, contactGlow 4s ease-in-out infinite;
}

/* Glowing Border Effect */
@keyframes contactGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 153, 255, 0.2),
            0 0 20px rgba(0, 152, 70, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(102, 153, 255, 0.5),
            0 0 35px rgba(0, 152, 70, 0.3);
    }

    100% {
        box-shadow: 0 0 10px rgba(102, 153, 255, 0.2),
            0 0 20px rgba(0, 152, 70, 0.1);
    }
}

/* Contact Details */
.contact-info p {
    font-size: 1.05rem;
    color: #333;
    margin: 15px 0;
    transition: color 0.3s ease;
}

/* Emphasis (Labels like Phone, Email, etc.) */
.contact-info strong {
    color: #009846;
    /* Theme green */
    font-weight: 600;
}

/* Hover Animation */
.contact-info p:hover {
    color: #6699ff;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

.contact-info a {
    color: #6699ff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a:hover {
    color: #009846;
    text-shadow: 0 0 5px rgba(102, 153, 255, 0.4);
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

/* === Improved Cart Icon === */
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
transition: 0.3s ease;
}


.btn-primary:disabled {
    background: #b3c6ff;
    cursor: not-allowed;
}


.btn-primary:hover:not(:disabled) {
    background: #254eda;
}


.btn-secondary {
    display: block;
    text-align: center;
    background: #009846;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}


.btn-secondary:hover {
    background: #e0e0e0;
}

.proceed-btn a {
    text-decoration: none;
    color: #fff;
}

.proceed-btn {
    padding-right: 20px;
}

.info {
    text-align: center;
    color: #6699ff;
}

.proceed-btn {
    background-color: #6699ff;
    color: #fff;
    padding: 2%;
    border-radius: 30px;
    align-items: center;
    font-weight: 900;
    border-style: none;
    display: block;
    text-align: center;
    font-size: 16px;
    transition: 0.3s ease;
    font-weight: bold;
    cursor: pointer;

}

/* === Footer Styles === */
.site-footer {
    background-color: #002b5c;
    /* Dark blue background */
    color: #fefefe;
    padding: 60px 20px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-follow {
    text-align: center;
    margin-top: 30px;
}

.footer-follow h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Grid - keep columns side by side on all screen sizes */
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* prevent stacking on mobile */
    gap: 30px;
}

.footer-column {
    flex: 1;
    /* equal width columns */
    margin: 0 10px;
    min-width: 150px;
    /* prevent shrinking too much on small screens */
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #fefefe;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #fefefe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #009846;
    /* Theme green hover */
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.footer-socials a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-socials img.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-socials a:hover img.social-icon {
    transform: scale(1.1);
    filter: brightness(1.5);
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

.footer-socials img.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
    /* makes black icons turn white */
}

/* === Individual brand hover colors === */
.footer-socials a.facebook:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.8);
    /* Facebook blue */
}

.footer-socials a.instagram:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.8);
    /* Instagram pink/red */
}

.footer-socials a.x:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    /* X (white glow) */
}

.footer-socials a.tiktok:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.8);
    /* TikTok pink/red accent */
}

.footer-socials a.whatsapp:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.8);
    /* WhatsApp green */
}

.footer-socials a.youtube:hover img.social-icon {
    filter: none;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    /* YouTube red */
}



/* Footer Copy */
.footer-copy {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 35px;
    font-size: 0.9rem;
    color: #bfc7d6;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-copy small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #fefefe;
}

/* Mobile View - keep layout same as desktop */
@media (max-width: 70px) {
    .footer-grid {
        flex-wrap: nowrap;
        /* prevent stacking */
        overflow-x: auto;
        /* allow horizontal scroll if needed */
    }

    .footer-column {
        flex: 1 0 200px;
        /* fixed minimum width per column */
        margin: 0 10px;
    }

    .footer-socials {
        justify-content: flex-start;
        /* keep left-aligned on mobile */
    }
}

/***********************************
 SERVICES PAGE STYLES
***********************************/
.service-page {
    padding: 6rem 10%;
    background: var(--bg-main, #fdfdfd);
    color: var(--text-main, #222);
    transition: background 0.3s ease, color 0.3s ease;
}

.service-page h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent, #004aad);
    font-weight: 700;
}

.service-page p {
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-muted, #444);
}

.brand-arms {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.brand-arms p {
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-list li {
    background: linear-gradient(145deg, #ffffff, #f5f8ff);
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    margin: 0.8rem 0;
    padding: 1rem 1.2rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.service-list a {
    color: var(--accent, #004aad);
    font-weight: 600;
    text-decoration: none;
}

.service-list a:hover {
    text-decoration: underline;
}

/* === Each Service Section === */
.service-arm {
    margin: 4rem auto;
    padding: 2.5rem 2rem;
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-arm:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-arm h2 {
    font-size: 1.8rem;
    color: var(--accent, #004aad);
    margin-bottom: 0.8rem;
}

.service-arm h2 a {
    color: inherit;
    text-decoration: none;
}

.service-arm h2 a:hover {
    text-decoration: underline;
}

.service-arm p {
    color: var(--text-muted, #444);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Learn More Button */
.learn-more {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accent, #004aad);
    color: #fff;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: #013c8a;
    transform: translateY(-2px);
}

/* Therapy types (list of sub-links) */
.therapy-types {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.therapy-types li a {
    display: inline-block;
    background: #eef3ff;
    color: var(--accent, #004aad);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.95rem;
}

.therapy-types li a:hover {
    background: var(--accent, #004aad);
    color: #fff;
}

/* Divider */
.service-page hr {
    border: none;
    border-top: 1px solid #e0e6f0;
    margin: 3.5rem auto;
    width: 90%;
}

/***********************************
   DARK MODE
  ***********************************/
body.dark .service-page {
    background: #0f172a;
    color: #f8fafc;
}

body.dark .service-arm {
    background: #1e293b;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

body.dark .service-arm p,
body.dark .service-list li {
    color: #cbd5e1;
}

body.dark .service-list li {
    background: #1e293b;
    border-color: #334155;
}

body.dark .learn-more {
    background: #2563eb;
}

body.dark .learn-more:hover {
    background: #1d4ed8;
}

/***********************************
   RESPONSIVE
  ***********************************/
@media (max-width: 1024px) {
    .service-page {
        padding: 5rem 7%;
    }
}

@media (max-width: 768px) {
    .service-page {
        padding: 4rem 5%;
    }

    .service-arm {
        padding: 1.8rem 1.4rem;
    }

    .therapy-types {
        flex-direction: column;
    }

    .service-arm h2 {
        font-size: 1.5rem;
    }

    .service-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .learn-more {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ================================
   THERAPY PAGE STYLES
   ================================ */

.therapy-page {
    padding: 4rem 8%;
    background: var(--background, #fafafa);
    color: var(--text-color, #222);
    font-family: "Poppins", "Segoe UI", sans-serif;
}

/* === Intro Section === */
.therapy-page .intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.therapy-page .intro h1 {
    font-size: 2.5rem;
    color: var(--primary, #1e3a8a);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.therapy-page .intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

/* === Therapy Types Section === */
.therapy-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.therapy-category {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-top: 5px solid var(--accent, #3b82f6);
    transition: all 0.3s ease;
}

.therapy-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.therapy-category h2 {
    color: var(--primary, #1e3a8a);
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.therapy-category p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.therapy-category ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.therapy-category ul li {
    list-style-type: disc;
    color: #333;
    margin-bottom: 0.4rem;
    font-size: 0.93rem;
}

/* === Pricing Section === */
.therapy-pricing {
    text-align: center;
    margin-top: 4rem;
}

.therapy-pricing h2 {
    color: var(--primary, #1e3a8a);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.therapy-pricing p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* === Price Card === */
.price-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--accent, #3b82f6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
    font-size: 1.4rem;
    color: var(--primary, #1e3a8a);
    margin-bottom: 0.8rem;
}

.price-card .price {
    font-size: 1.8rem;
    color: var(--accent, #2563eb);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.price-card .price span {
    font-size: 0.9rem;
    color: #666;
}

.price-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.price-card ul {
    text-align: left;
    margin-bottom: 1.2rem;
    padding-left: 1.2rem;
}

.price-card ul li {
    font-size: 0.93rem;
    color: #333;
    margin-bottom: 0.4rem;
    list-style-type: disc;
}

/* === Buttons === */
.btn-primary {
    display: inline-block;
    background: var(--primary, #1e3a8a);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .therapy-page {
        padding: 3rem 5%;
    }

    .therapy-page .intro h1 {
        font-size: 2rem;
    }

    .price-card {
        padding: 1.6rem;
    }

    .therapy-category {
        padding: 1.6rem;
    }
}

@media (max-width: 480px) {
    .therapy-page .intro p {
        font-size: 0.95rem;
    }

    .price-card .price {
        font-size: 1.5rem;
    }
}

/* === Dark Mode Support === */
body.dark .therapy-page {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark .therapy-category,
body.dark .price-card {
    background: #1e293b;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

body.dark .therapy-category h2,
body.dark .price-card h3,
body.dark .therapy-pricing h2 {
    color: #60a5fa;
}

body.dark .btn-primary {
    background: #2563eb;
}

body.dark .btn-primary:hover {
    background: #3b82f6;
}