/* New Color Palette - Professional & Modern */
:root {
    --primary-color: #0f766e;
    --primary-dark: #0d9488;
    --primary-light: #14b8a6;
    --secondary-color: #0891b2;
    --accent-color: #06b6d4;
    --dark-color: #1e293b;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --primary-gradient: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    --secondary-gradient: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --accent-gradient: linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
}

/* Poppins Font */
* {
    font-family: 'Poppins', sans-serif;
}

/* Premium Background - Clean Gradients Only */
body {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f0f9ff 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Soft gradient overlays */
        radial-gradient(ellipse 2000px 1500px at -20% -20%, rgba(15, 118, 110, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 1800px 1600px at 120% 120%, rgba(8, 145, 178, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 1500px 1200px at 50% 10%, rgba(20, 184, 166, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Page Content */
.page-content {
    position: relative;
    z-index: 1;
}

/* Full Screen Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}

.hero-slide {
    min-width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.25) 0%, rgba(8, 145, 178, 0.25) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 20;
    transition: all 0.3s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Navigation - Transparent on Hero */
.nav-transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-transparent.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-transparent .nav-link {
    color: white;
    transition: color 0.3s ease;
}

.nav-transparent.scrolled .nav-link {
    color: #334155;
}

.nav-transparent .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-transparent.scrolled .nav-link:hover {
    color: #0f766e;
}

.nav-transparent #mobile-menu-btn {
    color: white;
    transition: color 0.3s ease;
}

.nav-transparent.scrolled #mobile-menu-btn {
    color: #334155;
}

.nav-transparent .bg-white.bg-opacity-20 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-transparent.scrolled .bg-white.bg-opacity-20 {
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    color: white;
}

/* Premium Card Styles */
.premium-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.15);
}

/* Gradient Buttons */
.btn-gradient-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
    color: white;
}

.btn-gradient-secondary {
    background: var(--secondary-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-gradient-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
    color: white;
}

/* Section Backgrounds */
.section-bg-gradient {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Image Slider Styles (for other sections) */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slider-container {
    display: flex;
    transition: transform 0.6s ease;
}

.slider-item {
    min-width: 100%;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 40px 30px 30px;
    color: white;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Form Styles */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgba(15, 118, 110, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

/* Toggle Switch Styles */
.toggle-switch-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.toggle-switch-label input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch-label input:checked + .toggle-switch-slider {
    background: var(--primary-color);
}

.toggle-switch-label input:checked + .toggle-switch-slider:before {
    transform: translateX(26px);
}

/* Accordion Styles */
.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.1);
}

.accordion-header {
    background: rgba(15, 118, 110, 0.05);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(15, 118, 110, 0.1);
}

.accordion-content {
    display: none;
    background: white;
}

.accordion-content.active {
    display: block;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
    color: var(--primary-color);
}

/* Navigation Premium */
.nav-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

/* Mobile Menu */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

#mobile-menu.hidden {
    max-height: 0;
}

/* Management Panel Mobile Menu */
#sidebar {
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    top: 0;
    bottom: 0;
}

@media (min-width: 768px) {
    #sidebar {
        position: fixed !important;
        transform: translateX(0) !important;
        height: 100vh;
    }
}

#sidebar.show {
    transform: translateX(0);
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

#mobile-overlay {
    transition: opacity 0.3s ease-in-out;
}

/* Premium Number Badge */
.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    margin-bottom: 20px;
}

/* Premium Icon Box */
.icon-box {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Hero content reveals should be visible initially */
.hero-content .reveal {
    opacity: 0;
}

.hero-content .reveal.active {
    opacity: 1;
}

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

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

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

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

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Delay classes for staggered animations */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        font-weight: 400;
    }
    
    .hero-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .hero-nav.prev {
        left: 10px;
    }
    
    .hero-nav.next {
        right: 10px;
    }
    
    .hero-nav:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .hero-nav.prev {
        left: 8px;
    }
    
    .hero-nav.next {
        right: 8px;
    }
}

/* Social Media Icons - Force Left Alignment */
.premium-card .flex.items-center[style*="justify-content"] {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}

.premium-card .flex.items-center a.icon-box {
    margin-right: 0.75rem !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}
