/* Color Palette Variables */
:root {
    --yt-yegna: #002363;
    --yt-cyan: #04c0d4;
    --yt-cyan-glow: rgba(0, 229, 255, 0.4);
    --yt-blue: #0072ff;
    --yt-dark-bg: #011e53;
    --yt-bg-body: #ffffff;
    --yt-bg-section: #f4f7fa; 
    --yt-card-bg: #f8fafc;   
    --yt-border: #e2e8f0;
}

body {
    background-color: var(--yt-bg-body);
    color: #0f172a;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.bg-section {
    background-color: var(--yt-bg-section) !important;
}

.text-cyan {
    color: var(--yt-cyan) !important;
}

/* ==========================================
   NAVBAR & HOVER STYLES
   ========================================== */
.yt-navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--yt-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.yt-navbar .nav-link {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.yt-navbar .nav-link:hover,
.yt-navbar .nav-link.active {
    color: var(--yt-yegna) !important;
}

/* Nav Link Bottom Hover Indicator */
.yt-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--yt-yegna), var(--yt-cyan));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.yt-navbar .nav-link:hover::after,
.yt-navbar .nav-link.active::after {
    width: 80%;
}

/* BUTTON STYLES */
.btn-yt-primary {
    background: linear-gradient(135deg, var(--yt-yegna), var(--yt-cyan));
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-yt-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3);
}

.btn-yt-outline {
    border: 2px solid var(--yt-yegna);
    color: var(--yt-yegna);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-yt-outline:hover {
    background-color: var(--yt-yegna);
    color: #ffffff !important;
}

/* CARDS WITH CYAN BOTTOM WAVE EFFECT */
.yt-card {
    position: relative;
    background: var(--yt-card-bg) !important;
    border: 1px solid var(--yt-border);
    border-radius: 18px;
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.yt-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--yt-cyan), var(--yt-blue));
    border-radius: 0 0 18px 18px;
    transition: height 0.3s ease;
}

.yt-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.2), 0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--yt-cyan);
}

.yt-card:hover::after {
    height: 10px;
}

/* HERO SECTION WITH IMAGE & CYAN LIGHT GLOW */
.yt-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(9, 16, 29, 0.90), rgba(9, 16, 29, 0.80)), 
                url('../img/herobg.jpeg') no-repeat center center / cover;
    color: #ffffff !important;
    padding: 100px 0 80px;
    overflow: hidden;
}

.yt-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--yt-cyan-glow) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.yt-hero .container {
    position: relative;
    z-index: 2;
}

/* BADGES & ICONS */
.yt-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: rgba(6, 135, 150, 0.12);
    color: var(--yt-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(6, 135, 150, 0.2);
}

.service-icon {
    font-size: 2rem;
    color: var(--yt-cyan);
    margin-bottom: 1rem;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
footer {
    background-color: var(--yt-dark-bg) !important;
    color: #94a3b8 !important;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--yt-cyan) !important;
}

/* MOBILE SIDEBAR */
.offcanvas-end {
    width: 280px !important;
    background-color: #ffffff;
}
/* ==========================================
   FOOTER SOCIAL MEDIA ICONS STYLES
   ========================================== */
.social-links {
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effect: Gradient Background & Glow */
.social-icon:hover {
    background: linear-gradient(135deg, var(--yt-cyan, #068796), var(--yt-yegna, #0072ff));
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(6, 135, 150, 0.4);
}