:root {
    --primary-color: #225779; /* Deep Ocean Blue */
    --secondary-color: #1d4966; /* Darker Ocean Blue */
    --accent-color: #3a7ca5; /* Light Ocean Blue */
    --bg-color: #fafafa; /* Light Gray */
    --text-color: #333;
    --white: #fff;
    --shadow: 0 10px 20px rgba(34, 87, 121, 0.15); /* Blue-tinted shadow */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smooth ease */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 10px;
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(34, 87, 121, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 87, 121, 0.5);
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .nav-links {
    flex-direction: row-reverse;
}

.rtl h2::after {
    margin-right: 0; /* Reset default */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.slide-left {
    opacity: 0;
}

.slide-left.visible {
    animation: slideInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.slide-right {
    opacity: 0;
}

.slide-right.visible {
    animation: slideInRight 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Counter Stats */
.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Card Styling (Services, Store, Testimonials) */
.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Calendar Styling */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-top: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.day {
    padding: 15px;
    background: #f8f9fa;
    border: none;
    text-align: center;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 600;
}

.day:hover:not(.disabled) {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.day.selected {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(34, 87, 121, 0.4);
}

.day.disabled {
    background-color: #f0f0f0;
    color: #ddd;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: var(--shadow);
        clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
    }

    .nav-links.active {
        clip-path: circle(1200px at 90% -10%);
    }

    .hamburger {
        display: block;
    }

    .testimonials-grid,
    .book-pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .author-bio-card {
        flex-direction: column !important;
    }

    .author-bio-image {
        width: 100% !important;
        height: 300px !important;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Author Bio Section */
.author-bio-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 80px 0;
}

.author-bio-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.author-bio-content {
    flex: 1;
}

.author-bio-image {
    flex: 1;
    position: relative;
    height: 400px;
}

/* Floating Leaves Animation */
.floating-leaf {
    position: absolute;
    font-size: 30px;
    animation: float 3s ease-in-out infinite;
    opacity: 0.7;
}

.leaf-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.leaf-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Book Pricing Section */
.book-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.featured-pricing {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.featured-pricing:hover {
    transform: scale(1.1);
}

.pricing-card .btn {
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Pulse Animation for Featured Card */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(58, 124, 165, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(58, 124, 165, 0.5);
    }
}

.featured-pricing {
    animation: pulse 2s infinite;
}

/* Footer Animation */
@keyframes footerPulse {
    0% {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }
    50% {
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    }
    100% {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }
}

footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -5px 20px rgba(34, 87, 121, 0.2);
}
