/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a2540;
    --secondary: #1e3a8a;
    --accent: #00d4ff;
    --accent-2: #7c3aed;
    --light: #f8fafc;
    --dark: #0f172a;
    --text: #334155;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
}

html {
    scroll-behavior: smooth;
}

.text-accent {
    color: var(--accent);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark-blue {
    background: var(--gradient-2);
}

.bg-light-custom {
    background: var(--light);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader .dot {
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader .dot:nth-child(1) { animation-delay: -0.32s; }
.loader .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 37, 64, 0.95);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #fff !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
   color: #08090a !important;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 50%, #0f172a 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--gradient);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-1 { top: 10%; left: 20%; animation-delay: 0s; }
.card-2 { top: 30%; right: 15%; animation-delay: 1s; }
.card-3 { bottom: 30%; left: 10%; animation-delay: 2s; }
.card-4 { bottom: 10%; right: 25%; animation-delay: 3s; }
.card-5 { top: 50%; left: 45%; animation-delay: 1.5s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    animation: bounceDown 2s infinite;
}

.scroll-indicator i {
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 0;
    background: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.stat-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid transparent;
    border-image: var(--gradient) 1;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.stat-box i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.stat-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text);
    margin: 0;
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Service Cards ===== */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text);
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-2);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--accent);
}

.service-link i {
    transition: transform 0.3s;
}

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

/* ===== Why Choose Section ===== */
.feature-list {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.3rem;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--light);
}

.cta-box {
    background: var(--gradient-2);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-2);
    padding: 150px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    position: relative;
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== About Page ===== */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient);
    color: #fff;
    padding: 25px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.experience-badge p {
    margin: 0;
    font-size: 0.9rem;
}

.mv-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s;
    border-top: 4px solid;
}

.mv-card.mission {
    border-image: var(--gradient) 1;
}

.mv-card.vision {
    border-image: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%) 1;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.value-card i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.value-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.team-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--accent);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== Services Page ===== */
.service-detail-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 25px;
    transition: all 0.3s;
    height: 100%;
    border-left: 4px solid transparent;
    border-image: var(--gradient) 1;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.service-detail-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.service-detail-content h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.service-features li {
    padding: 5px 0;
    color: var(--text);
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
}

.process-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.process-num {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
}

.process-card i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.process-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

/* ===== Gallery ===== */
.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 8px 25px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(124, 58, 237, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    padding: 20px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.gallery-overlay h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-item.hidden {
    display: none;
}

/* ===== Contact Page ===== */
.contact-info-card,
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.contact-item h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.map-section iframe {
    width: 100%;
    border-radius: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 60px 0 20px;
    color: #fff;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .page-header h1 { font-size: 2.5rem; }
    .hero-illustration { height: 300px; margin-top: 40px; }
    .experience-badge { right: 10px; bottom: -20px; padding: 15px 20px; }
    .experience-badge h3 { font-size: 2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .service-detail-card { flex-direction: column; }
    .contact-info-card, .contact-form-card { padding: 25px; }
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 1.5rem; }
}