:root {
    /* Premium Color Palette */
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #1e293b;
    /* Slate */
    --accent-color: #d4af37;
    /* Gold/Bronze */
    --accent-hover: #b5952f;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Main padding for fixed header - applies to all pages */
main {
    padding-top: 140px;
}

/* Remove padding on pages with hero slider (homepage) */
main:has(.hero-swiper),
main:has(.hero),
main:has(.services-hero) {
    padding-top: 0;
}

/* Ensure hero section starts at top */
.hero {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Buttons */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0;
    /* Sharp edges for premium feel */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-ghost-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ghost-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
#mainHeader {
    z-index: 1030;
}

.navbar {
    transition: var(--transition);
    padding: 1rem 0;
    min-height: 105px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
    min-height: 90px;
}

.navbar.scrolled .navbar-brand img,
.navbar.scrolled .logo-mark {
    height: 70px;
}

/* Mobile menu background */
@media (max-width: 991.98px) {
    #mainHeader {
        z-index: 1030;
    }
    
    .navbar {
        min-height: 105px;
        padding: 0.75rem 0;
    }
    
    .navbar-brand img,
    .logo-mark {
        height: 65px !important;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        z-index: 1031;
    }
    
    .navbar-collapse.show {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    main {
        padding-top: 120px;
    }
    
    .hero {
        margin-top: 0;
        padding-top: 105px;
        position: relative;
        z-index: 1;
    }
    
    .hero-swiper {
        height: calc(100vh - 105px);
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
    
    .hero-content {
        justify-content: flex-start !important;
        padding-top: 0.5rem !important;
        padding-bottom: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem !important;
        padding: 0.75rem 1.25rem !important;
    }
}

.navbar-brand {
    z-index: 10;
}

.navbar-brand img,
.logo-mark {
    height: 85px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}

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

.navbar-brand span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.2);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(15, 23, 42, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Hero Slider */
.hero-swiper {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1031;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    color: var(--white);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-highlight {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.8s;
    letter-spacing: 0.5px;
}

.hero-highlight i {
    font-size: 1.2rem;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer a {
    color: #94a3b8;
    transition: var(--transition);
}

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Floating Buttons */
.phone-float,
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.phone-float {
    bottom: 20px;
    left: 20px;
    background-color: var(--accent-color);
}

.phone-float i {
    font-size: 20px;
    font-weight: 400;
}

.phone-float:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: scale(1.1);
}

.whatsapp-float {
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-highlight {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .hero {
        padding-top: 0;
    }
    
    .hero-swiper {
        height: 100vh;
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 1031;
        justify-content: flex-end;
        padding-top: 130px;
        padding-bottom: 8rem;
        padding-left: 80px !important;
        margin-left: 0;
    }
}