/* Reset & Variables */
:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent-gold: #b09756; /* Elegant gold (darker for white bg) */
    --accent-gold-dark: #8c7640;
    --border-light: rgba(0, 0, 0, 0.08);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
}

/* Custom Cursor - Hidden for light theme preference */
.cursor-dot,
.cursor-outline {
    display: none;
}

/* Typography Utility */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

.accent-text {
    color: var(--accent-gold);
    font-style: italic;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px; /* Floating effect */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    padding: 1rem 2rem;
    z-index: 100;
    transition: all 0.4s ease;
    border-radius: 16px; /* Rounded corners */
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.75); /* Frosted transparency */
    backdrop-filter: blur(16px) saturate(180%); /* Strong blur for frosted glass */
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle glassy border */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); /* Soft floating shadow */
    top: 15px;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hide video bg for cleaner frosted look */
.video-header-bg {
    display: none !important; 
}

.logo {
    text-decoration: none;
    color: #ffffff; /* White for better visibility over video */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar.scrolled .logo {
    color: var(--text-primary);
    text-shadow: none;
}

.logo-symbol {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nav-link {
    text-decoration: none;
    color: #ffffff; /* White for better visibility over video */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.contact-btn {
    border: 1px solid rgba(255, 255, 255, 0.5); /* Lighter border for video */
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #ffffff; /* White text */
}

.navbar.scrolled .contact-btn {
    border-color: rgba(0, 0, 0, 0.15); /* Darker border on scroll */
    color: var(--text-primary); /* Dark text on scroll */
}

.contact-btn:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
}

.navbar.scrolled .contact-btn:hover {
    background: var(--text-primary);
    color: #ffffff;
    border-color: var(--text-primary);
}

.contact-btn::after {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    max-width: 1000px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #ffffff; /* Switched to white for better visibility */
    font-weight: 600; /* Added weight for better readability */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-title em {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.95); /* Keep white text over video */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #ffffff;
    border: 1px solid var(--accent-gold);
    font-weight: 500;
}

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

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    color: #ffffff;
}

.scroll-indicator span {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Flip Animation Container */
.flip-container {
    display: block;
    height: 80px;
    position: relative;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #6DD5FA 0%, #FFFFFF 50%, #2980B9 100%); /* Bright Ice Blue/White */
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 2rem;
    line-height: 1.2;
    overflow: hidden;
    margin-top: 20px;
    
}

.flip-item {
    display: none; /* Controlled by JS */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Statistics Section */
.stats {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-label {
    display: block;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.section-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 1rem;
    color: var(--accent-gold);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #222;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.image-wrapper:hover .placeholder-img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: #ffffff;
    padding: 2rem;
    max-width: 250px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.floating-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.floating-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: #f4f5f7; /* Light gray background for contrast */
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border: 1px solid var(--border-light);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-link {
    text-decoration: none;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Vision Section */
.vision {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

.vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}

.vision-content h2 {
    font-size: 3rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.3;
}

.vision-content p {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-details {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.detail-item .label {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.detail-item a, .detail-item p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

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

.contact-form {
    background: #ffffff;
    padding: 4rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.btn-submit {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--text-primary);
    color: #ffffff;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: #f8f9fa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: var(--text-primary);
}

/* Animations & Responsiveness */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Scroll Reveals */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1s var(--transition-medium);
}

.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.active {
    opacity: 1;
    transform: translate(0);
}
.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .navbar {
        width: 95%;
        padding: 1rem;
        top: 10px;
    }
    
    .navbar.scrolled {
        padding: 0.8rem 1rem;
    }

    .hero-title { font-size: 3.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .floating-card { position: static; max-width: 100%; margin-top: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .nav-links {
        display: none; /* Add JS toggle for mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); /* Light bg for mobile menu */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        z-index: 99;
    }
    
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; z-index: 100; }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--accent-gold);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: var(--accent-gold-dark);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.chatbot-widget.active .chatbot-window {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chatbot-header {
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.chatbot-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message.user {
    background-color: var(--accent-gold);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-actions {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366; /* WhatsApp Green */
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.chatbot-input-area {
    padding: 15px;
    background-color: #ffffff;
    border-top: none; /* Removed border since actions section has it */
    display: flex;
    gap: 10px;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 10px 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input-area input:focus {
    border-color: var(--accent-gold);
}

.chatbot-input-area button {
    background-color: var(--text-primary);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.chatbot-input-area button:hover {
    background-color: var(--accent-gold);
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
    }
}
