:root {
    --primary-dark: #0a0e1a;
    --secondary-dark: #0f1528;
    --accent-blue: #2d5f8d;
    --accent-cyan: #4a9fc8;
    --accent-silver: #b8c5d6;
    --gradient-1: linear-gradient(135deg, #0a0e1a 0%, #1a2642 50%, #0f1528 100%);
    --gradient-2: linear-gradient(45deg, #2d5f8d, #4a9fc8);
    --gradient-3: linear-gradient(90deg, rgba(45,95,141,0.2) 0%, rgba(74,159,200,0.2) 100%);
}

html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--primary-dark);
    color: var(--accent-silver);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-1);
    overflow: hidden;
}

.bg-animated::before {
    content: '';
    position: absolute;
    /* width: 200%;
    height: 200%; */
    background: 
        radial-gradient(circle at 20% 50%, rgba(45,95,141,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74,159,200,0.1) 0%, transparent 50%);
    /* animation: bgMove 20s ease-in-out infinite alternate; */
}

/* @keyframes bgMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-10%, -10%) rotate(5deg); }
} */

/* Glowing orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.orb-1 {
    /* width: 400px;
    height: 400px; */
    background: var(--accent-blue);
    /* top: 10%;
    left: 10%; */
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    /* bottom: 20%;
    right: 15%; */
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-blue);
    /* top: 60%;
    left: 50%; */
}

.orb-1 { top: 10%; left: 10%; }
.orb-2 { bottom: 20%; right: 15%; }
.orb-3 { top: 60%; left: 50%; }

/* @keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
} */

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    /* background: rgba(10, 14, 26, 0.85); */
    backdrop-filter: blur(10px);
    /* padding: 1.5rem 0; */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(74,159,200,0.1);
}

.navbar img {
  transition: height 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.05);
    box-shadow: 0 4px 30px rgba(45,95,141,0.3);
}

.navbar.scrolled img {
  height: 42px;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* .logo-img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(74,159,200,0.3));
} */

.logo-img {
    height: 64px;
    width: auto;
}

.nav-link {
    color: var(--accent-silver) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Syne', sans-serif;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link:hover::before {
    width: 80%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Syne', sans-serif;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45,95,141,0.3);
    border: 2px solid rgba(74,159,200,0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,95,141,0.3) 0%, rgba(74,159,200,0.1) 100%);
    pointer-events: none;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-2);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-image-wrapper:hover::before {
    opacity: 0.5;
}

/* About Image Styles */
.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45,95,141,0.3);
    border: 2px solid rgba(74,159,200,0.2);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,95,141,0.2) 0%, rgba(74,159,200,0.05) 100%);
    pointer-events: none;
}

.about-content {
    padding: 0 1rem;
}

/* Contact Image Styles */
.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45,95,141,0.3);
    border: 2px solid rgba(74,159,200,0.2);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.contact-image-wrapper:hover .contact-image {
    transform: scale(1.05);
}

.contact-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,95,141,0.2) 0%, rgba(74,159,200,0.05) 100%);
    pointer-events: none;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-2);
    border: none;
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Syne', sans-serif;
    box-shadow: 0 4px 20px rgba(45,95,141,0.4);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(74,159,200,0.6);
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Syne', sans-serif;
}

.btn-secondary-custom:hover {
    background: var(--accent-cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(74,159,200,0.4);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#hero {
    opacity: 1;
    transform: translateY(0);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--accent-cyan);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
}

/* Cards */
.card-custom {
    background: rgba(15, 21, 40, 0.6);
    border: 1px solid rgba(74,159,200,0.2);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-custom:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(45,95,141,0.4);
}

.card-custom:hover::before {
    opacity: 1;
}

.card-custom * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.card-custom:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
}

.card-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
}

.card-text {
    color: var(--accent-silver);
    line-height: 1.8;
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: .8rem 0;
    border-bottom: 1px solid rgba(74,159,200,0.1);
    font-size: 1.2rem;
    color: var(--accent-silver);
    position: relative;
    /* padding-left: 40px; */
}

.values-list li:last-child {
    border-bottom: none;
}

/* Services Grid */
.service-card {
    background: rgba(15, 21, 40, 0.7);
    border: 1px solid rgba(74,159,200,0.15);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74,159,200,0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--accent-cyan);
    transform: translateX(10px);
}

.service-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(74,159,200,0.2);
    font-family: 'Orbitron', sans-serif;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Why Choose Us */
.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Contact Section */
#contact {
    background: rgba(15, 21, 40, 0.5);
    backdrop-filter: blur(10px);
}

.contact-info {
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid rgba(74,159,200,0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-value {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
}

.contact-value a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value a:hover {
    color: var(--accent-cyan);
}

/* Footer */
footer {
    background: var(--secondary-dark);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(74,159,200,0.1);
}

footer p {
    margin: 0;
    color: var(--accent-silver);
}

/* Decorative Lines */
.deco-line {
    width: 100px;
    height: 2px;
    background: var(--gradient-2);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Scroll to top button */
#scrollTop {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(45,95,141,0.4);
}

/* #scrollTop.show {
    opacity: 1;
    visibility: visible;
} */

#scrollTop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74,159,200,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 44px;
    }

    section {
        padding: 60px 0;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero-image-container {
        min-height: 350px;
        margin-top: 3rem;
    }

    #hero {
        padding: 100px 0 60px;
    }

    .about-image-wrapper,
    .contact-image-wrapper {
        height: 350px;
        margin-bottom: 2rem;
    }

    .about-content {
        padding: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}





/* Team Section */

/* Team Section */
.team-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(15, 21, 40, 0.6);
    border: 1px solid rgba(74,159,200,0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74,159,200,0.07), transparent);
    transition: left 0.6s ease;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(45,95,141,0.4);
    transform: translateY(-6px);
}

.team-card-reverse {
    flex-direction: row-reverse;
}

.team-photo-wrapper {
    position: relative;
    flex-shrink: 0;
    max-width: 340px;
    /* height: 500px; */
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(74,159,200,0.2);
    transition: border-color 0.3s ease;
}

.team-card:hover .team-photo-wrapper {
    border-color: rgba(74,159,200,0.6);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,95,141,0.2) 0%, rgba(74,159,200,0.05) 100%);
    pointer-events: none;
}

.team-info {
    flex: 1;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    margin-bottom: 0.5rem;
}

.team-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #fff;
    margin-bottom: 1rem;
}

.team-divider {
    width: 50px;
    height: 2px;
    background: var(--gradient-2);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.team-bio {
    color: var(--accent-silver);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-tag {
    background: rgba(74,159,200,0.12);
    border: 1px solid rgba(74,159,200,0.3);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.team-card:hover .team-tag {
    background: rgba(74,159,200,0.22);
    border-color: var(--accent-cyan);
}

/* Team responsive */
@media (max-width: 997px) {
    .team-card,
    .team-card-reverse {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-photo-wrapper {
        width: 100%;
        /* height: 320px; */
    }

}

@media (max-width: 768px) {
    #scrollTop {
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}