/* ============================================
   MAJENG FARMA - Custom Stylesheet
   Premium Pharmacy Website
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary Colors */
    --primary-darkest: #01001c;
    --primary-dark: #111150;
    --primary-mid: #10144b;
    --primary-light: #1a1e6e;
    --primary-lighter: #252a8a;

    /* Accent Colors */
    --accent-cyan: #4fc3f7;
    --accent-bright: #00e5ff;
    --accent-glow: #00b8d4;
    --accent-soft: rgba(79, 195, 247, 0.15);
    --accent-gradient: linear-gradient(135deg, #4fc3f7, #00e5ff);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #c8c8ff;
    --text-muted: #8a8abf;
    --text-body: #e0e0ff;

    /* Background Gradients */
    --bg-gradient-main: linear-gradient(135deg, #01001c 0%, #111150 50%, #10144b 100%);
    --bg-gradient-alt: linear-gradient(180deg, #10144b 0%, #01001c 100%);
    --bg-gradient-card: linear-gradient(145deg, rgba(17, 17, 80, 0.6), rgba(16, 20, 75, 0.4));
    --bg-glass: rgba(17, 17, 80, 0.3);
    --bg-glass-strong: rgba(17, 17, 80, 0.7);

    /* Borders */
    --border-glass: rgba(79, 195, 247, 0.15);
    --border-glow: rgba(79, 195, 247, 0.3);

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(79, 195, 247, 0.15);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-round: 50%;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--accent-cyan);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-bright);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--accent-cyan);
    color: var(--primary-darkest);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

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

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

.preloader-inner {
    text-align: center;
}

.preloader-inner .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 195, 247, 0.2);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.preloader-inner p {
    margin-top: 15px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Section Common ---------- */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-header .section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    padding: 6px 20px;
    background: var(--accent-soft);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
}

.section-header .section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #c8c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Divider line */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
    padding: 18px 0;
    transition: var(--transition-smooth);
    z-index: 1050;
    background: transparent !important;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(1, 0, 28, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 28px;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
}

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

.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary) !important;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-cyan) !important;
    background: var(--accent-soft);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
    transition: var(--transition-fast);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
    border: 1px solid var(--border-glass) !important;
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(79, 195, 247, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero / Swiper Slider ---------- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-swiper .swiper-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero-swiper .swiper-slide-active .slide-bg {
    transform: scale(1);
}

.hero-swiper .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(1, 0, 28, 0.4) 0%,
        rgba(1, 0, 28, 0.6) 50%,
        rgba(1, 0, 28, 0.9) 100%
    );
    z-index: 1;
}

.hero-swiper .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0 5%;
}

.hero-swiper .slide-content .slide-text {
    max-width: 700px;
}

.hero-swiper .slide-content .slide-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    padding: 6px 18px;
    background: var(--accent-soft);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.hero-swiper .swiper-slide-active .slide-tag {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .slide-content h1 {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.5s;
}

.hero-swiper .swiper-slide-active h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .slide-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-swiper .slide-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.7s;
}

.hero-swiper .swiper-slide-active p {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .slide-content .btn-hero {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.9s;
}

.hero-swiper .swiper-slide-active .btn-hero {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Buttons */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-darkest);
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
    text-decoration: none;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.5);
    color: var(--primary-darkest);
}

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--accent-cyan);
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-outline-glow:hover {
    background: var(--accent-soft);
    transform: translateY(-3px);
    color: var(--accent-bright);
    border-color: var(--accent-bright);
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
    bottom: 30px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: var(--transition-fast);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent-cyan);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.5);
}

/* Swiper Nav Buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px;
    color: var(--accent-cyan);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--accent-soft);
    border-color: var(--accent-cyan);
}

/* ---------- Stats / Counter Section ---------- */
.stats-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding-bottom: 40px;
}

.stats-card {
    background: var(--bg-gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-fast);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card .stats-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--accent-cyan);
    transition: var(--transition-fast);
}

.stats-card:hover .stats-icon {
    background: var(--accent-gradient);
    color: var(--primary-darkest);
    transform: scale(1.1);
}

.stats-card .stats-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stats-card .stats-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ---------- About Section ---------- */
#about {
    background: var(--bg-gradient-alt);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-body);
    font-size: 16px;
    margin-bottom: 16px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--primary-lighter), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-round);
    background: var(--accent-gradient);
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.4);
}

.timeline-item .timeline-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.timeline-item .timeline-text {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    filter: brightness(0.8) contrast(1.2) saturate(0.5) hue-rotate(200deg);
    transition: var(--transition-fast);
}

.map-container:hover iframe {
    filter: brightness(0.9) contrast(1.1) saturate(0.7) hue-rotate(200deg);
}

/* Contact Info Cards */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.contact-info-item:hover {
    border-color: var(--border-glow);
    background: var(--accent-soft);
}

.contact-info-item .info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h6 {
    font-size: 15px;
    margin-bottom: 3px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-gradient);
    color: var(--primary-darkest);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--bg-gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.service-card .card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-card .card-img-wrapper .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(1, 0, 28, 0.8));
}

.service-card .card-body {
    padding: 25px;
}

.service-card .card-body .card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.service-card:hover .card-body .card-icon {
    background: var(--accent-gradient);
    color: var(--primary-darkest);
}

.service-card .card-body h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ---------- Personnel Cards ---------- */
.personnel-card {
    background: var(--bg-gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.personnel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.personnel-card .personnel-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.personnel-card .personnel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition-slow);
}

.personnel-card:hover .personnel-img-wrapper img {
    transform: scale(1.08);
}

.personnel-card .personnel-img-wrapper .personnel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(1, 0, 28, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    transition: var(--transition-fast);
}

.personnel-card:hover .personnel-img-wrapper .personnel-overlay {
    opacity: 1;
}

.personnel-card .personnel-img-wrapper .personnel-overlay .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.personnel-card .card-body {
    padding: 25px 20px;
}

.personnel-card .card-body h5 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
}

.personnel-card .card-body .personnel-role {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Polyclinic Cards ---------- */
.polyclinic-card {
    background: var(--bg-gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
}

.polyclinic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.polyclinic-card .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.polyclinic-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.polyclinic-card .card-img-wrapper .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(1, 0, 28, 0.8));
}

.polyclinic-card .card-body {
    padding: 25px;
}

.polyclinic-card .card-body .poly-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.polyclinic-card:hover .card-body .poly-icon {
    background: var(--accent-gradient);
    color: var(--primary-darkest);
}

.polyclinic-card .card-body h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.polyclinic-card .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ---------- Contact Section ---------- */
#contact {
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.contact-form-wrapper {
    background: var(--bg-gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-card);
}

.contact-form-wrapper .form-floating .form-control {
    background: rgba(1, 0, 28, 0.5);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.contact-form-wrapper .form-floating .form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
    background: rgba(1, 0, 28, 0.7);
}

.contact-form-wrapper .form-floating label {
    color: var(--text-muted);
    font-family: var(--font-body);
}

.contact-form-wrapper .form-floating .form-control:focus ~ label,
.contact-form-wrapper .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-cyan);
}

.contact-form-wrapper textarea.form-control {
    min-height: 140px;
    resize: none;
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(180deg, var(--primary-mid), var(--primary-darkest));
    position: relative;
    padding: 80px 0 30px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand i {
    color: var(--accent-cyan);
}

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

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

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

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

.footer .footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer .footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0;
    transition: var(--transition-fast);
}

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

.footer .footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-cyan);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--primary-darkest);
    border-radius: var(--radius-round);
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.5);
}

/* ---------- Particle BG Decoration ---------- */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.section-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.2;
    animation: float-particle 15s infinite ease-in-out;
}

.section-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.section-particles .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; animation-duration: 18s; }
.section-particles .particle:nth-child(3) { top: 40%; left: 30%; animation-delay: 4s; animation-duration: 14s; }
.section-particles .particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 1s; animation-duration: 16s; }
.section-particles .particle:nth-child(5) { top: 10%; left: 50%; animation-delay: 3s; animation-duration: 20s; }
.section-particles .particle:nth-child(6) { top: 70%; left: 20%; animation-delay: 5s; animation-duration: 13s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    25% { transform: translate(30px, -20px) scale(1.5); opacity: 0.4; }
    50% { transform: translate(-20px, 30px) scale(1); opacity: 0.15; }
    75% { transform: translate(15px, 15px) scale(2); opacity: 0.3; }
}

/* ---------- GLightbox Custom ---------- */
.glightbox-clean .goverlay {
    background: rgba(1, 0, 28, 0.9) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .hero-swiper .slide-content h1 {
        font-size: 48px;
    }
    .section-header .section-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }
    .hero-swiper .slide-content h1 {
        font-size: 40px;
    }
    .stats-section {
        margin-top: -40px;
    }
    .stats-card {
        margin-bottom: 20px;
    }
    .navbar-collapse {
        background: rgba(1, 0, 28, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 15px;
        border: 1px solid var(--border-glass);
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 30px;
    }
    .hero-swiper .slide-content h1 {
        font-size: 32px;
    }
    .hero-swiper .slide-content p {
        font-size: 15px;
    }
    #hero {
        min-height: 600px;
    }
    .stats-card .stats-number {
        font-size: 32px;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-item::before {
        left: 8px;
        width: 14px;
        height: 14px;
    }
    .contact-form-wrapper {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .hero-swiper .slide-content h1 {
        font-size: 26px;
    }
    .btn-glow, .btn-outline-glow {
        padding: 12px 24px;
        font-size: 14px;
    }
    .section-header .section-title {
        font-size: 26px;
    }
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}
