/* YDDO Maritime - Styles */

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

:root {
    --navy: #0B1D33;
    --navy-light: #122A4A;
    --blue: #1565C0;
    --blue-light: #1E88E5;
    --accent: #E53935;
    --accent-dark: #C62828;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --announcement-height: 36px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    height: var(--announcement-height);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.top-bar-item:hover {
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-social {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.top-bar-social:hover {
    color: var(--white);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: var(--announcement-height);
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Navbar on homepage (transparent over hero) */
body.home-page .navbar:not(.scrolled) .nav-links > li > a {
    color: rgba(255, 255, 255, 0.9);
}
body.home-page .navbar:not(.scrolled) .nav-links > li > a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
body.home-page .navbar:not(.scrolled) .hamburger span {
    background: var(--white);
}
body.home-page .navbar:not(.scrolled) .lang-switch {
    border-color: rgba(255, 255, 255, 0.3);
}
body.home-page .navbar:not(.scrolled) .lang-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}
body.home-page .navbar:not(.scrolled) .lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Sub-pages: solid navbar by default */
body:not(.home-page) .navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.6rem 1rem;
    color: var(--gray-800);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    border-radius: 6px;
}

.nav-links > li > a:hover {
    color: var(--blue);
    background: var(--gray-50);
}

.arrow {
    font-size: 0.6rem;
    opacity: 0.5;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-switch {
    display: flex;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    background: var(--white);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--navy);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--gray-50);
    color: var(--gray-800);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--accent);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 29, 51, 0.6) 0%, rgba(11, 29, 51, 0.3) 40%, rgba(11, 29, 51, 0.5) 70%, rgba(11, 29, 51, 0.85) 100%),
        linear-gradient(90deg, rgba(11, 29, 51, 0.7) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: calc(80px + var(--announcement-height));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.hero-scroll span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========== WAVE DIVIDERS ========== */
.wave-divider {
    line-height: 0;
    margin-top: -1px;
    background: var(--white);
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider.wave-to-navy {
    background: var(--white);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 550px;
    margin: 0 auto;
}

/* ========== VALUE PROPOSITIONS ========== */
.value-props {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.value-icon {
    color: var(--blue);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========== SERVICES ========== */
.services {
    padding: 7rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 12px;
    color: var(--blue);
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(21, 101, 192, 0.14);
}

.service-card-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.4rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.2rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Class society logos inside service cards */
.class-logos {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.class-logos-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.class-logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.class-logos-row img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.class-logos-row img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.service-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

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

/* ========== ABOUT ========== */
.about {
    padding: 7rem 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .section-tag {
    display: block;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--gray-800);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-text {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ========== PARTNERS ========== */
.partners {
    padding: 5rem 0;
    background: var(--navy);
}

.partners .section-tag {
    color: var(--accent);
}

.partners .section-header h2 {
    color: var(--white);
}

.partners .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-item:hover img {
    opacity: 1;
}

.partner-fallback {
    display: none;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ========== PARTNER MARQUEE (Homepage) ========== */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: marqueeScroll 50s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.marquee-item img {
    height: 50px;
    width: 140px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.marquee-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== REFERENCES SECTION ========== */
.references-section {
    padding: 4rem 0 2rem;
    background: var(--gray-50);
}

.references-section .marquee-track-refs {
    animation: marqueeScroll 35s linear infinite;
}

.references-section .marquee-item {
    padding: 0.75rem 1rem;
}

.references-section .marquee-item img {
    height: 60px;
    width: 170px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 24px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.references-section .marquee-item:hover img {
    border-color: var(--blue-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* ========== CONTACT ========== */
.contact {
    padding: 7rem 0;
    background: var(--gray-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info .section-tag {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--gray-800);
    font-weight: 500;
}

.contact-link {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--blue);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-hours {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ========== PAGE HERO (Sub-pages) ========== */
.page-hero {
    padding: calc(8rem + var(--announcement-height)) 0 4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== PAGE CONTENT (Sub-pages) ========== */
.page-content {
    padding: 5rem 0;
    min-height: 40vh;
}

.page-content.intro-section {
    padding: 3rem 0 1.5rem;
    min-height: auto;
    text-align: center;
}

.page-content.intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.9;
}

.page-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy);
    z-index: 998;
    padding: 1rem 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.cookie-accept {
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-accept:hover {
    background: var(--accent-dark);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ========== SERVICE DETAIL (service-support.html) ========== */
.services-intro-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-detail {
    padding: 5rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.service-detail:nth-child(even) {
    background: var(--gray-50);
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-reverse .service-detail-row {
    direction: ltr;
}

.service-detail-reverse .service-detail-image {
    order: 2;
}

.service-detail-reverse .service-detail-text {
    order: 1;
}

.service-detail-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-200);
    min-height: 300px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.service-detail-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.service-detail-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-detail-text > p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.service-detail-list li {
    padding: 0.4rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ========== CLASS APPROVALS (class-approvals.html) ========== */
.class-intro-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.class-societies {
    padding: 3rem 0 5rem;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.class-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.class-card-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.class-card-logo img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.class-card:hover .class-card-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.class-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.class-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.class-info-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.class-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.class-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.class-info-card svg {
    color: var(--blue);
    margin-bottom: 1rem;
}

.class-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.class-info-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== PARTNERS PAGE (partners.html) ========== */
.partners-intro-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.featured-partners {
    padding: 3rem 0 5rem;
}

.featured-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-partner-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.featured-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.featured-partner-highlight {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.03) 0%, rgba(30, 136, 229, 0.06) 100%);
}

.featured-partner-logo {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.featured-partner-logo img {
    height: 60px;
    width: 150px;
    object-fit: contain;
}

.partner-fallback-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 1px;
}

.featured-partner-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.featured-partner-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.partner-link-icon {
    font-size: 1.2rem;
    color: var(--blue);
    opacity: 0;
    transition: opacity 0.2s;
}

.featured-partner-card:hover .partner-link-icon {
    opacity: 1;
}

.additional-partners {
    padding: 5rem 0;
    background: var(--gray-50);
}

.additional-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.additional-partner-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.additional-partner-item:hover {
    border-color: var(--blue-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.additional-partner-item img {
    height: 40px;
    width: 120px;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.3s;
    filter: grayscale(30%);
}

.additional-partner-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.additional-partner-item .partner-fallback {
    display: none;
    color: var(--navy);
    font-weight: 600;
}

/* ========== EQUIPMENT PRODUCT PAGES ========== */
.product-hero-section {
    padding: 4rem 0 3rem;
    background: var(--gray-50);
}

.product-hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.product-hero-info {
    flex: 1;
}

.product-hero-info .brand-tag {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-hero-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.product-hero-info p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

.products-section {
    padding: 4rem 0;
}

.products-section.alt-bg {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--blue-light);
}

.product-card-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-hero-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-hero-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== OFFICES PAGE (offices.html) ========== */
.offices-section {
    padding: 2rem 0 5rem;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.office-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.office-card-hq {
    border-color: var(--accent);
    border-width: 2px;
}

.office-flag {
    margin-bottom: 1rem;
}

.flag-emoji {
    font-size: 2rem;
}

.office-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.office-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.office-details {
    margin-bottom: 1.5rem;
}

.office-address {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.office-phone a,
.office-email a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.office-phone a:hover,
.office-email a:hover {
    color: var(--blue);
}

.office-id {
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.office-map-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CAREER PAGE (career.html) ========== */
.career-benefits {
    padding: 3rem 0 5rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.career-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.career-card-icon {
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.career-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.career-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CONTACT PAGE (contact.html) ========== */
.contact-page {
    padding: 5rem 0;
    background: var(--gray-50);
}

.contact-page .contact-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 5rem;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.back-to-top:hover {
    background: var(--blue);
}

/* ========== ACTIVE NAV LINK ========== */
.nav-links > li > a.active-link {
    color: var(--blue);
}

body.home-page .navbar:not(.scrolled) .nav-links > li > a.active-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* ========== ANIMATIONS ========== */
/* Scroll-triggered animation classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.7s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-row {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .class-grid,
    .class-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .additional-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-right .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .top-bar-left {
        gap: 0.75rem;
    }

    .top-bar {
        font-size: 0.7rem;
    }

    .top-bar-item:last-child {
        display: none;
    }

    .top-bar-right {
        display: none;
    }

    .back-to-top {
        right: 5rem;
        bottom: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        animation: mobileMenuIn 0.25s ease forwards;
    }

    @keyframes mobileMenuIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .about-text h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .wave-divider svg {
        height: 30px;
    }

    .marquee-item img {
        height: 35px;
        width: 100px;
    }

    .references-section .marquee-item img {
        height: 45px;
        width: 130px;
        padding: 10px 16px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .service-detail-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-reverse .service-detail-image,
    .service-detail-reverse .service-detail-text {
        order: unset;
    }

    .service-detail-text h2 {
        font-size: 1.5rem;
    }

    .class-grid,
    .class-info-grid,
    .featured-partners-grid {
        grid-template-columns: 1fr;
    }

    .additional-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
