/* CSS Variables */
:root {
    --orange: #ff7a18;
    --orange-rgb: 255, 122, 24;
    --dark: #0d0d0d;
    --dark-soft: #1a1a1a;
    --dark-rgb: 13, 13, 13;
    --text-muted: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hard: 0 20px 40px rgba(0, 0, 0, 0.5);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    :root {
        --text-muted: #b0b0b0;
    }
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    color: #ffffff;
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1rem, 2vw, 1.5rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1.25rem); }

p {
    margin: 0 0 1rem 0;
    color: var(--text-muted);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-orange {
    color: var(--orange) !important;
}

/* Navigation */
.main-nav {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.scrolled {
    background: rgba(13, 13, 13, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--orange);
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--orange) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--orange) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange), #ff9500);
    color: #000000;
    padding: 14px 28px;
    box-shadow: var(--shadow-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #ff9500, #ffb040);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-hard);
}

.btn-orange:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline-orange {
    border: 2px solid var(--orange);
    background: transparent;
    color: var(--orange);
    padding: 14px 28px;
}

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

.btn-xl {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange), #ff9500);
    color: #000000;
    box-shadow: var(--shadow-hard);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.btn-floating.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 40%, rgba(255, 122, 24, 0.15), transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(255, 122, 24, 0.1), transparent 45%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
}

.badge {
    font-family: var(--font-display);
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.2), rgba(255, 122, 24, 0.05));
    border: 1px solid rgba(255, 122, 24, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    background: linear-gradient(135deg, #ffffff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, var(--orange), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.8;
}

.hero-stats {
    animation: fadeInUp 0.8s ease-out;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 24, 0.5);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 2rem;
    font-family: var(--font-display);
    display: block;
    margin-bottom: 5px;
}

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

.hero-image-container {
    position: relative;
    display: inline-block;
    animation: fadeInRight 1s ease-out;
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-image {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 122, 24, 0.15);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.hero-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 122, 24, 0.25);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.hero-image-container:hover .image-overlay {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--orange);
    transform: translateY(-5px);
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
    border-color: rgba(255, 122, 24, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), transparent);
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.2), transparent);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--orange);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-text {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, rgba(255, 122, 24, 0.05), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 24, 0.3);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), transparent);
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--orange);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
}

.about-content h2 {
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 24, 0.3);
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-soft), #2a2a2a);
    border: 1px solid var(--glass-border);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.2), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 122, 24, 0.1), transparent 50%);
    opacity: 0.5;
}

.image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.contact-info h4 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.contact-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 122, 24, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), transparent);
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--orange);
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
    color: #ffffff;
}

/* Fix dropdown text visibility */
.form-select {
    color: #ffffff;
}

.form-select option {
    background: #0d0d0d;
    color: #ffffff;
}

.form-select option:hover {
    background: var(--orange);
    color: #000000;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5, .footer h6 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

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

.footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--orange);
    color: #000000;
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow-hard);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 3s infinite;
    opacity: 1 !important;
    visibility: visible !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

/* Ensure WhatsApp icon is visible */
.whatsapp-float i {
    font-size: 2rem;
    color: #ffffff;
    z-index: 1001;
}

/* Fix placeholder text color */
.form-control::placeholder {
    color: #ffffff !important;
    opacity: 0.7;
}

.form-select {
    color: #ffffff;
}

.form-select option {
    background: #0d0d0d;
    color: #ffffff;
}

.form-select option:hover {
    background: var(--orange);
    color: #000000;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.me-4 { margin-right: 1.5rem; }

.p-0 { padding: 0; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-image {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-xl {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .btn-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .services-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        text-align: center;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0;
    }
    
    .footer .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(1.25rem, 10vw, 2rem);
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .stat-item {
        margin-bottom: 15px;
    }
    
    .contact-item {
        text-align: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 122, 24, 0.5);
    border-radius: 4px;
}

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

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}