/* Variables */
:root {
    --primary-color: #3b82f6;
    /* Electric Blue */
    --secondary-color: #64ffda;
    /* Teal Accent */
    --dark-bg: #0f172a;
    /* Slate 900 */
    --darker-bg: #020617;
    /* Slate 950 */
    --card-bg: #1e293b;
    /* Slate 800 */
    overflow-x: hidden;
    padding-top: 0;
    /* Reset padding since we have a hero section */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: color var(--transition-speed);
}

/* Navbar */
.navbar {
    transition: all var(--transition-speed) ease-in-out;
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #fff !important;
    /* Ensure text is white */
}

/* Make the icon white for visibility on dark theme */
.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: filter var(--transition-speed);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 1.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url("../images/sample1.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(15, 23, 42, 1));
}



/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--darker-bg);
}

.text-light-muted {
    color: var(--text-muted);
}

/* Cards */
.bg-dark-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.service-card {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.transition-all {
    transition: all var(--transition-speed) ease;
}

/* Glassmorphism Utilities */
.bg-dark-glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Table */
.custom-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-muted);
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.custom-table th {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.custom-table td {
    vertical-align: middle;
}

/* Badges */
.badge.bg-outline-primary {
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
}

.badge.bg-outline-secondary {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--text-muted);
}

.badge.bg-outline-info {
    color: #0dcaf0;
    background: transparent;
    border: 1px solid #0dcaf0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
}

/* Carousel */
.carousel-item {
    height: 400px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* Voice Card */
.voice-card {
    position: relative;
}

.voice-card .bi-quote {
    line-height: 1;
}

/* Contact Pattern */
.bg-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .carousel-item {
        height: 300px;
    }
}