:root {
    /* Bozdemirler Group — siyah + altın (lüks) palet */
    --primary: #17140f;
    --primary-dark: #0c0a07;
    --primary-light: #2c2720;
    --accent: #c9a227;
    --accent-dark: #a6831b;
    --text-dark: #1a1714;
    --text-muted: #6b6660;
    --bg-light: #f7f5f1;
    --bg-section: #f1ede5;
    --border: #e7e1d6;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(23, 20, 15, 0.08);
    --shadow-lg: 0 20px 60px rgba(23, 20, 15, 0.18);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    background: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.8rem; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

.btn {
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.75rem;
    transition: all .3s;
    font-size: .9rem;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 123, 32, 0.35);
}
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}
.btn-light { color: var(--primary); font-weight: 700; }

.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar i { color: var(--accent); margin-right: 6px; }
.btn-lang {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    padding: 2px 10px;
    margin-left: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.btn-lang.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar { padding: 0.75rem 0; }
.logo { max-height: 56px; width: auto; }
.navbar-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
}
.navbar-nav .nav-link:hover { color: var(--accent) !important; }
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0;
    border-top: 3px solid var(--accent);
    padding: 0.5rem 0;
}
.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}
.dropdown-item:hover { background: var(--bg-light); color: var(--accent); }
.btn-cta { padding: 0.65rem 1.5rem !important; }

.hero {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero-slide {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(12, 10, 7, 0.94) 0%, rgba(12, 10, 7, 0.68) 60%, rgba(12, 10, 7, 0.32) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}
.hero-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}
.hero h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 1.25rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}
.carousel-indicators {
    justify-content: flex-start;
    padding-left: 3rem;
}
.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.4);
}
.carousel-indicators .active { background: var(--accent); }

.section { padding: 80px 0; }
.section-light { background: var(--bg-section); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.section-title h2 {
    font-size: 2.6rem;
    margin: 0 auto;
    max-width: 800px;
}
.section-title .lead {
    color: var(--text-muted);
    max-width: 700px;
    margin: 1rem auto 0;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: left;
    border: 1px solid var(--border);
    transition: all .3s;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
    width: 72px;
    height: 72px;
    background: var(--bg-section);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all .3s;
}
.service-card:hover .icon { background: var(--accent); color: #fff; }
.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card .read-more {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.service-card .read-more i { transition: transform .3s; }
.service-card:hover .read-more i { transform: translateX(5px); }

.stats-section {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
    position: relative;
}
.stat-item { text-align: center; padding: 1rem 0; }
.stat-item .stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.stat-item .stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 0.5rem;
}

.why-us-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    background: #fff;
    height: 100%;
    transition: all .3s;
}
.why-us-card:hover { background: var(--bg-section); transform: translateX(4px); }
.why-us-card .icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.why-us-card h5 { margin-bottom: 0.5rem; color: var(--primary); font-size: 1.1rem; }
.why-us-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
    transition: all .3s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-card .blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-section);
    position: relative;
}
.blog-card .blog-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.blog-card .blog-body { padding: 1.5rem; }
.blog-card h5 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--primary); }
.blog-card .blog-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; }

.page-header {
    background: linear-gradient(120deg, rgba(23, 20, 15, 0.95), rgba(12, 10, 7, 0.95));
    color: #fff;
    padding: 110px 0 80px;
    text-align: center;
    position: relative;
}
.page-header h1 { color: #fff; font-size: 3rem; margin-bottom: 0.5rem; }
.page-header .breadcrumb { justify-content: center; background: transparent; margin: 0; padding: 0; }
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.8); }

.form-control, .form-select {
    border-radius: 0;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(244, 123, 32, 0.15);
}
.form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-strip {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 50px 0;
}
.cta-strip h3 { color: #fff; margin: 0; font-size: 1.6rem; }
.cta-strip p { color: rgba(255,255,255,0.9); }

.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
    font-size: 0.9rem;
}
.footer-logo { max-height: 64px; width: auto; }
.footer-about { color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 0.4rem 0; }
.footer-links a { color: rgba(255,255,255,0.7); transition: all .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: flex-start; color: rgba(255,255,255,0.7); }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.social-links { margin-top: 1.5rem; }
.social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all .3s;
}
.social-links a:hover { background: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

.cert-card {
    border-left: 4px solid var(--accent);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.cert-card .badge-status { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
.badge-active { background: #10b981; }
.badge-suspended { background: #f59e0b; }
.badge-withdrawn { background: #ef4444; }
.badge-expired { background: #6b7280; }

.training-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    transition: all .3s;
}
.training-row:hover { background: var(--bg-section); border-color: var(--accent); }
.training-row h5 { margin: 0; font-size: 1.05rem; }
.training-row .duration { color: var(--accent); font-weight: 600; font-size: 0.85rem; }

.document-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    transition: all .3s;
}
.document-row:hover { box-shadow: var(--shadow); }
.document-row .file-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-section);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.document-row .doc-info { flex: 1; }
.document-row h6 { margin: 0; color: var(--primary); }
.document-row small { color: var(--text-muted); }

.reference-logo {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    transition: all .3s;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reference-logo:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.reference-logo img { max-height: 60px; max-width: 100%; opacity: 0.7; transition: opacity .3s; filter: grayscale(100%); }
.reference-logo:hover img { opacity: 1; filter: grayscale(0); }

/* ===== SLIDER ANIMATIONS (Ken Burns + content) ===== */
@keyframes kenBurns {
    from { background-size: 116%; background-position: 50% 50%; }
    to   { background-size: 132%; background-position: 52% 48%; }
}
@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-slide { background-size: cover; transition: none; }
.carousel-item.active .hero-slide { animation: kenBurns 8s ease-out both; }
.carousel-item .hero-content > * { opacity: 0; }
.carousel-item.active .hero-content .hero-eyebrow  { animation: heroTextIn .7s .20s ease both; }
.carousel-item.active .hero-content h1             { animation: heroTextIn .8s .35s ease both; }
.carousel-item.active .hero-content .hero-subtitle { animation: heroTextIn .8s .50s ease both; }
.carousel-item.active .hero-content .btn           { animation: heroTextIn .8s .65s ease both; }
.carousel-control-prev, .carousel-control-next { width: 6%; opacity: 0; transition: opacity .3s; }
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next { opacity: 0.85; }

/* "Neden biz" görsel bloğu */
.why-visual {
    background: var(--primary);
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.why-visual-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.05) 30px, rgba(255,255,255,0.05) 60px);
}
.why-badge {
    position: absolute;
    bottom: -28px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    padding: 1.75rem 2rem;
    max-width: 240px;
    box-shadow: var(--shadow-lg);
}
.why-badge-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; }
.why-badge-text { text-transform: uppercase; font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */

/* Large desktop down to small laptop */
@media (max-width: 1199px) {
    .hero h1 { font-size: 3.2rem; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.1rem; }
    .section-title h2 { font-size: 2.2rem; }
}

/* Tablet */
@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    .hero h1 { font-size: 2.6rem; }
    .hero-slide { min-height: 460px; }
    .hero-subtitle { font-size: 1rem; }
    .section { padding: 56px 0; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2 { font-size: 2rem; }
    .navbar-collapse {
        background: #fff;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .navbar-nav .nav-link { padding: 0.6rem 0.5rem !important; }
    .navbar-nav .nav-link::after { display: none; }
    .dropdown-menu { box-shadow: none; border-top: none; padding-left: 1rem; }
    .btn-cta { margin-top: 1rem; display: inline-block; }
    .cta-strip { text-align: center; }
    .cta-strip .text-md-end { text-align: center !important; }
    .stats-section { padding: 48px 0; }
    .stat-item .stat-number { font-size: 2.8rem; }
    .topbar { font-size: 0.78rem; }
}

/* Landscape phone */
@media (max-width: 767px) {
    .hero h1 { font-size: 2.1rem; }
    .hero-slide { min-height: 420px; }
    .hero-eyebrow { font-size: 0.72rem; letter-spacing: 2px; }
    .section { padding: 44px 0; }
    .section-title h2 { font-size: 1.7rem; }
    .section-title .lead { font-size: 0.95rem; }
    .service-card { padding: 1.75rem 1.5rem; }
    .page-header { padding: 80px 0 56px; }
    .page-header h1 { font-size: 2rem; }
    .cta-strip { padding: 36px 0; }
    .cta-strip h3 { font-size: 1.3rem; }
    .stat-item { padding: 0.75rem 0; }
    .stat-item .stat-number { font-size: 2.4rem; }
    .footer-title { margin-top: 0.5rem; }
    .site-footer { padding-top: 48px; }
    .training-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .training-row .d-flex { width: 100%; justify-content: space-between; }
    .document-row { flex-wrap: wrap; }
    .document-row .doc-info { flex: 1 1 100%; order: 2; }
    .cert-card .d-flex { flex-direction: column; gap: 0.75rem; }
    .carousel-control-prev, .carousel-control-next { display: none; }
    .carousel-indicators { padding-left: 1rem; }
    table { font-size: 0.9rem; }
    #back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }
}

/* Portrait phone */
@media (max-width: 575px) {
    h1 { font-size: 1.8rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-slide { min-height: 380px; }
    .hero-subtitle { font-size: 0.92rem; margin-bottom: 1.25rem; }
    .hero .btn-lg { padding: 0.6rem 1.25rem; font-size: 0.82rem; }
    .section { padding: 36px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .logo { max-height: 44px; }
    .service-card { padding: 1.5rem 1.25rem; }
    .service-card .icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .stat-item .stat-number { font-size: 2rem; }
    .page-header { padding: 64px 0 44px; }
    .page-header h1 { font-size: 1.6rem; }
    .cta-strip h3 { font-size: 1.15rem; }
    .btn { padding: 0.65rem 1.25rem; font-size: 0.82rem; }
    .btn-lg { padding: 0.7rem 1.4rem; }
    .reference-logo { height: 90px; padding: 1rem; }
    .blog-card .blog-image { height: 180px; }
}

/* Ensure tables never break layout */
.table-responsive-wrap { overflow-x: auto; }

.field-validation-error, .validation-summary-errors { color: #dc2626; font-size: 0.85rem; }
.input-validation-error { border-color: #dc2626 !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -40px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translate3d(-40px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translate3d(40px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

[data-reveal] { opacity: 0; will-change: opacity, transform; transition: none; }
[data-reveal="up"]     { transform: translate3d(0, 40px, 0); }
[data-reveal="down"]   { transform: translate3d(0, -40px, 0); }
[data-reveal="left"]   { transform: translate3d(-40px, 0, 0); }
[data-reveal="right"]  { transform: translate3d(40px, 0, 0); }
[data-reveal="zoom"]   { transform: scale(0.92); }
[data-reveal].revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
[data-reveal-delay="100"].revealed { transition-delay: .1s; }
[data-reveal-delay="200"].revealed { transition-delay: .2s; }
[data-reveal-delay="300"].revealed { transition-delay: .3s; }
[data-reveal-delay="400"].revealed { transition-delay: .4s; }
[data-reveal-delay="500"].revealed { transition-delay: .5s; }
[data-reveal-delay="600"].revealed { transition-delay: .6s; }

/* Hero entrance */
.hero-content { animation: fadeInUp .9s ease both; }
.hero-content .hero-eyebrow { animation: fadeInLeft .8s ease both; }
.hero-content h1 { animation: fadeInUp .9s .15s ease both; }
.hero-content .hero-subtitle { animation: fadeInUp .9s .3s ease both; }
.hero-content .btn { animation: fadeInUp .9s .45s ease both; }
.carousel-item.active .hero-content { animation: fadeInUp .9s ease both; }

/* Header scroll effect */
.site-header { transition: box-shadow .3s, padding .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(10,34,64,0.12); }
.site-header.scrolled .navbar { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.navbar-nav .nav-link { transition: color .25s; }
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.navbar-nav .nav-item:hover .nav-link::after { transform: scaleX(1); }

/* Service cards stagger animation */
.service-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s, border-color .35s; }
.service-card .icon { transition: background .3s, color .3s, transform .4s; }
.service-card:hover .icon { transform: rotate(-6deg) scale(1.06); }

/* Stat number pulse on visible */
.stat-item .stat-number { display: inline-block; }
.stat-item.revealed .stat-number { animation: pulse 2.5s ease-in-out 1.2s 1; }

/* Floating accent shapes */
.float-shape { animation: float 4s ease-in-out infinite; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Button hover sweep */
.btn { position: relative; overflow: hidden; z-index: 1; }
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    transform: translateX(-100%) skewX(-25deg);
    transition: transform .55s ease;
    z-index: -1;
}
.btn:hover::before { transform: translateX(100%) skewX(-25deg); }
.btn-light::before { background: rgba(10,34,64,0.08); }

/* Image hover zoom */
.blog-card .blog-image { transition: transform .6s ease; }
.blog-card:hover .blog-image { transform: scale(1.06); }

/* Reference logo float on hover */
.reference-logo img { transition: transform .4s, opacity .3s, filter .3s; }
.reference-logo:hover img { transform: translateY(-4px); }

/* Page header subtle pattern */
.page-header { position: relative; overflow: hidden; }
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 60px);
    pointer-events: none;
}
.page-header h1 { animation: fadeInUp .7s ease both; }
.page-header .breadcrumb { animation: fadeInUp .7s .15s ease both; }

/* CTA strip subtle animated background */
.cta-strip {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    background-size: 200% 100%;
    animation: shimmer 6s linear infinite;
}

/* Carousel indicators expand on hover */
.carousel-indicators [data-bs-target] { transition: background-color .3s, width .3s; }
.carousel-indicators [data-bs-target]:hover { background: rgba(255,255,255,0.7); width: 50px; }
.carousel-indicators .active { width: 60px; }

/* Footer link hover */
.footer-links a { display: inline-block; transition: padding-left .25s ease, color .25s; }
.social-links a { transition: background .3s, transform .3s; }
.social-links a:hover { transform: translateY(-3px); }

/* Stat card icon spin */
.stat-card .icon { transition: transform .4s; }
.stat-card:hover .icon { transform: rotate(8deg) scale(1.05); }

/* Spinner */
.spin-slow { animation: spinSlow 12s linear infinite; transform-origin: center; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ===== PAGE TRANSITIONS ===== */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}
@keyframes progressGrow {
    0%   { width: 0;    opacity: 1; }
    30%  { width: 35%;  opacity: 1; }
    60%  { width: 65%;  opacity: 1; }
    80%  { width: 85%;  opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

body { animation: pageFadeIn .45s ease both; }
body.page-leaving { animation: pageFadeOut .25s ease forwards; pointer-events: none; }

#page-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent) 0%, #ffb56b 100%);
    z-index: 9999;
    box-shadow: 0 0 12px rgba(244,123,32,0.6);
    transition: width .2s ease;
    pointer-events: none;
}
#page-progress.active { animation: progressGrow 1.4s ease-out forwards; }

/* Back-to-top button refinement */
#back-to-top { transition: opacity .3s, visibility .3s, transform .3s; }
#back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* Dropdown smooth open */
.dropdown-menu {
    margin-top: 0 !important;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    display: block !important;
    visibility: hidden;
    pointer-events: none;
}
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* Modal-like content shift on transition */
main { animation: pageFadeIn .55s .1s ease both; }
