:root {
    --itts-primary: #0d47a1;
    --itts-primary-dark: #002171;
    --itts-primary-light: #5472d3;
    --itts-secondary: #00838f;
    --itts-secondary-light: #4fb3bf;
    --itts-accent: #ff6f00;
    --itts-accent-light: #ffa040;
    --itts-dark: #1a1a2e;
    --itts-gray: #6c757d;
    --itts-light: #f8f9fc;
    --itts-white: #ffffff;
    --itts-gradient: linear-gradient(135deg, #0d47a1 0%, #00838f 100%);
    --itts-gradient-accent: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    --itts-shadow: 0 10px 40px rgba(13, 71, 161, 0.12);
    --itts-shadow-hover: 0 20px 60px rgba(13, 71, 161, 0.2);
    --itts-radius: 16px;
    --itts-radius-sm: 8px;
    --itts-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body { font-family: 'Raleway', sans-serif; color: #444; overflow-x: hidden; }

::selection { background: var(--itts-primary); color: white; }

/* ===== NAVIGATION ===== */
.navbar-custom {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13,71,161,0.08);
    padding: 0.5rem 0 !important;
    transition: var(--itts-transition);
    box-shadow: none !important;
}

.navbar-custom.top-nav-collapse {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06) !important;
}

.navbar-custom .navbar-brand img {
    height: 45px !important;
    width: auto !important;
    transition: var(--itts-transition);
}

.navbar-custom .nav-link {
    color: var(--itts-dark) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--itts-transition);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--itts-primary);
    transition: transform 0.3s ease;
}

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

.navbar-custom .nav-link:hover { color: var(--itts-primary) !important; }

/* Search form in navbar */
.navbar-custom form input[type="text"] {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    background: var(--itts-light);
    transition: var(--itts-transition);
    width: 150px;
}

.navbar-custom form input[type="text"]:focus {
    width: 200px;
    border-color: var(--itts-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}

.navbar-custom form button {
    background: var(--itts-primary);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    font-size: 0.75rem;
    margin-left: 5px;
    transition: var(--itts-transition);
    cursor: pointer;
}

.navbar-custom form button:hover {
    background: var(--itts-primary-dark);
    transform: scale(1.1);
}

/* Dropdown */
.navbar-custom .dropdown-menu {
    border: none;
    border-radius: var(--itts-radius-sm);
    box-shadow: var(--itts-shadow);
    padding: 0.5rem;
    min-width: 220px;
}

.navbar-custom .dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    transition: var(--itts-transition);
}

.navbar-custom .dropdown-item:hover {
    background: rgba(13,71,161,0.06);
    color: var(--itts-primary);
    transform: translateX(4px);
}

/* ===== HERO / INTRO SECTION ===== */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0d47a1 0%, #002171 50%, #001b4a 100%);
    padding: 120px 0 80px !important;
}

.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/img/itts-hero-banner.jpg') center center / cover no-repeat;
    opacity: 0.15;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,131,143,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header .header-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.header .text-container h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--itts-white);
    margin-bottom: 1.5rem;
}

.header .text-container h1 .turquoise {
    color: var(--itts-secondary-light);
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.header .text-container .p-large {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.header .btn-solid-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--itts-accent);
    color: var(--itts-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--itts-transition);
    border: none;
    box-shadow: 0 8px 30px rgba(255,111,0,0.3);
}

.header .btn-solid-lg:hover {
    background: var(--itts-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,111,0,0.4);
    color: white;
    text-decoration: none;
}

.header .btn-solid-lg i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.header .btn-solid-lg:hover i {
    transform: translateX(5px);
}

.header .header-img {
    position: relative;
    z-index: 2;
}

.header .header-img img {
    border-radius: var(--itts-radius);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--itts-transition);
    max-width: 100%;
    height: auto;
}

.header .header-img img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Floating badges on hero */
.hero-badge {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--itts-radius-sm);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 3;
}

.hero-badge-1 {
    top: 20%; right: -10%;
    animation-delay: 0s;
}

.hero-badge-2 {
    bottom: 20%; left: -10%;
    animation-delay: 3s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-badge .badge-icon {
    font-size: 1.5rem;
    color: var(--itts-primary);
    margin-right: 0.5rem;
}

.hero-badge .badge-text {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--itts-dark);
}

.hero-badge .badge-sub {
    font-size: 0.7rem;
    color: var(--itts-gray);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    margin: 8px auto 0;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    display: inline-block;
    background: rgba(13,71,161,0.08);
    color: var(--itts-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--itts-dark);
    margin-bottom: 1rem;
}

.section-header .section-divider {
    width: 60px;
    height: 4px;
    background: var(--itts-gradient);
    border-radius: 2px;
    margin: 1rem auto;
}

.section-header .section-description {
    font-size: 1.05rem;
    color: var(--itts-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.cards-1 {
    padding: 100px 0 !important;
    background: var(--itts-light) !important;
}

.cards-1 .card {
    border: none;
    border-radius: var(--itts-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--itts-white);
    box-shadow: var(--itts-shadow);
    transition: var(--itts-transition);
    margin-bottom: 30px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

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

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

.cards-1 .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--itts-shadow-hover);
}

.cards-1 .card .service-icon {
    color: var(--itts-primary);
    transition: var(--itts-transition);
    margin-bottom: 1rem;
}

.cards-1 .card:hover .service-icon {
    color: var(--itts-secondary);
    transform: scale(1.1);
}

.cards-1 .card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--itts-dark);
    margin-bottom: 0.75rem;
}

.cards-1 .card .card-body p {
    font-size: 0.9rem;
    color: var(--itts-gray);
    line-height: 1.7;
}

.cards-1 .card .card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,71,161,0.08), rgba(0,131,143,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--itts-transition);
}

.cards-1 .card .card-icon-wrapper i {
    font-size: 2rem;
    color: var(--itts-primary);
    transition: var(--itts-transition);
}

.cards-1 .card:hover .card-icon-wrapper {
    background: var(--itts-gradient);
}

.cards-1 .card:hover .card-icon-wrapper i {
    color: white !important;
}

/* ===== PRICING ===== */
.cards-2 {
    padding: 100px 0 !important;
    background: var(--itts-white) !important;
}

.cards-2 .card {
    border: 2px solid #eef0f4;
    border-radius: var(--itts-radius);
    padding: 2rem;
    text-align: center;
    background: var(--itts-white);
    transition: var(--itts-transition);
    position: relative;
    overflow: hidden;
}

.cards-2 .card:hover {
    border-color: var(--itts-primary);
    box-shadow: var(--itts-shadow);
    transform: translateY(-8px);
}

.cards-2 .card .label {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--itts-gradient-accent);
    color: white;
    padding: 0.3rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.cards-2 .card .card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--itts-primary);
    margin-bottom: 0.5rem;
}

.cards-2 .card .price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--itts-dark);
}

.cards-2 .card .price .value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--itts-dark);
}

.cards-2 .card .btn-solid-reg {
    background: var(--itts-primary);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--itts-transition);
    border: none;
    display: inline-block;
}

.cards-2 .card .btn-solid-reg:hover {
    background: var(--itts-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,71,161,0.3);
    text-decoration: none;
    color: white;
}

/* ===== STATS / COUNTER ===== */
.stats-section {
    padding: 80px 0;
    background: var(--itts-gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stats-section .stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.3rem;
}

.stats-section .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIALS ===== */
.slider-2 {
    padding: 100px 0 !important;
    background: var(--itts-light) !important;
}

.slider-2 .card {
    border: none;
    border-radius: var(--itts-radius);
    padding: 2rem;
    background: var(--itts-white);
    box-shadow: var(--itts-shadow);
}

.slider-2 .card .card-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.slider-2 .card .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.slider-2 .card .testimonial-author {
    font-weight: 700;
    color: var(--itts-primary);
    margin-top: 1rem;
}

/* ===== ABOUT / TEAM ===== */
.basic-4 {
    padding: 100px 0 !important;
}

.basic-4 .team-member {
    text-align: center;
    margin-bottom: 30px;
    background: var(--itts-white);
    border-radius: var(--itts-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--itts-shadow);
    transition: var(--itts-transition);
}

.basic-4 .team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--itts-shadow-hover);
}

.basic-4 .team-member .image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--itts-light);
    transition: var(--itts-transition);
}

.basic-4 .team-member:hover .image-wrapper {
    border-color: var(--itts-primary);
    transform: scale(1.05);
}

.basic-4 .team-member .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.basic-4 .team-member .p-large {
    font-weight: 700;
    color: var(--itts-dark);
    margin-bottom: 0.3rem;
}

.basic-4 .team-member .job-title {
    font-size: 0.85rem;
    color: var(--itts-gray);
    margin-bottom: 1rem;
}

.basic-4 .team-member .social-icons .fa-stack {
    width: 2em !important;
    height: 2em !important;
    line-height: 2em !important;
    font-size: 0.8rem;
}

.basic-4 .team-member .social-icons .fa-stack .fa-circle {
    color: var(--itts-primary);
    transition: var(--itts-transition);
}

.basic-4 .team-member .social-icons .fa-stack:hover .fa-circle {
    color: var(--itts-secondary);
}

/* ===== BLOG ===== */
#Blog {
    padding: 100px 0 !important;
    background: var(--itts-light) !important;
}

.blog-sidebar .blog-category {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
    border: none;
    overflow: hidden;
}
.blog-sidebar .category-title {
    background: linear-gradient(135deg, #0d47a1, #00838f);
    padding: 18px 24px;
    border: none;
}
.blog-sidebar .category-title .title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}
.blog-sidebar .category-title .title i {
    margin-right: 8px;
}
.blog-sidebar .category-list {
    padding: 8px 0;
}
.blog-sidebar .category-list ul li {
    margin: 0;
    border-bottom: 1px solid #f0f2f5;
}
.blog-sidebar .category-list ul li:last-child {
    border-bottom: none;
}
.blog-sidebar .category-list ul li a {
    padding: 12px 24px;
    font-size: 0.9rem;
    color: #546e7a;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    background: transparent;
}
.blog-sidebar .category-list ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #0d47a1;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}
.blog-sidebar .category-list ul li a:hover {
    background: rgba(13,71,161,0.04);
    color: #0d47a1;
    padding-left: 30px;
}
.blog-sidebar .category-list ul li a:hover::before {
    transform: translateX(3px);
}

/* Blog detail image */
.blog-detail-image {
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    width: 100%;
    height: auto;
}

/* Post meta */
ul#ket_post {
    margin: 15px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
ul#ket_post li {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
ul#ket_post li i {
    margin-right: 6px;
}

/* Blog content inside page-box */
.page-box .content-body .blog-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #546e7a;
}
.page-box .content-body .blog-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Business tabs */
.page-box .nav-pills {
    gap: 8px;
    flex-wrap: wrap;
}
.page-box .nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #546e7a;
    background: #f0f2f5;
    border: none;
    transition: all 0.3s ease;
}
.page-box .nav-pills .nav-link:hover {
    background: rgba(13,71,161,0.08);
    color: #0d47a1;
}
.page-box .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #0d47a1, #00838f);
    color: #fff;
    box-shadow: 0 4px 15px rgba(13,71,161,0.25);
}
.page-box .tab-content {
    padding-top: 10px;
}
.page-box .tab-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #546e7a;
}

.single-tips {
    background: var(--itts-white);
    border-radius: var(--itts-radius);
    overflow: hidden;
    box-shadow: var(--itts-shadow);
    transition: var(--itts-transition);
    height: 100%;
}

.single-tips:hover {
    transform: translateY(-8px);
    box-shadow: var(--itts-shadow-hover);
}

.single-tips .tips-img {
    overflow: hidden;
    height: 220px;
}

.single-tips .tips-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.single-tips:hover .tips-img img {
    transform: scale(1.08);
}

.single-tips .tips-caption {
    padding: 1.5rem;
}

.single-tips .tips-caption h6 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--itts-dark);
    margin-bottom: 0.5rem;
}

.single-tips .tips-caption h6 a {
    color: inherit;
    transition: var(--itts-transition);
}

.single-tips .tips-caption h6 a:hover {
    color: var(--itts-primary);
    text-decoration: none;
}

.single-tips .tips-caption p {
    font-size: 0.82rem;
    color: var(--itts-gray);
}

#Blog .btn-secondary {
    background: var(--itts-primary);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--itts-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#Blog .btn-secondary:hover {
    background: var(--itts-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,71,161,0.3);
}

/* ===== CONTACT ===== */
.form-2 {
    padding: 100px 0 !important;
    background: var(--itts-white) !important;
}

.form-2 .map-responsive {
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    height: 0;
    border-radius: var(--itts-radius);
    box-shadow: var(--itts-shadow);
}

.form-2 .map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.form-2 form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-2 form .form-control-input,
.form-2 form .form-control-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e8ecf1;
    border-radius: var(--itts-radius-sm);
    font-size: 0.9rem;
    font-family: 'Raleway', sans-serif;
    background: var(--itts-light);
    transition: var(--itts-transition);
}

.form-2 form .form-control-input:focus,
.form-2 form .form-control-textarea:focus {
    border-color: var(--itts-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(13,71,161,0.08);
    background: white;
}

.form-2 form .form-control-submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--itts-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--itts-transition);
}

.form-2 form .form-control-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13,71,161,0.3);
}

.form-2 .contact-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-2 .contact-captcha-box {
    padding: 1rem;
    border: 1px solid #e8ecf1;
    border-radius: var(--itts-radius-sm);
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

.form-2 .contact-captcha-heading,
.form-2 .contact-captcha-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.form-2 .contact-captcha-heading {
    margin-bottom: 0.85rem;
}

.form-2 .contact-captcha-heading strong,
.form-2 .contact-captcha-heading small {
    display: block;
}

.form-2 .contact-captcha-heading strong {
    color: var(--itts-dark);
    font-size: 0.9rem;
}

.form-2 .contact-captcha-heading small,
.form-2 .contact-captcha-help {
    color: var(--itts-gray);
    font-size: 0.75rem;
}

.form-2 .contact-captcha-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--itts-gradient);
}

.form-2 .contact-captcha-image {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    background: #fff;
}

.form-2 .contact-captcha-image img {
    display: block;
    width: 160px !important;
    height: 50px !important;
    border-radius: 4px;
}

.form-2 .contact-captcha-input {
    flex: 1 1 auto;
}

.form-2 .contact-captcha-input label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--itts-dark);
    font-size: 0.78rem;
    font-weight: 600;
}

.form-2 .contact-captcha-input .form-control-input {
    padding: 0.65rem 0.8rem;
    background: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-2 .contact-captcha-help {
    display: block;
    margin-top: 0.7rem;
}

.form-2 .contact-captcha-help i {
    margin-right: 0.25rem;
    color: var(--itts-primary);
}

@media (max-width: 575px) {
    .form-2 .contact-captcha-row {
        align-items: stretch;
        flex-direction: column;
    }

    .form-2 .contact-captcha-image img {
        width: 100% !important;
        max-width: 220px;
    }
}

.form-2 .list-unstyled li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.form-2 .list-unstyled li i {
    color: var(--itts-primary);
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.form-2 .list-unstyled li.address {
    font-size: 1rem;
    font-weight: 600;
    color: var(--itts-dark);
}

/* ===== CLIENTS ===== */
.slider-1 {
    padding: 60px 0 !important;
    background: var(--itts-white) !important;
    border-top: 1px solid #eef0f4;
}

.slider-1 h5 {
    text-align: center;
    color: var(--itts-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.slider-1 .image-container img {
    height: 50px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--itts-transition);
}

.slider-1 .image-container img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--itts-dark) !important;
    padding: 60px 0 30px !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: var(--itts-gradient);
}

.footer h4 {
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

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

.footer p, .footer li {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer a {
    color: rgba(255,255,255,0.6);
    transition: var(--itts-transition);
}

.footer a:hover {
    color: var(--itts-accent-light);
    text-decoration: none;
}

.footer .fa-stack {
    width: 2.5em !important;
    height: 2.5em !important;
    line-height: 2.5em !important;
    margin-right: 0.3rem;
    transition: var(--itts-transition);
}

.footer .fa-stack .fa-circle {
    color: rgba(255,255,255,0.1);
    transition: var(--itts-transition);
}

.footer .fa-stack:hover .fa-circle {
    color: var(--itts-accent);
}

.footer .fa-stack .fa-stack-1x {
    color: rgba(255,255,255,0.6);
}

.footer .fa-stack:hover .fa-stack-1x {
    color: white;
}

.copyright {
    background: #111 !important;
    padding: 1.5rem 0 !important;
}

.copyright p {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.8rem !important;
    text-align: center;
    margin: 0 !important;
}

/* ===== PRELOADER ===== */
.spinner-wrapper {
    background: var(--itts-primary);
}

.spinner-wrapper .spinner > div {
    background: white;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    background: rgba(13,71,161,0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--itts-transition);
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(13,71,161,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--itts-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13,71,161,0.4);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .header .text-container h1 {
        font-size: 2.5rem;
    }

    .header .header-img img {
        transform: none;
    }

    .header .header-img img:hover {
        transform: none;
    }

    .hero-badge {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .navbar-custom form input[type="text"] {
        width: 100%;
    }

    .stats-section .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 100px 0 60px !important;
        min-height: auto;
    }

    .header .text-container h1 {
        font-size: 1.8rem;
    }

    .header .text-container h1 .turquoise {
        font-size: 0.9rem;
    }

    .header .text-container .p-large {
        font-size: 1rem;
    }

    .header .btn-solid-lg {
        padding: 0.8rem 1.8rem;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .scroll-indicator { display: none; }
}

/* =====================================================================
   PAGE HERO  — inner page banner (static pages, blog, etc.)
   ===================================================================== */
.page-hero {
    position: relative;
    padding: 150px 0 70px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #00838f 100%);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}
.page-hero .hero-content {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: pageFadeInUp 0.6s ease;
}
.page-hero .page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-top: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pageFadeInUp 0.6s ease 0.1s both;
}
.page-hero .hero-divider {
    width: 60px;
    height: 4px;
    background: #18cbcc;
    margin: 18px auto 0;
    border-radius: 2px;
    animation: pageFadeInUp 0.6s ease 0.2s both;
}
@keyframes pageFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.breadcrumb-bar {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}
.breadcrumb-bar .breadcrumbs {
    font-size: 14px;
    color: #78909c;
}
.breadcrumb-bar .breadcrumbs a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-bar .breadcrumbs a:hover { color: #00838f; }
.breadcrumb-bar .breadcrumbs i {
    margin: 0 10px;
    font-size: 11px;
    color: #b0bec5;
}

.page-inner {
    padding: 60px 0;
    background: #fafbfc;
}
.page-box {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}
.page-box .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.page-box .content-body img:hover {
    transform: scale(1.01);
}
.page-box .content-body h2 {
    color: #0d47a1;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf3;
}
.page-box .content-body h3 {
    color: #1565c0;
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 14px;
}
.page-box .content-body h4 {
    color: #37474f;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 22px;
}
.page-box .content-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #546e7a;
    margin-bottom: 18px;
}
.page-box .content-body ul, 
.page-box .content-body ol {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #546e7a;
    padding-left: 24px;
}
.page-box .content-body li { margin-bottom: 8px; }
.page-box .content-body figure {
    margin: 30px 0;
    text-align: center;
}
.page-box .content-body figcaption {
    font-size: 0.88rem;
    color: #90a4ae;
    margin-top: 10px;
    font-style: italic;
}
@media (max-width: 768px) {
    .page-hero { padding: 120px 0 50px; }
    .page-hero h1 { font-size: 2rem; }
    .page-inner { padding: 30px 0; }
    .page-box { padding: 24px; border-radius: 12px; }
    .page-box .content-body h2 { font-size: 1.4rem; }
}

/* =====================================================================
   MODERN HERO  — unified top banner
   Replaces the old stacked _slider (owl banner) + _intro (.header) heroes.
   Markup lives in resources/views/front/section/_slider.blade.php
   ===================================================================== */
.hero-modern {
    position: relative;
    min-height: auto;            /* height follows the content, not the full viewport */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 118px 0 78px;
    isolation: isolate;
    background: #001133;
}

/* --- Background image layer(s) --- */
.hero-modern .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
}
.hero-modern .hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    will-change: opacity, transform;
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

/* Keep the complete image visible when slider images have different ratios. */
.hero-modern.hero-auto-size .hero-bg,
.hero-modern.hero-auto-size .hero-bg-layer {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #001133;
}
@keyframes heroKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}

/* --- Overlays / glow / blobs --- */
.hero-modern .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    /* Weighted to the left so headline text stays crisp while the figure/photo shows on the right */
    background:
        linear-gradient(100deg, rgba(0,15,45,0.93) 0%, rgba(0,22,66,0.82) 34%, rgba(0,40,95,0.46) 62%, rgba(0,70,100,0.22) 100%),
        linear-gradient(to top, rgba(0,10,28,0.55) 0%, rgba(0,10,28,0) 42%);
}
.hero-modern .hero-glow {
    position: absolute;
    top: -25%;
    right: -8%;
    width: 900px;
    height: 900px;
    max-width: 92vw;
    z-index: -1;
    background: radial-gradient(circle, rgba(0,190,205,0.20) 0%, transparent 62%);
    pointer-events: none;
}
.hero-modern .hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
    animation: floatBadge 10s ease-in-out infinite;
}
.hero-modern .hero-blob-1 { width: 340px; height: 340px; background: rgba(255,111,0,0.40); bottom: -110px; left: -70px; }
.hero-modern .hero-blob-2 { width: 280px; height: 280px; background: rgba(0,131,143,0.55); top: 6%; right: 10%; animation-delay: 3.5s; }

/* --- Content --- */
.hero-modern > .container { position: relative; z-index: 2; width: 100%; }
.hero-modern .hero-inner { max-width: 680px; color: #fff; }
.hero-modern .hero-inner > * {
    opacity: 0;
    animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-modern .hero-title   { animation-delay: 0.10s; }
.hero-modern .hero-desc    { animation-delay: 0.24s; }
.hero-modern .hero-actions { animation-delay: 0.38s; }
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

.hero-modern .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #d9f6f8;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-modern .hero-eyebrow i { color: var(--itts-accent-light); }

.hero-modern .hero-title {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 1.35rem;
    color: #ffffff;
    text-shadow: 0 6px 34px rgba(0,0,0,0.38);
}
.hero-modern .hero-title-accent { display: block; color: #1fd4d6; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-modern .hero-title-accent {
        background: linear-gradient(90deg, #18cbcc 0%, #6df0ec 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hero-modern .hero-desc {
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin-bottom: 2.3rem;
}

/* --- Buttons --- */
.hero-modern .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.8rem;
}
.hero-modern .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.95rem 2.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--itts-transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.hero-modern .hero-btn-primary {
    background: var(--itts-gradient-accent);
    color: #fff;
    box-shadow: 0 12px 34px rgba(255,111,0,0.42);
}
.hero-modern .hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(255,111,0,0.52);
    color: #fff;
    text-decoration: none;
}
.hero-modern .hero-btn-primary i { transition: transform 0.3s ease; }
.hero-modern .hero-btn-primary:hover i { transform: translateX(5px); }
.hero-modern .hero-btn-ghost {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.42);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-modern .hero-btn-ghost:hover {
    background: #fff;
    color: var(--itts-primary-dark);
    border-color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* --- Figure (student illustration) + floating badges --- */
.hero-modern .hero-figure {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.28s both;
}
.hero-modern .hero-figure-img {
    max-width: 430px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 60px rgba(0,0,0,0.45));
    animation: heroFloatImg 6.5s ease-in-out infinite;
}
@keyframes heroFloatImg {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}

.hero-modern .hero-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;          /* hug the text, don't stretch */
    max-width: 90%;
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 14px;
    padding: 0.5rem 0.8rem;
    box-shadow: 0 16px 44px rgba(0,0,0,0.24);
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 3;
}
/* Both badges float on the right edge of the figure */
.hero-modern .hero-badge-1 { top: 12%;    right: -2%; left: auto; animation-delay: 0s; }
.hero-modern .hero-badge-2 { bottom: 12%; right: -2%; animation-delay: 2.6s; }
.hero-modern .hero-badge > i {
    font-size: 1.25rem;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--itts-gradient);
    flex-shrink: 0;
}
.hero-modern .hero-badge-2 > i { background: var(--itts-gradient-accent); }
.hero-modern .hero-badge-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--itts-dark);
    line-height: 1.12;
    white-space: nowrap;
}
.hero-modern .hero-badge-label {
    display: block;
    font-size: 0.72rem;
    color: var(--itts-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* --- Scroll cue --- */
.hero-modern .hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-modern .hero-scroll:hover { color: #fff; text-decoration: none; }
.hero-modern .hero-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}
.hero-modern .hero-mouse::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-modern { padding: 118px 0 80px; min-height: auto; }
    .hero-modern .hero-blob { display: none; }
    /* Darken a touch more since text now sits above the stacked figure */
    .hero-modern .hero-overlay {
        background:
            linear-gradient(180deg, rgba(0,15,45,0.90) 0%, rgba(0,20,60,0.80) 55%, rgba(0,26,74,0.88) 100%);
    }
    .hero-modern .hero-figure {
        max-width: 420px;
        margin: 1.5rem auto 0;
        padding: 20px 24px;
    }
    .hero-modern .hero-badge-1 { top: 6%;  right: 0; left: auto; }
    .hero-modern .hero-badge-2 { bottom: 6%; right: 0; }
}
@media (max-width: 767px) {
    .hero-modern { padding: 104px 0 64px; }
    .hero-modern .hero-desc { margin-bottom: 1.8rem; }
    .hero-modern .hero-actions { gap: 0.7rem; }
    .hero-modern .hero-btn { width: 100%; justify-content: center; }
    .hero-modern .hero-scroll { display: none; }
}
@media (max-width: 575px) {
    .hero-modern .hero-figure { max-width: 330px; }
    .hero-modern .hero-badge { padding: 0.5rem 0.75rem; gap: 0.5rem; border-radius: 12px; }
    .hero-modern .hero-badge > i { width: 38px; height: 38px; font-size: 1.05rem; }
    .hero-modern .hero-badge-num { font-size: 0.85rem; }
    .hero-modern .hero-badge-label { font-size: 0.64rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-modern .hero-bg-layer,
    .hero-modern .hero-blob,
    .hero-modern .hero-inner > *,
    .hero-modern .hero-figure,
    .hero-modern .hero-figure-img,
    .hero-modern .hero-badge,
    .hero-modern .hero-scroll,
    .hero-modern .hero-mouse::after { animation: none !important; }
    .hero-modern .hero-inner > *,
    .hero-modern .hero-figure { opacity: 1; }
}

/* =====================================================================
   MODERN GALLERY  — "UKM ITTS / Kegiatan Mahasiswa" (_cat_business)
   ===================================================================== */
.gallery-section { background: var(--itts-white) !important; }

.gallery-card {
    position: relative;
    display: block;
    height: 260px;
    border-radius: var(--itts-radius);
    overflow: hidden;
    background: #0b1f3a;
    box-shadow: var(--itts-shadow);
    transition: var(--itts-transition);
}
.gallery-card:hover {
    box-shadow: var(--itts-shadow-hover);
    transform: translateY(-6px);
}
.gallery-card .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.gallery-card:hover .gallery-img { transform: scale(1.09); }

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,17,51,0.90) 0%, rgba(0,17,51,0.30) 46%, rgba(0,17,51,0) 72%);
    opacity: 0.82;
    transition: opacity 0.4s ease;
}
.gallery-card:hover::after { opacity: 1; }

.gallery-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.3rem;
    transform: translateY(10px);
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.gallery-card:hover .gallery-content { transform: translateY(0); }

.gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--itts-gradient-accent);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.28rem 0.72rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}
.gallery-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}
.gallery-card:hover .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-zoom:hover { background: var(--itts-accent); }

@media (max-width: 575px) {
    .gallery-card { height: 220px; }
    .gallery-title { font-size: 1.05rem; }
}
