/* Femtoloop - Premium Corporate Stylesheet */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.site-main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

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

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--primary); }

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

/* ---- Buttons ---- */
.btn {
    font-family: var(--font-button);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.65rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--button);
    color: #fff;
}
.btn-primary:hover {
    background: var(--button-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--secondary);
    color: #fff;
}

.btn-sm { padding: 0.45rem 1.25rem; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { padding: 0.85rem 2.25rem; font-size: 1.05rem; }

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header-transparent {
    background: transparent;
}
.header-transparent .nav-link { color: #fff; }
.header-transparent .navbar-brand img { filter: brightness(0) invert(1); }
.header-transparent .btn-cta { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.header-transparent .search-input-wrap input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.header-transparent .search-input-wrap input::placeholder { color: rgba(255,255,255,0.6); }

.header-solid, .site-header.scrolled {
    background: var(--header-bg);
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
    padding: 0.25rem 0;
}
.header-solid .nav-link, .site-header.scrolled .nav-link { color: var(--text); }
.header-solid .navbar-brand img, .site-header.scrolled .navbar-brand img { filter: none; }

.navbar { padding: 0.5rem 0; }
.navbar-brand .logo-img { transition: all 0.3s ease; }

.nav-link {
    font-family: var(--font-menu);
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 0.75rem;
    margin-top: 0.5rem;
}
.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: var(--background);
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown:focus-within > .dropdown-menu {
        display: block;
    }
}

/* ---- Mobile Sidebar ---- */
.mobile-sidebar {
    width: min(320px, 88vw);
    border-left: 1px solid var(--border);
}
.mobile-sidebar .offcanvas-header {
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border);
}
.mobile-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--heading);
    font-weight: 700;
    font-size: 1.05rem;
}
.mobile-sidebar-brand:hover { color: var(--primary); }
.mobile-sidebar .offcanvas-body {
    padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-item {
    border-bottom: 1px solid var(--border);
}
.mobile-nav-link,
.mobile-nav-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    color: var(--text);
    font-family: var(--font-menu);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
}
.mobile-nav-link:hover,
.mobile-nav-details > summary:hover {
    color: var(--primary);
}
.mobile-nav-details > summary::-webkit-details-marker { display: none; }
.mobile-nav-details > summary::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.5;
    transition: transform 0.2s ease;
}
.mobile-nav-details[open] > summary::after {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    list-style: none;
    padding: 0 0 0.75rem 0.75rem;
    margin: 0;
}
.mobile-nav-sub a {
    display: block;
    padding: 0.55rem 0;
    color: var(--text);
    opacity: 0.85;
    font-size: 0.9rem;
}
.mobile-nav-sub a:hover {
    color: var(--primary);
    opacity: 1;
}
.mobile-menu-toggle {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.55rem;
}
.header-transparent .mobile-menu-toggle .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
.header-solid .mobile-menu-toggle,
.site-header.scrolled .mobile-menu-toggle {
    border-color: var(--border);
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-wrap input {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 0.4rem 2.5rem 0.4rem 1rem;
    font-size: 0.875rem;
    width: 200px;
    background: var(--background);
}
.search-input-wrap button {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-search-bar {
    padding: 0 0 0.75rem;
}
.mobile-search-bar .search-input-wrap input {
    width: 100%;
}
.btn-search-toggle {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.15rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}
.header-transparent .btn-search-toggle { color: #fff; }
.header-solid .btn-search-toggle,
.scrolled .btn-search-toggle { color: var(--text); }

.search-input-wrap-lg input,
.search-page-form .search-input-wrap input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
}
.search-results-count { color: var(--text); }
.search-group-title {
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.search-result-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}
.search-result-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    color: inherit;
}
.search-result-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(8,131,149,0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-body h6 {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: var(--heading);
}
.search-result-body p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.75;
}
.search-result-arrow {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.search-result-card:hover .search-result-arrow { opacity: 1; }

/* ---- Hero ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: heroOrbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
    width: 420px;
    height: 420px;
    background: #05BFDB;
    top: -8%;
    right: 10%;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 320px;
    height: 320px;
    background: #088395;
    bottom: 5%;
    left: -5%;
    animation-delay: -4s;
}
.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: #fff;
    top: 40%;
    right: 35%;
    opacity: 0.15;
    animation-delay: -8s;
}
@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 40%, rgba(5,191,219,0.25) 0%, transparent 55%),
        linear-gradient(135deg, rgba(10,77,104,0.94) 0%, rgba(8,131,149,0.88) 45%, rgba(5,191,219,0.75) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 8rem 0 6rem;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: heroBadgePulse 3s ease-in-out infinite;
}
@keyframes heroBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    line-height: 1.15;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.92;
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary {
    box-shadow: 0 8px 30px rgba(5,191,219,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(5,191,219,0.45);
}
.hero-actions .btn-outline-primary {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    backdrop-filter: blur(8px);
}
.hero-actions .btn-outline-primary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1;
}
.hero-visual-ring {
    position: absolute;
    inset: 8%;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: heroRingSpin 30s linear infinite;
}
.hero-visual-ring::before {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}
@keyframes heroRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-visual-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: heroCorePulse 4s ease-in-out infinite;
}
@keyframes heroCorePulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 0 rgba(5,191,219,0.3); }
    50% { box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 16px rgba(5,191,219,0); }
}
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.hero-float-card i {
    font-size: 1.1rem;
    color: #05BFDB;
}
.hero-float-1 { top: 8%; right: 0; animation: heroFloat1 6s ease-in-out infinite; }
.hero-float-2 { top: 28%; left: -8%; animation: heroFloat2 7s ease-in-out infinite; }
.hero-float-3 { bottom: 28%; right: -5%; animation: heroFloat3 5.5s ease-in-out infinite; }
.hero-float-4 { bottom: 8%; left: 5%; animation: heroFloat4 6.5s ease-in-out infinite; }
@keyframes heroFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, 10px); }
}
@keyframes heroFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}
@keyframes heroFloat4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}
.hero-stat-item p {
    font-size: 0.875rem;
    opacity: 0.75;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg img,
    .hero-orb,
    .hero-visual-ring,
    .hero-visual-core,
    .hero-float-card,
    .hero-badge {
        animation: none;
    }
}

/* ---- Section Styles ---- */
.section {
    padding: 6rem 0;
}
.section-sm { padding: 4rem 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.section-label {
    display: inline-block;
    font-family: var(--font-button);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--text);
    opacity: 0.75;
    font-size: 1.05rem;
}

.bg-light-section { background: #fff; }

.why-choose-media img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}
.bg-alt-section { background: var(--background); }

/* ---- Cards ---- */
.card-premium {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    margin-bottom: 1.25rem;
}

.card-premium h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}
.card-premium p {
    font-size: 0.925rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.service-card {
    text-align: center;
    border: 2px solid var(--primary);
}
.service-card .card-icon {
    margin-left: auto;
    margin-right: auto;
}
.service-card:hover {
    border-color: var(--secondary);
}

/* ---- Vertical Cards ---- */
.vertical-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    height: 100%;
}
.vertical-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}
.vertical-card-img {
    height: 220px;
    overflow: hidden;
}
.vertical-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.vertical-card:hover .vertical-card-img img { transform: scale(1.08); }
.vertical-card-body { padding: 1.75rem; }
.vertical-card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* ---- Team Cards ---- */
.team-card {
    text-align: center;
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.team-photo {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 1.5rem; }
.team-info h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-info .designation { color: var(--accent); font-size: 0.875rem; font-weight: 500; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--card);
    border-radius: 14px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    height: 100%;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author h5 { font-size: 0.95rem; margin-bottom: 0; }
.testimonial-author span { font-size: 0.8rem; opacity: 0.6; }

/* ---- Stats Section ---- */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5rem 0;
    color: #fff;
}
.stat-item { text-align: center; }
.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}
.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 5rem 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px;
    right: -100px;
}
.cta-section h2 { color: #fff; font-size: 2.25rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* ---- Blog Cards ---- */
.blog-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.blog-card-img {
    height: 220px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.75rem; }
.blog-meta {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.blog-card-body h4 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card-body h4 a { color: var(--heading); }
.blog-card-body h4 a:hover { color: var(--primary); }

/* ---- Publication Cards ---- */
.pub-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}
.pub-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: var(--accent);
}
.pub-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(5,191,219,0.1);
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 10rem 0 5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}
.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}
.page-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}
.breadcrumb-nav a { color: rgba(255,255,255,0.7); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { opacity: 0.5; }

/* ---- Contact Page ---- */
.contact-quick-cards {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    width: 100%;
}

.contact-quick-card {
    background: var(--card);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
    height: auto;
    transition: all 0.35s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.contact-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}
.contact-quick-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.08), rgba(5, 191, 219, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.35rem;
    color: var(--primary);
}
.contact-quick-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.contact-quick-card p {
    margin: 0;
    font-size: 0.925rem;
    color: var(--text);
    opacity: 0.85;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.contact-quick-card a {
    color: var(--link);
    font-weight: 500;
}

.contact-layout {
    align-items: flex-start;
}

.contact-sidebar {
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.contact-sidebar h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.contact-sidebar .intro {
    font-size: 0.925rem;
    color: var(--text);
    opacity: 0.75;
    margin-bottom: 1.5rem;
}
.contact-detail-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-detail-item:last-of-type {
    border-bottom: none;
}
.contact-detail-item .detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.1rem;
}
.contact-detail-item h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}
.contact-detail-item p {
    margin: 0;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--heading);
}
.contact-detail-item a {
    color: var(--heading);
}
.contact-detail-item a:hover {
    color: var(--primary);
}

.contact-social-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.contact-social-block h6 {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.contact-social-links {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}
.contact-social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-card {
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    height: auto;
}
.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}
.contact-form-card .form-subtitle {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.925rem;
    margin-bottom: 1.75rem;
}

.contact-info-card {
    background: var(--card);
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.contact-info-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.contact-form .form-control, .contact-form .form-select {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
    font-size: 0.925rem;
    background: var(--card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5,191,219,0.15);
}

.map-container {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    max-width: 100%;
}
.map-container iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-height: 400px;
    border: 0;
}

/* ---- Gallery ---- */
.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,77,104,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: #fff; }

/* ---- Partners ---- */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    height: 100px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.partner-logo img { max-height: 50px; max-width: 120px; object-fit: contain; }

/* ---- Footer ---- */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.75);
    padding: 2.5rem 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.footer-main {
    align-items: flex-start;
}
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}
.footer-logo-link:hover { color: var(--accent); }
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.65);
    max-width: 320px;
}
.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.7);
}
.footer-contact-list span {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.footer-contact-list a {
    color: rgba(255,255,255,0.7);
}
.footer-contact-list a:hover { color: var(--accent); }

@media (max-width: 767.98px) {
    .site-footer { padding: 2rem 0; }
    .footer-desc { max-width: 100%; }
}

.newsletter-form .form-control {
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.875rem;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .btn { border-radius: 0 10px 10px 0; }

/* ---- Mission/Vision ---- */
.mv-card {
    background: var(--card);
    border-radius: 14px;
    padding: 3rem;
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.mv-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10,77,104,0.08), rgba(5,191,219,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ---- About Timeline ---- */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2rem;
    border-left: 2px solid var(--border);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ---- Course Cards ---- */
.course-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: capitalize;
}

/* ---- 404 ---- */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-page h1 { font-size: 6rem; color: var(--accent); }

/* ---- Utilities ---- */
.text-accent { color: var(--accent); }
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stat-item h3 { font-size: 2rem; }
    .section { padding: 4rem 0; }
    .page-banner { padding: 8rem 0 3rem; }
    .contact-quick-cards { margin-top: -2rem; }
    .contact-form-card { padding: 1.75rem; }
    .navbar .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-content { padding: 7rem 0 5rem; }
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.65rem;
    }
    .hero-actions .btn {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }
    .hero-actions .btn-lg {
        border-radius: 8px;
    }
    .hero-visual-col {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }
    .hero-visual {
        max-width: 300px;
    }
    .hero-visual-core {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
    }
    .hero-float-card {
        padding: 0.4rem 0.7rem;
        font-size: 0.72rem;
    }
    .hero-float-card i {
        font-size: 0.9rem;
    }
    .hero-float-1 { top: 10%; right: 2%; }
    .hero-float-2 { top: 30%; left: 0; }
    .hero-float-3 { bottom: 30%; right: 0; }
    .hero-float-4 { bottom: 10%; left: 2%; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-item h3 { font-size: 2.25rem; }
}

@media (max-width: 575.98px) {
    .card-premium { padding: 1.5rem; }
    .mv-card { padding: 2rem; }
}
