/* ================================================
   GLOBAL.CSS — Shree Manohar Ann Kshetra
   Premium Warm Saffron & Deep Navy Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* ── Rich Warm Palette ── */
    --primary: #d4830f;
    --primary-dark: #b86e0a;
    --primary-glow: rgba(212, 131, 15, 0.15);
    --primary-soft: rgba(212, 131, 15, 0.08);

    --navy: #0f1b2d;
    --navy-light: #162a46;
    --navy-muted: #1e3454;

    --accent: #e8c547;
    --accent-soft: rgba(232, 197, 71, 0.12);

    --text-dark: #1a1a2e;
    --text-body: #4a4f5e;
    --text-muted: #8a8fa0;

    --white: #ffffff;
    --off-white: #faf8f5;
    --warm-gray: #f3efe9;
    --cream: #fef9f0;

    /* ── Typography ── */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;

    /* ── Spacing ── */
    --section-padding: 110px;

    /* ── Effects ── */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.4s var(--ease);
    --shadow-xs: 0 2px 8px rgba(15, 27, 45, 0.04);
    --shadow-sm: 0 4px 20px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 27, 45, 0.1);
    --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.14);
    --shadow-glow: 0 8px 30px rgba(212, 131, 15, 0.2);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ── Section Headings ── */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.sub-heading {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sub-heading::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}

.text-left .section-title,
.text-left .section-subtitle,
.text-left.section-title {
    text-align: left;
    margin-left: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(212, 131, 15, 0.25);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes float {

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

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s var(--ease) forwards;
}

/* ── Utility Classes ── */
.text-muted {
    color: var(--text-muted);
}

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-soft {
    background-color: var(--warm-gray);
}

.bg-cream {
    background-color: var(--cream);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}