/* =========================================
   VARIABLES & THEMING
   ========================================= */
:root {
    /* Deep cinematic darks */
    --bg-main: #020617; /* Very dark slate, almost black */
    --bg-light: #0f172a; /* Lighter dark slate */
    --bg-dark: #000000;
    
    /* Elegant amber/gold and subtle cyans */
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --secondary: #1e293b;
    --accent: #0ea5e9;

    /* Text */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-heading: #ffffff;
    --text-white: #ffffff;
    --text-dark: #0f172a;

    --font-main: 'Outfit', sans-serif;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;

    /* Glowing Shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8), 0 4px 6px -4px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
    
    --glow-primary: 0 0 20px rgba(245, 158, 11, 0.3);
    --glow-accent: 0 0 20px rgba(14, 165, 233, 0.3);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

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

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

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

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light { /* Still dark, but lighter than main */
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

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

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

.text-xs {
    font-size: 0.875rem;
}

.text-highlight {
    color: var(--accent);
    font-weight: 600;
}

.text-primary {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-main);
    box-shadow: var(--shadow-md), var(--glow-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-main);
    box-shadow: var(--glow-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-primary);
}


/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(2, 6, 23, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-header-btn {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.logo-main span {
    color: var(--primary);
}

.logo-sub {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.mobile-actions {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Beautiful cinematic glows */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a1128 0%, #020617 100%);
}

.shape {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
}

.shape-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: var(--accent);
    opacity: 0.2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.trust-item i {
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 1rem;
}

.hero-image-placeholder {
    width: 100%;
    height: 550px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

.hero-image-placeholder i {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
}

/* Embed placeholder image styling */
.hero-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.badge-top-right {
    top: -20px;
    right: -20px;
}

.badge-bottom-left {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

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

.stars {
    display: flex;
    gap: 2px;
}

.star.filled {
    color: var(--primary);
    fill: var(--primary);
    width: 16px;
    height: 16px;
}

.floating-badge span {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-white);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: var(--bg-main);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-primary);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1rem;
    position: relative;
}

.grid-item {
    border-radius: var(--border-radius-md);
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-1 {
    grid-row: 1 / 3;
    background: url('about1.webp') center/cover no-repeat;
    box-shadow: var(--shadow-lg);
}

.item-2 {
    background: url('about2.webp') center/cover no-repeat;
    box-shadow: var(--shadow-md);
}

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glass-panel h3 {
    font-size: 3.5rem;
    color: var(--primary);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.glass-panel p {
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

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

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
}

/* =========================================
   REVIEWS SECTION
   ========================================= */
.reviews {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-main) 100%);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    padding: 2.5rem;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
    line-height: 1;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin: 1.5rem 0;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    background: var(--secondary);
    color: var(--text-white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    position: relative;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    padding-right: 2rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.info-block {
    display: flex;
    gap: 1.5rem;
    transition: transform var(--transition-fast);
}

.info-block:hover {
    transform: translateX(5px);
}

.info-block i {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: var(--glow-primary);
}

.info-block h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-block p {
    margin: 0;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form-wrapper h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-dark);
    padding: 5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-main {
    font-size: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.social-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: white;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .container { max-width: 100%; }
    .hero-title { font-size: 3.5rem; }
    .hero-container, .about-container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .hero { padding-top: 7rem; }
    .hero-title { font-size: 2.75rem; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        z-index: 1002;
    }

    .mobile-toggle {
        display: block;
        color: white;
    }

    .nav-cta {
        display: none;
    }

    .mobile-header-btn {
        display: inline-flex;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
