/* ============================================
   MALLAH'S TAX AND BOOKKEEPING SERVICES
   Custom Stylesheet
   ============================================ */

/* CSS Variables - Logo Colors */
:root {
    --primary-dark: #1a3a5c;
    --primary: #1e4d7b;
    --primary-light: #2a6fa8;
    --accent-gold: #d4a843;
    --accent-gold-light: #e8c96a;
    --accent-teal: #1a8a8a;
    --accent-teal-light: #2ab5b5;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --text-dark: #1e293b;
    --text: #334155;
    --success: #10b981;
    --error: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

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

a:hover {
    color: var(--primary-light);
}

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

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-teal) 100%);
    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;
}

/* Skip preloader on click/tap for impatient users */
#preloader {
    cursor: pointer;
}

#preloader::after {
    content: 'Tap to skip';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadePulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

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

.preloader-logo {
    margin-bottom: 30px;
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.preloader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-gold);
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--accent-gold-light);
    animation: spin 1.2s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: var(--white);
    animation: spin 0.9s linear infinite;
}

.preloader-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.loading-letter {
    display: inline-block;
    animation: letterBounce 1.5s ease-in-out infinite;
}

.loading-letter:nth-child(1) { animation-delay: 0s; }
.loading-letter:nth-child(2) { animation-delay: 0.1s; }
.loading-letter:nth-child(3) { animation-delay: 0.2s; }
.loading-letter:nth-child(4) { animation-delay: 0.3s; }
.loading-letter:nth-child(5) { animation-delay: 0.4s; }
.loading-letter:nth-child(6) { animation-delay: 0.5s; }
.loading-letter:nth-child(7) { animation-delay: 0.6s; }
.loading-letter:nth-child(8) { animation-delay: 0.7s; }
.loading-letter:nth-child(9) { animation-delay: 0.8s; }
.loading-letter:nth-child(10) { animation-delay: 0.9s; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes letterBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   NAVIGATION
   ============================================ */
#mainNav {
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1030;
}

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

#mainNav.scrolled .nav-logo {
    height: 45px;
}

#mainNav.scrolled .brand-text {
    color: var(--primary-dark);
}

#mainNav.scrolled .nav-link {
    color: var(--text-dark);
}

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

#mainNav.scrolled .navbar-toggler {
    border-color: var(--primary);
    color: var(--primary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 55px;
    transition: var(--transition);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.btn-nav {
    background: var(--gradient-accent) !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    border: none !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark) !important;
}

.btn-nav::after {
    display: none !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    animation: dropdownFade 0.3s ease;
}

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

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 12px;
    color: var(--white);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--accent-teal) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: shapeFloat 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-gold);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal-light);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--accent-gold-light);
    top: 20%;
    right: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    bottom: 20%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 10px 25px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s ease forwards;
}

.title-line.highlight {
    color: var(--accent-gold);
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 168, 67, 0.3);
    border-radius: 4px;
    z-index: -1;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--primary-dark);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.4);
}

.btn-hero.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
}

.btn-hero.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image Float */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image-float {
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)) brightness(1); }
    to { filter: drop-shadow(0 20px 60px rgba(212, 168, 67, 0.3)) brightness(1.1); }
}

.hero-logo-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: cardFloat 4s ease-in-out infinite;
}

.float-card i {
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.card-1 { top: -20px; left: -30px; animation-delay: 0s; }
.card-2 { top: 20px; right: -40px; animation-delay: -1s; }
.card-3 { bottom: 20px; left: -20px; animation-delay: -2s; }
.card-4 { bottom: -10px; right: -20px; animation-delay: -3s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    gap: 10px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 1.5s ease-in-out infinite;
}

@keyframes mouseWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 30px;
}

.about-logo {
    width: 250px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(26, 58, 92, 0.2));
}

.about-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-teal) 100%);
    border-radius: 30px;
    opacity: 0.1;
    transform: rotate(-5deg);
    z-index: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.about-text .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Credentials */
.credentials-row {
    margin-top: 60px;
}

.credential-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    height: 100%;
}

.credential-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

.credential-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.credential-card:hover .credential-icon {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
}

.credential-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.credential-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.service-category {
    padding: 60px 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-category:last-child {
    border-bottom: none;
}

.service-category.alt {
    background: var(--white);
    margin: 0 -15px;
    padding: 60px 15px;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.service-icon-large {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(26, 58, 92, 0.3);
    transition: var(--transition);
    animation: iconPulse 3s ease-in-out infinite;
}

.service-category.alt .service-icon-large {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: 0 20px 50px rgba(212, 168, 67, 0.3);
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.service-content > p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    font-weight: 500;
}

.service-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.service-item i {
    font-size: 1.1rem;
    color: var(--accent-gold);
    transition: var(--transition);
    min-width: 24px;
    text-align: center;
}

.service-item:hover i {
    color: var(--white);
    transform: scale(1.2);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-section {
    padding: 100px 0;
    background: var(--white);
}

.feature-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    transform: rotateY(360deg);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Mission Box */
.mission-box {
    background: var(--gradient-primary);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    max-width: 100vw;
    height: 150%;
    max-height: 100vh;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: missionRotate 20s linear infinite;
}

@keyframes missionRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.mission-box h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mission-box p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-teal) 100%);
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.booking-info {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.booking-info .section-tag {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.booking-info h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin: 15px 0 20px;
}

.booking-info > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.booking-features {
    margin-bottom: 30px;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
}

.booking-feature i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.booking-contact-info {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
}

.booking-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
}

.booking-contact-item i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    width: 24px;
}

/* Booking Form */
.booking-form-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.booking-form .form-floating > .form-control,
.booking-form .form-floating > .form-select {
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    font-size: 0.95rem;
}

.booking-form .form-floating > .form-control:focus,
.booking-form .form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 92, 0.1);
}

.booking-form .form-floating > textarea.form-control {
    height: auto;
}

.booking-form .form-floating > label {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

.btn-submit {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.4);
    color: var(--primary-dark);
}

.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
    animation: messageSlide 0.4s ease;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-info-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--light-gray);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

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

.contact-form-wrapper {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--light-gray);
}

.contact-form .form-floating > .form-control {
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    font-size: 0.95rem;
}

.contact-form .form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 92, 0.1);
}

.contact-form .form-floating > textarea.form-control {
    height: auto;
}

.contact-form .form-floating > label {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

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

.footer-links h5::after,
.footer-contact h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

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

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--accent-gold);
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent-gold);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
    padding: 25px 30px;
}

.modal-title {
    color: var(--white);
    font-size: 1.3rem;
}

.modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.8;
}

.modal-body {
    padding: 30px;
}

.modal-body h6 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.modal-footer {
    border-top: 1px solid var(--light-gray);
    padding: 20px 30px;
}

.modal-footer .btn-secondary {
    background: var(--primary);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
}

.modal-footer .btn-secondary:hover {
    background: var(--primary-dark);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 168, 67, 0.4);
    color: var(--primary-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-logo-img {
        width: 200px;
    }

    .float-card {
        display: none;
    }

    .booking-section .row {
        flex-direction: column-reverse;
    }

    .booking-info {
        margin-top: 40px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-hero i {
        margin-left: 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .about-section,
    .services-section,
    .why-choose-section,
    .booking-section,
    .contact-section {
        padding: 60px 0;
    }

    .service-icon-large {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    .booking-form-wrapper,
    .contact-form-wrapper,
    .contact-info-card {
        padding: 25px;
    }

    .mission-box {
        padding: 40px 25px;
    }

    .footer-top {
        padding: 50px 0 30px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .navbar-collapse {
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 15px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    #mainNav .navbar-collapse .nav-link {
        color: var(--text-dark);
    }

    #mainNav .navbar-collapse .nav-link:hover,
    #mainNav .navbar-collapse .nav-link.active {
        color: var(--primary);
    }

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

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .hero-badge span {
        display: none;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

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

    .credential-icon {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .float-card {
        display: none;
    }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
[data-aos] {
    pointer-events: auto;
}

.aos-init:not(.aos-animate) {
    pointer-events: none;
}

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

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

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

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

/* Selection color */
::selection {
    background: var(--accent-gold);
    color: var(--primary-dark);
}
