/* ===== GLOBAL TYPOGRAPHY SYSTEM ===== */
/* Standardized font sizes for consistency across the landing page */

/* Base font size for the entire page */
html {
    font-size: 16px; /* Base: 1rem = 16px */
}

body {
    font-size: 1.125rem; /* 18px - Large, readable body text */
    line-height: 1.7;
}

/* Title Hierarchy - Clear and Consistent */
h1, .text-5xl, .text-6xl, .text-7xl, .text-8xl {
    font-size: clamp(2rem, 5vw, 3.5rem) !important; /* Main Titles: 32px - 56px */
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

h2, .text-3xl, .text-4xl {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important; /* Section Titles: 28px - 40px */
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

h3, .text-2xl {
    font-size: clamp(1.5rem, 3vw, 2rem) !important; /* Subsection Titles: 24px - 32px */
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

h4, .text-xl, .text-1xl {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important; /* Card Titles: 20px - 24px */
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Body Text Sizes */
p, .text-base, .text-lg {
    font-size: clamp(1.125rem, 2vw, 1.25rem) !important; /* Body Text: 18px - 20px */
    line-height: 1.7 !important;
}

.text-sm {
    font-size: clamp(1rem, 1.5vw, 1.125rem) !important; /* Small Text: 16px - 18px */
    line-height: 1.6 !important;
}

.text-xs {
    font-size: 0.875rem !important; /* Extra Small: 14px */
    line-height: 1.5 !important;
}

/* Button Text */
button, a.button, .btn {
    font-size: clamp(1.125rem, 2vw, 1.25rem) !important; /* 18px - 20px */
    font-weight: 500 !important;
}

/* Mobile Optimization */
@media (max-width: 640px) {
    body {
        font-size: 1rem; /* 16px on mobile */
    }

    h1, .text-5xl, .text-6xl, .text-7xl, .text-8xl {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important; /* 28px - 40px */
    }

    h2, .text-3xl, .text-4xl {
        font-size: clamp(1.5rem, 6vw, 2rem) !important; /* 24px - 32px */
    }

    h3, .text-2xl {
        font-size: clamp(1.25rem, 5vw, 1.75rem) !important; /* 20px - 28px */
    }
}

img.hero {
  width: 100%;
  height: auto;
  display: block;
}


.right-flower-divider {
top: -14px;
width: 100px;
height: 173px;
transform: rotate(272deg);
Z-INDEX: 1;

}

.left-flower-divider {
top: -6px;
width: 150px;
height: 173px;
transform: rotate(272deg); 
z-index:1;
}













/* Custom styles and animations */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

main {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* Blob animation for hero background */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 20s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Pulse animation for hero placeholder */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Custom button hover effects */
button,
a.button {
    transition: all 0.3s ease;
}

/* Card hover effect enhancement */
.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Backdrop blur support check */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .backdrop-blur-sm {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Custom animations for hero section */
.hero-animate {
    animation: slideInFromLeft 0.8s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero staggered fade-in animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations with staggered delays */
.hero-badge {
    animation: heroFadeInUp 0.6s ease-out 0.1s forwards;
}

.hero-title {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-subtitle-line {
    animation: heroFadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-description {
    animation: heroFadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-button {
    animation: heroFadeInUp 0.8s ease-out 0.9s forwards;
}

.hero-quote {
    animation: heroFadeInUp 0.8s ease-out 1.1s forwards;
}

.hero-book {
    animation: heroFadeInScale 1s ease-out 0.5s forwards;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(10px, -15px);
    }
    66% {
        transform: translate(-10px, -10px);
    }
}

@keyframes floatMedium {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, 15px) scale(1.1);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-float-2 {
    animation: floatMedium 10s ease-in-out infinite;
}

.hero-float-3 {
    animation: float 12s ease-in-out infinite;
}

/* Particle animations */
@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate(30px, -30px);
        opacity: 0.8;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, 20px) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(15px, -25px);
        opacity: 0.9;
    }
}

@keyframes particleFloat4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-25px, 15px) scale(0.8);
        opacity: 0.7;
    }
}

.hero-particle {
    animation: particleFloat1 8s ease-in-out infinite;
}

.hero-particle-2 {
    animation: particleFloat2 10s ease-in-out infinite;
}

.hero-particle-3 {
    animation: particleFloat3 12s ease-in-out infinite;
}

.hero-particle-4 {
    animation: particleFloat4 9s ease-in-out infinite;
}

/* Feature card animation on scroll */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid background pattern (optional) */
.grid-pattern {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* About section - center text on mobile */
@media (max-width: 768px) {
    #about .space-y-4,
    #about .space-y-3 {
        text-align: center;
    }
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
