/* ============================================
   KALAD THANGAL TIRUR - MAIN STYLESHEET
   Islamic Inspired Design
   ============================================ */

:root {
    /* Color Palette - Islamic Inspired */
    --primary-teal: #0d5c63;
    --primary-dark: #0a3f45;
    --primary-light: #1a7a82;
    --gold: #c9a24b;
    --gold-light: #e2c275;
    --gold-dark: #a37e2c;
    --cream: #f9f5ec;
    --cream-light: #fdfbf5;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #6b6b7b;
    --border-light: #e8e0d0;
    --shadow-sm: 0 2px 10px rgba(13, 92, 99, 0.1);
    --shadow-md: 0 8px 30px rgba(13, 92, 99, 0.15);
    --shadow-lg: 0 15px 40px rgba(13, 92, 99, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-malayalam: 'Noto Sans Malayalam', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--cream-light);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Islamic Pattern Background - Subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a24b' fill-opacity='0.04'%3E%3Cpath d='M50 50l10-10 10 10-10 10zM0 30l10-10 10 10-10 10zM60 0l10-10 10 10-10 10zM10 70l10-10 10 10-10 10zM30 20l10-10 10 10-10 10zM70 40l10-10 10 10-10 10zM40 70l10-10 10 10-10 10zM0 60l10-10 10 10-10 10zM20 40l10-10 10 10-10 10zM60 30l10-10 10 10-10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--text-medium);
    font-size: 1rem;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Base */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: linear-gradient(135deg, #fdfbf5 0%, #f5f0e4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(201, 162, 75, 0.15);
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(201, 162, 75, 0.3);
}

.section-title {
    color: var(--primary-dark);
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-family: var(--font-malayalam);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-malayalam);
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.preloader-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-teal);
    color: var(--gold);
    font-size: 2rem;
    font-family: var(--font-primary);
    margin-bottom: 20px;
    animation: pulse-icon 1.5s ease-in-out infinite;
    object-fit: contain;
}

.preloader-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-family: var(--font-malayalam);
}

.preloader-word {
    display: inline-block;
    opacity: 0;
    animation: fadeInLetter 0.5s forwards;
}

.preloader-word:nth-child(1) { animation-delay: 0.1s; }
.preloader-word:nth-child(3) { animation-delay: 0.3s; }

.preloader-space {
    display: inline-block;
    width: 16px;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border-light);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    width: 0%;
    animation: loadingBar 2s ease-in-out forwards;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

#scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    font-family: var(--font-malayalam);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-malayalam);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-medium);
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
    font-family: var(--font-malayalam);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: var(--font-malayalam);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 92, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 92, 99, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d5c63 0%, #0a3f45 100%);
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 92, 99, 0.4);
    z-index: 2;
}

.hero-float-shape {
    position: absolute;
    border: 2px solid rgba(201, 162, 75, 0.3);
    border-radius: 50%;
    z-index: 3;
    animation: floatShape 20s infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: -15s;
}

.hero-container {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 20px 60px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-malayalam);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero-greeting {
    display: block;
    color: var(--gold-light);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 8px;
    font-family: var(--font-malayalam);
}

.malayalam-name {
    display: block;
    font-size: 0.7em;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 1px;
    font-family: var(--font-malayalam);
}

/* Static subtitle (no typing animation) */
.hero-static-subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--white);
    margin-top: 8px;
    font-family: var(--font-malayalam);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 20px auto 25px;
    line-height: 1.6;
    font-family: var(--font-malayalam);
}

.hero-welcome-ml {
    display: block;
    font-size: 1.1em;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 12px;
    font-family: var(--font-malayalam);
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.hero-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-info-card i {
    font-size: 1.5rem;
    color: var(--gold);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-malayalam);
}

.info-value {
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-malayalam);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 0 auto 8px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-malayalam);
}

/* ============================================
   FANNED CAROUSEL SECTION
   ============================================ */
.carousel-section {
    background: var(--cream-light);
}

.carousel-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0 44px;
}

.carousel-arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1.5px solid var(--primary-dark);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    z-index: 5;
}

.carousel-arrow:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

.carousel-arrow:hover svg {
    stroke: var(--white);
}

.carousel-arrow:active {
    transform: scale(0.92);
}

.carousel-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-dark);
    transition: stroke 0.2s;
}

.carousel-frame {
    position: relative;
    width: 340px;
    height: 420px;
}

.carousel-card {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 5px solid var(--primary-teal);
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease, box-shadow 0.4s ease;
    box-shadow: 0 18px 30px -18px rgba(20, 15, 5, 0.35);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fanned positions */
.carousel-card[data-pos="prev"] {
    transform: translateX(-64px) rotate(-7deg) scale(0.88);
    z-index: 1;
    opacity: 0.85;
}

.carousel-card[data-pos="active"] {
    transform: translateX(0) rotate(0deg) scale(1);
    z-index: 3;
}

.carousel-card[data-pos="next"] {
    transform: translateX(64px) rotate(7deg) scale(0.88);
    z-index: 1;
    opacity: 0.85;
}

.carousel-card[data-pos="hidden"] {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
}

/* Caption tag on active card */
.carousel-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.3s ease 0.15s;
    font-family: var(--font-malayalam);
}

.carousel-card[data-pos="active"] .carousel-tag {
    opacity: 1;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: -24px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-light);
    border: 1px solid var(--primary-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

/* ============================================
   ABOUT SECTION (Modern Info Panel)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.about-visit-panel {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.about-visit-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11, 94, 94, 0.08), rgba(212, 165, 60, 0.08)),
        radial-gradient(circle at top right, rgba(11, 94, 94, 0.14), transparent 36%);
    pointer-events: none;
}

.about-visit-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-teal));
    color: var(--white);
    padding: 34px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.about-visit-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.about-visit-title {
    margin-top: 26px;
}

.about-visit-title span {
    display: block;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.about-visit-title h3 {
    color: var(--white);
    font-size: 2rem;
    line-height: 1.25;
    margin: 0;
    font-family: var(--font-malayalam);
}

.about-visit-list {
    display: grid;
    gap: 0;
    position: relative;
    z-index: 1;
}

.about-visit-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.about-visit-item:last-child {
    border-bottom: 0;
}

.about-visit-item i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.about-visit-label {
    display: block;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.about-visit-value {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.45;
    font-family: var(--font-malayalam);
}

.about-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: var(--font-malayalam);
}

.about-text {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
    font-family: var(--font-malayalam);
}

.important-message {
    background: rgba(201, 162, 75, 0.14);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 14px 16px;
}

.stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.stat-card {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
    font-family: var(--font-primary);
}

.stat-suffix {
    color: var(--gold-dark);
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
    font-family: var(--font-malayalam);
}

.about-btn {
    margin-top: 10px;
}

.about-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 245, 236, 0.96)),
        var(--cream-light);
}

.about-modern-grid {
    align-items: stretch;
}

.about-info-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.about-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
}

.about-card-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--primary-teal);
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.about-eyebrow {
    display: block;
    color: var(--gold-dark);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-malayalam);
}

.about-card-top h3 {
    color: var(--primary-dark);
    font-size: 1.55rem;
    line-height: 1.35;
    margin: 0;
    font-family: var(--font-malayalam);
}

.about-quick-list {
    display: grid;
    gap: 14px;
}

.about-quick-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    background: var(--cream-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.about-quick-item i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--white);
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.about-quick-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 3px;
    font-family: var(--font-malayalam);
}

.about-quick-item strong {
    display: block;
    color: var(--text-dark);
    line-height: 1.45;
    font-family: var(--font-malayalam);
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-weight: 700;
    font-family: var(--font-malayalam);
}

.about-feature i {
    color: var(--gold-dark);
    flex-shrink: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.about-btn-secondary {
    margin-top: 10px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--gold-light);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-family: var(--font-malayalam);
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: var(--font-malayalam);
}

/* ============================================
   SCHEDULE SECTION (All Days Open)
   ============================================ */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.schedule-card.today {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
}

.schedule-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.day-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-family: var(--font-malayalam);
}

.day-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-primary);
}

.open-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.schedule-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-family: var(--font-malayalam);
}

.schedule-hours i {
    color: var(--gold-dark);
}

.schedule-bar {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    margin-top: 15px;
    overflow: hidden;
}

.schedule-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    border-radius: 3px;
    transition: width 1s ease;
}

.schedule-note {
    text-align: center;
    margin-top: 30px;
    background: rgba(201, 162, 75, 0.1);
    padding: 15px 20px;
    border-radius: 50px;
    display: inline-block;
    color: var(--text-medium);
    font-family: var(--font-malayalam);
}

.schedule-note i {
    color: var(--gold-dark);
    margin-right: 8px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-malayalam);
    text-align: left;
}

.faq-icon {
    color: var(--gold-dark);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.6;
    font-family: var(--font-malayalam);
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    height: 100%;
    min-height: 400px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateX(5px);
    border-color: var(--gold);
}

.location-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.location-card-content h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.location-card-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-primary);
}

.distance-badge {
    display: inline-block;
    background: rgba(201, 162, 75, 0.2);
    color: var(--gold-dark);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.off-days {
    color: #2e7d32;
    font-size: 0.85rem;
}

.location-btn {
    margin-top: 10px;
    align-self: flex-start;
}

/* ============================================
   CONTACT SECTION (Info Only - Form Removed)
   ============================================ */
.contact-info-only {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.contact-intro {
    color: var(--text-medium);
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 3px;
    font-family: var(--font-primary);
}

.contact-value {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.contact-phone {
    display: inline-block;
    color: var(--primary-teal);
    font-weight: 600;
}

.contact-phone:hover {
    color: var(--gold-dark);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
}

.footer-logo .logo-name {
    color: var(--white);
    font-family: var(--font-primary);
}

.footer-logo .logo-sub {
    color: var(--gold-light);
    font-family: var(--font-primary);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-primary);
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
}

.footer-contact i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-contact a {
    color: inherit;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.footer-made-with i {
    color: #e74c3c;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

/* ============================================
   FLOATING CONTACT BUTTONS
   ============================================ */
.floating-whatsapp-button,
.floating-call-button {
    position: fixed;
    right: 30px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    color: var(--white);
    z-index: 1000;
}

.floating-whatsapp-button {
    bottom: 157px;
    background: #25d366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    animation: whatsappButtonPulse 2.2s ease-in-out infinite;
}

.floating-call-button {
    bottom: 95px;
    background: #218c56;
    box-shadow: 0 8px 24px rgba(33, 140, 86, 0.3);
    animation: callButtonPulse 2.2s ease-in-out infinite;
}

.floating-whatsapp-button i,
.floating-call-button i {
    font-size: 1.15rem;
}

.floating-whatsapp-button:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-4px);
}

.floating-call-button:hover {
    background: #176d41;
    color: var(--white);
    transform: translateY(-4px);
}

@keyframes whatsappButtonPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55); }
}

@keyframes callButtonPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(33, 140, 86, 0.3); }
    50% { box-shadow: 0 8px 28px rgba(33, 140, 86, 0.55); }
}

/* ============================================
   CURSOR FOLLOWER
   ============================================ */
#cursor-follower,
#cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    opacity: 0.5;
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

/* ============================================
   ANIMATIONS (Keyframes)
   ============================================ */
@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeInLetter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loadingBar {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-3deg); }
    75% { transform: translate(15px, 5px) rotate(7deg); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reveal animations for scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid,
    .location-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }

    .hamburger {
        display: block;
    }

    .btn-nav {
        display: none;
    }

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

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

    .hero-static-subtitle {
        font-size: 1.1rem;
    }

    .hero-info-cards {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-wrapper {
        max-width: 460px;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: calc(50% - 10px);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr 1fr;
    }

    .carousel-frame {
        width: 280px;
        height: 360px;
    }

    .carousel-card[data-pos="prev"] {
        transform: translateX(-50px) rotate(-6deg) scale(0.85);
    }

    .carousel-card[data-pos="next"] {
        transform: translateX(50px) rotate(6deg) scale(0.85);
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .map-wrapper {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .hero-greeting {
        font-size: 1.3rem;
    }

    .hero-static-subtitle {
        font-size: 1rem;
    }

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

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .carousel-frame {
        width: 240px;
        height: 320px;
    }

    .carousel-card[data-pos="prev"] {
        transform: translateX(-35px) rotate(-5deg) scale(0.82);
    }

    .carousel-card[data-pos="next"] {
        transform: translateX(35px) rotate(5deg) scale(0.82);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-card-icon {
        margin: 0 auto;
    }
}
