/* ============================
   Global Styles
   ============================ */
:root {
    /* Brand Colors */
    --renegade-light-blue: #00A0E3;
    --renegade-dark-blue: #003A70;
    --renegade-darkest-blue: #001F3F;
    --renegade-white: #FFFFFF;
    --renegade-black: #121212;
    --renegade-gold: #D4AF37;
    --renegade-silver: #C0C0C0;
    --renegade-teal: #20B2AA;
    --renegade-purple: #7B68EE;
    --renegade-navy: #000080;
    --renegade-royal: #4169E1;
    --renegade-indigo: #4B0082;
    
    /* Theme Colors - Dark Mode (Default) */
    --theme-bg: var(--renegade-black);
    --theme-text: var(--renegade-white);
    --theme-card-bg: rgba(18, 18, 18, 0.6);
    --theme-card-border: rgba(255, 255, 255, 0.1);
    --theme-input-bg: rgba(30, 30, 30, 0.8);
    
    /* Gradient Variables */
    --renegade-gradient-blue: linear-gradient(135deg, var(--renegade-light-blue) 0%, var(--renegade-dark-blue) 100%);
    --renegade-gradient-hero: linear-gradient(135deg, var(--renegade-darkest-blue) 0%, var(--renegade-dark-blue) 100%);
    --renegade-gradient-services: linear-gradient(135deg, var(--renegade-dark-blue) 0%, var(--renegade-navy) 100%);
    --renegade-gradient-about: linear-gradient(135deg, var(--renegade-navy) 0%, var(--renegade-indigo) 80%);
    --renegade-gradient-portfolio: linear-gradient(135deg, var(--renegade-indigo) 0%, var(--renegade-darkest-blue) 100%);
    --renegade-gradient-contact: linear-gradient(135deg, var(--renegade-darkest-blue) 0%, var(--renegade-royal) 100%);
    
    --section-padding: 7rem 0;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    
    /* Typography Variables */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;
    --accent-font: 'Montserrat', sans-serif;
    --heading-weight: 700;
    --subheading-weight: 600;
    --body-weight: 300;
    --heading-spacing: 0.05em;
    --body-spacing: 0.02em;
    --body-line-height: 1.8;
    --heading-line-height: 1.2;
}

/* Light Theme Variables */
[data-bs-theme="light"] {
    --theme-bg: #f8f9fa;
    --theme-text: #212529;
    --theme-card-bg: rgba(255, 255, 255, 0.9);
    --theme-card-border: rgba(0, 0, 0, 0.1);
    --theme-input-bg: rgba(248, 249, 250, 0.8);
    
    --renegade-gradient-hero: linear-gradient(135deg, #e9f5ff 0%, var(--renegade-light-blue) 100%);
    --renegade-gradient-services: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    --renegade-gradient-about: linear-gradient(135deg, #e3f2fd 0%, #d1e9ff 80%);
    --renegade-gradient-portfolio: linear-gradient(135deg, #d1e9ff 0%, #e9f5ff 100%);
    --renegade-gradient-contact: linear-gradient(135deg, #e9f5ff 0%, #c7e5ff 100%);
}

body {
    font-family: var(--body-font);
    scroll-behavior: smooth;
    background-color: var(--theme-bg);
    color: var(--theme-text);
    letter-spacing: var(--body-spacing);
    line-height: var(--body-line-height);
    font-weight: var(--body-weight);
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

section {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
}

.container {
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    letter-spacing: var(--heading-spacing);
    margin-bottom: 1.5rem;
    line-height: var(--heading-line-height);
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    opacity: 0.9;
    font-weight: var(--body-weight);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.text-gradient {
    background: var(--renegade-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: var(--renegade-light-blue);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-weight: var(--heading-weight);
    margin-bottom: 1rem;
    color: var(--renegade-light-blue);
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--renegade-light-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 1.5rem 0 2.5rem;
    opacity: 0.8;
    font-family: var(--accent-font);
    font-style: italic;
    letter-spacing: 0.03em;
}

/* ============================
   Navigation Styles
   ============================ */
.navbar {
    background-color: var(--renegade-darkest-blue);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--renegade-light-blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-brand img {
    height: 60px; /* Increased size for better visibility */
    margin-right: 10px;
    transition: transform 0.3s ease;
    border-radius: 8px; /* Softening the corners */
    box-shadow: 0 0 15px rgba(0, 58, 112, 0.2); /* Subtle glow effect */
    filter: drop-shadow(0 0 3px rgba(0, 160, 227, 0.3)); /* Blue glow to blend with the background */
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--renegade-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: none; /* Hide the text since logo already has the text */
}

/* Logo styling */

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

@media (max-width: 767.98px) {
    .logo-text {
        font-size: 1.1rem;
    }
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.7rem;
    transition: color 0.3s ease;
    color: var(--renegade-white) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-link:hover, .nav-link.active {
    color: var(--renegade-light-blue) !important;
}

/* ============================
   Hero Section Styles
   ============================ */
.hero-section {
    background: var(--renegade-gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
}

.hero-image-container {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 90%;
    max-height: 90%;
    filter: drop-shadow(0 0 30px rgba(0, 167, 225, 0.4));
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--renegade-light-blue);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite alternate;
}

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

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.wave-divider {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   Services Section Styles
   ============================ */
.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 4rem; /* Increased bottom margin for better spacing */
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--renegade-gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 167, 225, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.service-image-container {
    height: 300px; /* Increased height for better image display */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Ensure images don't overflow container */
    border-radius: 12px; /* Rounded corners */
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure consistent image sizing while maintaining aspect ratio */
    object-position: center; /* Center the image */
    filter: drop-shadow(0 0 15px rgba(0, 167, 225, 0.2));
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 8px; /* Rounded corners on image */
}

.service-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 167, 225, 0.5));
}

.service-icon {
    color: var(--renegade-light-blue);
    margin-right: 0.5rem;
}

.service-title {
    font-family: var(--heading-font);
    font-weight: var(--subheading-weight);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--renegade-light-blue);
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: var(--renegade-gradient-blue);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.5s ease-out;
}

.service-title:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

.service-features i {
    color: var(--renegade-light-blue);
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
    top: 0.25rem;
    font-size: 1rem;
    background: rgba(0, 167, 225, 0.1);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 167, 225, 0.15);
}

/* ============================
   About Section Styles
   ============================ */
.bg-gradient {
    background: var(--renegade-gradient-about);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.value-card {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    height: 100%;
    min-height: 220px; /* Ensure minimum height to fit content */
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--renegade-gradient-blue);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--renegade-light-blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-card:hover::before {
    opacity: 0.05;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--renegade-light-blue);
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================
   Contact Section Styles
   ============================ */
.contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.7rem;
    color: var(--renegade-light-blue);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--renegade-light-blue);
}

.contact-text {
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--renegade-light-blue);
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-item-title {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--renegade-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--renegade-light-blue);
    color: white;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background: var(--renegade-gradient-blue);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.contact-form-container:hover::before {
    transform: scaleY(1);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--renegade-white);
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--renegade-light-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 167, 225, 0.15);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.8rem 2.2rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--renegade-light-blue);
    border-color: var(--renegade-light-blue);
    color: var(--renegade-white);
    box-shadow: 0 4px 15px rgba(0, 167, 225, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--renegade-dark-blue);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--renegade-dark-blue);
    box-shadow: 0 5px 20px rgba(0, 51, 127, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    color: var(--renegade-white);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--renegade-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* ============================
   Footer Styles
   ============================ */
.footer {
    background-color: var(--renegade-darkest-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    color: var(--renegade-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--renegade-light-blue);
}

.footer-logo {
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 58, 112, 0.2);
    filter: drop-shadow(0 0 3px rgba(0, 160, 227, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* ============================
   Portfolio Section Styles
   ============================ */
.portfolio-section {
    padding: 6rem 0;
    background-color: rgba(0, 10, 20, 0.9);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--renegade-gradient-portfolio);
    z-index: 0;
}

.portfolio-container {
    position: relative;
    z-index: 1;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 280px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover::before {
    opacity: 0.9;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.5s ease;
    background: linear-gradient(to top, rgba(0, 10, 20, 0.9) 0%, rgba(0, 10, 20, 0.7) 70%, rgba(0, 10, 20, 0) 100%);
    border-radius: 0 0 12px 12px;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 10, 20, 0.95) 0%, rgba(0, 10, 20, 0.8) 70%, rgba(0, 10, 20, 0.6) 100%);
}

.portfolio-category {
    display: inline-block;
    background-color: var(--renegade-light-blue);
    color: white;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.portfolio-item:hover .portfolio-category {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-title {
    color: white;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.portfolio-item:hover .portfolio-title {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.portfolio-item:hover .portfolio-description {
    max-height: 100px;
    opacity: 1;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    color: var(--renegade-light-blue);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
}

.portfolio-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link:hover i {
    transform: translateX(5px);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.portfolio-filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1.2rem;
    margin: 0 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter.active, .portfolio-filter:hover {
    background-color: var(--renegade-light-blue);
    border-color: var(--renegade-light-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 167, 225, 0.3);
}

/* Portfolio item reveal animation */
.portfolio-item {
    opacity: 0;
    transform: translateY(50px);
}

.portfolio-item.reveal {
    animation: portfolioReveal 0.8s forwards;
}

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

/* Staggered animation for portfolio items */
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

/* ============================
   Animation Styles
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for lists */
.stagger-animation li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-animation.visible li:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-animation.visible li:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-animation.visible li:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-animation.visible li:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-animation.visible li:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-animation.visible li:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-animation.visible li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations for other items */
.stagger-animation > div.contact-item,
.stagger-animation > div.value-card,
.stagger-animation > div.col-md-4 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation.visible > div.contact-item:nth-child(1),
.stagger-animation.visible > div.value-card:nth-child(1),
.stagger-animation.visible > div.col-md-4:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-animation.visible > div.contact-item:nth-child(2),
.stagger-animation.visible > div.value-card:nth-child(2),
.stagger-animation.visible > div.col-md-4:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-animation.visible > div.contact-item:nth-child(3),
.stagger-animation.visible > div.value-card:nth-child(3),
.stagger-animation.visible > div.col-md-4:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-animation.visible > div.contact-item:nth-child(4),
.stagger-animation.visible > div.value-card:nth-child(4),
.stagger-animation.visible > div.col-md-4:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-animation.visible > div.contact-item,
.stagger-animation.visible > div.value-card,
.stagger-animation.visible > div.col-md-4 {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   Service Areas Section
   ============================ */
.service-area-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--renegade-light-blue);
}

.service-area-title {
    color: var(--renegade-light-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.service-area-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-area-list li:last-child {
    border-bottom: none;
}

.service-area-list li:hover {
    transform: translateX(5px);
}

.service-area-link {
    color: var(--renegade-white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-area-link:hover {
    color: var(--renegade-light-blue);
    text-decoration: none;
}

.service-area-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--renegade-light-blue);
    transition: width 0.3s ease;
}

.service-area-link:hover::after {
    width: 100%;
}

/* ============================
   Responsive Styles
   ============================ */
@media (min-width: 992px) {
    /* Ensure value cards have equal height and enough space on large screens */
    .value-card {
        min-height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .value-text {
        flex-grow: 1;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5rem;
        min-height: auto;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-info, .contact-form-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .value-card {
        margin-bottom: 1.5rem;
        min-height: 200px; /* Shorter on mobile but still enough for content */
    }
}
/* ============================
   Theme Toggle Styles
   ============================ */
#theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--renegade-light-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

#theme-toggle:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.15);
}

.theme-icon-dark, .theme-icon-light {
    transition: all 0.3s ease;
    position: absolute;
}

/* Show moon icon in dark mode, sun icon in light mode */
[data-bs-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg);
}

[data-bs-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg);
}

[data-bs-theme="light"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-bs-theme="light"] .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg);
}

/* Light Mode Specific Styles */
[data-bs-theme="light"] {
    /* Navbar */
    --navbar-bg: rgba(248, 249, 250, 0.95);
    --navbar-border: rgba(0, 0, 0, 0.1);
    
    /* Cards */
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.1);
    
    /* Text */
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
}

[data-bs-theme="light"] .navbar {
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
}

[data-bs-theme="light"] .nav-link {
    color: var(--text-primary) !important;
}

[data-bs-theme="light"] .service-card,
[data-bs-theme="light"] .contact-form-container,
[data-bs-theme="light"] .contact-info,
[data-bs-theme="light"] .value-card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

[data-bs-theme="light"] .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

[data-bs-theme="light"] .form-label {
    color: var(--text-primary);
}

[data-bs-theme="light"] .contact-text,
[data-bs-theme="light"] .about-text,
[data-bs-theme="light"] .service-description {
    color: var(--text-secondary);
}

[data-bs-theme="light"] .footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .footer-link {
    color: var(--text-secondary);
}
