@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

/* ==================== GLOBAL ==================== */
body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .masthead h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
p { line-height: 1.8; }
a { transition: all 0.3s ease; }
section { position: relative; }

/* ==================== NAVBAR ==================== */
.premium-nav {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 0.8rem 0;
}
.premium-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 25, 47, 1);
}
.premium-nav .navbar-brand {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.premium-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    margin: 0 8px;
    font-size: 1rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
.premium-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0dcaf0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.premium-nav .nav-link:hover::after,
.premium-nav .nav-link.active::after {
    width: 60%;
}
.premium-nav .nav-link:hover, .premium-nav .nav-link:focus, .premium-nav .nav-link.active {
    color: #0dcaf0 !important;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* ==================== HERO / MASTHEAD ==================== */
.masthead {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.92), rgba(18, 43, 75, 0.85)), url('../assets/img/bg-masthead.jpg') center center no-repeat;
    background-size: cover;
    color: white;
    position: relative;
}
.masthead::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, #f8f9fa);
    pointer-events: none;
}
.masthead h1 {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .masthead h1 { font-size: 5rem; }
}
.masthead h3 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 300;
    font-size: 1.3rem;
}
.masthead h3 em {
    font-style: normal;
    color: #0dcaf0;
    font-weight: 600;
}

/* ==================== BUTTONS ==================== */
.btn-primary.btn-xl, .btn-primary {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #1D809F, #0dcaf0);
    border: none;
    box-shadow: 0 8px 25px rgba(29, 128, 159, 0.35);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.btn-primary.btn-xl:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(29, 128, 159, 0.5);
    background: linear-gradient(135deg, #0dcaf0, #1D809F);
}
.btn-dark.btn-xl {
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-dark.btn-xl:hover { transform: translateY(-3px); }
.btn-light.btn-xl {
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #0a192f;
}
.btn-light.btn-xl:hover { transform: translateY(-3px); }

/* ==================== STAT COUNTERS ==================== */
.stat-section {
    background: linear-gradient(135deg, #0a192f 0%, #122b4b 100%);
    padding: 5rem 0;
}
.stat-item {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0dcaf0;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0dcaf0, #6dd5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ==================== SERVICES ==================== */
#services, .services-section {
    background-color: #f8f9fa !important;
}
#services h2 { color: #0a192f; font-weight: 700; }
#services p.text-faded { color: #555; }
.service-icon {
    background: #fff;
    color: #1D809F;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.col-lg-3:hover .service-icon, .col-lg-4:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(13, 202, 240, 0.3);
    background: linear-gradient(135deg, #1D809F, #0dcaf0);
    color: #fff;
}

/* ==================== SHADOW BOX (Glass Cards) ==================== */
.shadow-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.shadow-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ==================== PORTFOLIO ==================== */
.portfolio-item {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    margin: 15px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.portfolio-item:hover {
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.portfolio-item .caption {
    background-color: rgba(10, 25, 47, 0);
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
}
.portfolio-item:hover .caption {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
}
.portfolio-item img { border-radius: 16px; }
#portfolio .row.gx-0 { margin: -15px; }
#portfolio .col-lg-6 { padding: 15px; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 6rem;
    color: rgba(13, 202, 240, 0.15);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.testimonial-card .quote {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}
.testimonial-card .author {
    font-weight: 700;
    color: #0a192f;
    margin-top: 1.5rem;
}
.testimonial-card .role { color: #1D809F; font-size: 0.9rem; }

/* ==================== PROCESS TIMELINE ==================== */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}
.process-step .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D809F, #0dcaf0);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.3);
}
.process-step h5 { color: #0a192f; font-weight: 700; }
.process-step p { color: #666; font-size: 0.95rem; }

/* ==================== CALLOUT ==================== */
.callout {
    background: linear-gradient(135deg, #0a192f, #122b4b);
    position: relative;
    padding: 6rem 0;
}
.callout h2 {
    font-weight: 700;
    color: #fff;
    font-size: 2.5rem;
}

/* ==================== ABOUT ==================== */
#about {
    background: white !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
}
#about h2 { color: #0a192f; font-weight: 700; }
#about p.lead { font-size: 1.3rem; color: #555; line-height: 1.9; }

/* ==================== FOOTER ==================== */
footer.footer {
    background: #0a192f;
    padding: 3rem 0;
}
footer.footer p { color: rgba(255,255,255,0.5) !important; }
footer.footer .social-link {
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
footer.footer .social-link:hover {
    background-color: #0dcaf0;
    transform: translateY(-3px);
}

/* ==================== GRADIENT DIVIDERS ==================== */
.gradient-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, #0dcaf0, #1D809F, transparent);
    border: none;
    margin: 0;
    opacity: 0.6;
}

/* ==================== TECH BADGES ==================== */
.tech-badge {
    display: inline-block;
    background: rgba(13, 202, 240, 0.1);
    color: #1D809F;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.25rem;
    border: 1px solid rgba(13, 202, 240, 0.2);
}

/* ==================== RESPONSIVE FIXES ==================== */
@media (max-width: 768px) {
    .masthead h1 { font-size: 2.5rem; }
    .stat-number { font-size: 2.5rem; }
    .shadow-box { padding: 1.5rem; }
    .testimonial-card { padding: 1.5rem; }
}
