/* ==============================
   CSS Variables & Theme
   ============================== */
:root {
    --color-orange: #f07520;
    --color-orange-hover: #de6818;
    --color-orange-light: #FFF3E0;
    --color-dark-blue: #1B2A4A;
    --color-dark-blue-light: #2C3E6B;
    --color-dark-blue-hover: #14203D;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F6F9;
    --bg-card: #FFFFFF;
    --text-primary: #1B2A4A;
    --text-secondary: #5A6A8A;
    --text-muted: #8A94A8;
    --border-color: #E8ECF1;
    --shadow-sm: 0 2px 10px rgba(27,42,74,0.06);
    --shadow-md: 0 8px 30px rgba(27,42,74,0.08);
    --shadow-lg: 0 20px 60px rgba(27,42,74,0.12);
    --nav-bg: rgba(27,42,74,0.95);
    --footer-bg: #1B2A4A;
    --footer-text: #C8D0E0;
    --whatsapp-color: #25D366;
}

[data-theme="dark"] {
    --bg-primary: #0F1724;
    --bg-secondary: #152035;
    --bg-card: #1A2744;
    --text-primary: #E8ECF4;
    --text-secondary: #A0ADCA;
    --text-muted: #6B7A9A;
    --border-color: #253352;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --nav-bg: rgba(15,23,36,0.98);
    --footer-bg: #0A1018;
    --footer-text: #8A94A8;
}

/* ==============================
   Base & Reset
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ==============================
   Scrollbar
   ============================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 4px;
}

/* ==============================
   Typography
   ============================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-orange);
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-padding {
    padding: 90px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* ==============================
   Navbar
   ============================== */
#mainNavbar {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#mainNavbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.brand-logo {
    height: 40px;
    width: auto;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

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

.brand-text {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-orange) !important;
    background: rgba(240,117,32,0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240,117,32,0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240,117,32,0.4);
    color: #fff;
}

.btn-outline-accent {
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 24px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: var(--color-orange);
    color: #fff;
    transform: translateY(-2px);
}

#darkModeToggle {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

#darkModeToggle:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    transform: rotate(20deg);
}

/* ==============================
   Hero
   ============================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.75) 50%, rgba(27,42,74,0.92) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-orange);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle 15s infinite linear;
}

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

.hero-section .container {
    z-index: 2;
    position: relative;
    padding: 100px 0 60px;
}

.hero-logo-wrapper {
    padding: 20px 0 30px;
    margin-bottom: 10px;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(240,117,32,0.15);
    border: 1px solid rgba(240,117,32,0.3);
    color: var(--color-orange);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-left: 6px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.hero-buttons {
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    font-weight: 600;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==============================
   Service Cards
   ============================== */
.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-light), rgba(240,117,32,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--color-orange);
    transition: all 0.4s ease;
}

[data-theme="dark"] .service-icon {
    background: linear-gradient(135deg, rgba(240,117,32,0.15), rgba(240,117,32,0.25));
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    height: 160px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-dark-blue);
}

[data-theme="dark"] .service-title {
    color: var(--color-orange);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--color-orange-hover);
}

/* ==============================
   Hajj & Umrah / Ticket Sections
   ============================== */
.hajj-image-wrapper {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -15px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: floatCard 3s ease-in-out infinite;
    z-index: 5;
}

.floating-card i {
    color: var(--color-orange);
    font-size: 1.3rem;
}

.floating-card span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.floating-card-2 {
    bottom: 100px;
    right: auto;
    left: -15px;
    animation-delay: 1.5s;
}

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

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    margin-top: 4px;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

[data-theme="dark"] .feature-item h5 {
    color: var(--color-orange);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Ticket Features */
.ticket-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.ticket-feature:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-orange);
}

.ticket-feature i {
    font-size: 1.5rem;
    color: var(--color-orange);
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--color-orange-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .ticket-feature i {
    background: rgba(240,117,32,0.15);
}

.ticket-feature h6 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.ticket-feature span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==============================
   Why Us Cards
   ============================== */
.why-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(240,117,32,0.05));
    transition: height 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::after {
    height: 100%;
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-orange-light), rgba(240,117,32,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-orange);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .why-icon {
    background: linear-gradient(135deg, rgba(240,117,32,0.15), rgba(240,117,32,0.25));
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .why-card h3 {
    color: var(--color-orange);
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==============================
   Gallery
   ============================== */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(180deg, transparent, rgba(27,42,74,0.9));
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ==============================
   About Section
   ============================== */
.about-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-stat i {
    font-size: 1.4rem;
    color: var(--color-orange);
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--color-orange-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .about-stat i {
    background: rgba(240,117,32,0.15);
}

.about-stat strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.about-stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==============================
   Testimonials
   ============================== */
.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-stars {
    color: var(--color-orange);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==============================
   Contact
   ============================== */
.contact-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-light), rgba(240,117,32,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--color-orange);
}

[data-theme="dark"] .contact-icon {
    background: linear-gradient(135deg, rgba(240,117,32,0.15), rgba(240,117,32,0.25));
}

.contact-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

[data-theme="dark"] .contact-card h4 {
    color: var(--color-orange);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.contact-link {
    color: var(--color-orange) !important;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    font-family: 'Cairo', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(240,117,32,0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E8890C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* ==============================
   Footer
   ============================== */
.footer-section {
    background: var(--footer-bg);
    padding: 70px 0 0;
    color: var(--footer-text);
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--footer-text);
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--color-orange);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: var(--footer-text);
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-right: 8px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.footer-contact i {
    color: var(--color-orange);
    font-size: 1rem;
    width: 20px;
}

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

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

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-btn.facebook { background: #1877F2; }
.social-btn.instagram { background: linear-gradient(135deg, #E4405F, #C13584); }
.social-btn.telegram { background: #0088CC; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.youtube { background: #FF0000; }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

.footer-bottom {
    padding-bottom: 25px;
}

.footer-bottom p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--footer-text);
}

/* ==============================
   WhatsApp Float
   ============================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==============================
   Back to Top
   ============================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240,117,32,0.3);
}

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

.back-to-top:hover {
    background: var(--color-orange-hover);
    transform: translateY(-3px);
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 991.98px) {
    #mainNavbar {
        padding: 12px 15px;
    }
    #mainNavbar .container {
        padding: 0 5px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-stats {
        gap: 30px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .floating-card {
        display: none;
    }
    .navbar-collapse {
        background: var(--nav-bg);
        padding: 16px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    #mainNavbar {
        padding: 10px 20px;
    }
    .brand-logo {
        height: 34px;
    }
    .hero-logo {
        max-width: 200px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-item {
        flex: 0 0 40%;
    }
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-buttons .btn.me-2 {
        margin-right: 0;
    }
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    .footer-section {
        padding: 50px 0 0;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 18px;
        left: 18px;
    }
    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
    .feature-item h5 {
        font-size: 0.92rem;
    }
    .feature-item p {
        font-size: 0.82rem;
    }
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 160px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-badge {
        font-size: 0.78rem;
    }
    .service-card {
        padding: 24px 18px;
    }
    .why-card {
        padding: 25px 20px;
    }
    .gallery-card {
        height: 220px;
    }
}

/* ==============================
   Animation Classes
   ============================== */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

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

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

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

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Loading State */
body.loading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Print Styles */
@media print {
    .whatsapp-float,
    .back-to-top,
    #darkModeToggle,
    #mainNavbar {
        display: none !important;
    }
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
}