:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --accent: #7928ca;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Text Overrides */
.text-muted {
    color: var(--text-muted) !important;
}

.service-card,
.container,
.row,
.col,
.text-center {
    color: var(--text-light);
}

/* Top Bar */
.top-bar {
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 40px;
    /* Adjust based on top-bar height */
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--dark-bg) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
    /* Make toggler dark */
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-muted);
    margin-bottom: 2rem;
    margin-top: 80px;
    /* Added to account for fixed header */
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

/* Services Cards */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px;
}

.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --accent: #7928ca;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Text Overrides */
.text-muted {
    color: var(--text-muted) !important;
}

.service-card,
.container,
.row,
.col,
.text-center {
    color: var(--text-light);
}

/* Top Bar */
.top-bar {
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 40px;
    /* Adjust based on top-bar height */
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--dark-bg) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
    /* Make toggler dark */
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-muted);
    margin-bottom: 2rem;
    margin-top: 80px;
    /* Added to account for fixed header */
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

/* Services Cards */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px;
}

.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --accent: #7928ca;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Text Overrides */
.text-muted {
    color: var(--text-muted) !important;
}

.service-card,
.container,
.row,
.col,
.text-center {
    color: var(--text-light);
}

/* Top Bar */
.top-bar {
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 40px;
    /* Adjust based on top-bar height */
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--dark-bg) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
    /* Make toggler dark */
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-muted);
    margin-bottom: 2rem;
    margin-top: 80px;
    /* Added to account for fixed header */
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

/* Services Cards */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px;
}

.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

/* Shared Card Styles (Advantages & Services) */
.bg-darker {
    background-color: rgba(0, 0, 0, 0.2);
}

.advantage-card,
.service-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.advantage-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.advantage-card:hover::before,
.service-card:hover::before {
    transform: translateX(100%);
}

.advantage-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.advantage-card:hover .icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    color: var(--dark-bg);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
/* Footer Social Icons */
.footer-social-icons a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}
