/* ==========================================================================
   NEXUS INTERNATIONAL - Global Landing Page Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Theme Definition
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette (B2B Trust & Security) */
    --bg-primary: #EAF2EF;      /* Pristine B2B Light Grey */
    --bg-secondary: #ffffff;    /* Pure White for Premium Cards and Panels */
    --bg-tertiary: #D8D8D8;     /* Neutral Medium Grey */
    --border-color: #D8D8D8;    /* Medium Grey corporate border */
    --border-glow: rgba(62, 146, 204, 0.1); /* Standard Blue border shadow */

    /* Accent Colors (Multi-Layered Trust Pairing) */
    --accent-cyan: #3E92CC;     /* Standard Blue - Analogous pairing for trust */
    --accent-blue: #0A2463;     /* Deep Blue - Analogous pairing for security */
    --accent-royal: #22559C;    /* Royal Steel Blue - Primary Accent CTA */
    --accent-royal-hover: #184175; /* Deeper Steel Blue on hover */
    
    /* Text Colors */
    --text-main: #0A2463;       /* Deep Blue - high contrast corporate readability */
    --text-muted: #5b7593;      /* Mid-blue grey for secondary text */
    --text-inverse: #ffffff;    /* White text for dark elements */

    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows & Glows */
    --shadow-sm: 0 1px 3px 0 rgba(10, 36, 99, 0.05), 0 1px 2px -1px rgba(10, 36, 99, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 36, 99, 0.05), 0 2px 4px -2px rgba(10, 36, 99, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(10, 36, 99, 0.05), 0 8px 10px -6px rgba(10, 36, 99, 0.05);
    --glow-cyan: 0 0 20px rgba(62, 146, 204, 0.15);
    --glow-royal: 0 0 20px rgba(34, 85, 156, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-tilt: 0.1s ease-out; /* Super fast transition for 3D tilt tracking */
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    background-color: var(--bg-primary);
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout Containers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 7.5rem 0;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 2px;
    margin: 1.5rem auto;
}

.sub-title {
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   4. Interactive Background Ambient Orbs
   -------------------------------------------------------------------------- */
.bg-orb {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
    animation: orbFloat 25s infinite alternate ease-in-out;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.orb-1 {
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(62, 146, 204, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.orb-2 {
    top: 40vw;
    left: -15vw;
    background: radial-gradient(circle, rgba(10, 36, 99, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -5s;
    animation-duration: 30s;
}

.orb-3 {
    bottom: -10vw;
    right: -15vw;
    background: radial-gradient(circle, rgba(251, 54, 64, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -10s;
    animation-duration: 20s;
}

@keyframes orbFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(5%, 5%, 0) scale(1.1); }
    100% { transform: translate3d(-5%, -5%, 0) scale(0.9); }
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-royal) 0%, var(--accent-royal-hover) 100%);
    color: #ffffff; /* Explicitly white for premium, urgent CTA focus */
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--glow-royal);
    transform: translateY(-2px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.btn-sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. Header Navigation (Glassmorphic & Sticky)
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-normal);
    
    /* Highly professional frosted light-glass look */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}

.main-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Specific scoping to keep the footer brand untouched */
.main-header .logo {
    color: #0b1528; /* Professional deep navy */
    transition: var(--transition-fast);
}

.main-header .logo-text {
    color: #0b1528;
}

.main-header .logo-subtext {
    color: #475569; /* Elegant slate gray */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-left: 0.25rem;
    transition: var(--transition-fast);
}

.main-header .logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.05));
    transition: var(--transition-fast);
}

.main-header .logo:hover .logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 16px rgba(58, 134, 255, 0.15));
}

.main-header .logo:hover .logo-text {
    color: var(--accent-blue);
}

.main-header .logo:hover .logo-subtext {
    color: var(--accent-blue);
}

.logo-icon {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.accent-text {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.main-header .nav-link {
    color: #475569; /* Elegant slate-600 */
}

.main-header .nav-link:hover, 
.main-header .nav-link.active {
    color: var(--accent-blue); /* Rich corporate blue on hover/active */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    margin-left: 1rem;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: var(--bg-primary); /* Same as the rest of the web background */
    color: var(--text-main);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(62, 146, 204, 0.1); /* Standard Blue tint */
    border: 1px solid rgba(62, 146, 204, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-cyan); /* Standard Blue */
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(62, 146, 204, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-main); /* High contrast deep blue */
}

.hero-content p {
    color: var(--text-muted); /* Mid-blue grey */
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-highlights {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan); /* Standard Blue */
    filter: drop-shadow(0 0 5px rgba(62, 146, 204, 0.3));
}

.highlight-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main); /* Deep Blue */
}

/* Hero 3D Tilt Container & Floating Stats */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-float-wrapper {
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: var(--transition-tilt);
}

.hero-card-glowing-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 28px;
    filter: blur(25px);
    opacity: 0.15;
    z-index: -1;
    transition: var(--transition-normal);
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
    transform: translateZ(20px); /* 3D layer pop out */
}

/* Continuous Subtle Floating Animation for Hero Images */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Floating Metrics Overlays */
.floating-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary); /* pure white panel */
    border: 1px solid var(--border-color); /* standard grey border */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateZ(50px); /* Extrude metrics further for multi-layered parallax */
}

.stat-1 {
    top: 15%;
    left: -15%;
}

.stat-2 {
    bottom: 15%;
    right: -15%;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(62, 146, 204, 0.1); /* Standard Blue background tint */
    border: 1px solid rgba(62, 146, 204, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan); /* Standard Blue */
    font-size: 1.25rem;
    box-shadow: 0 0 10px rgba(62, 146, 204, 0.1);
}

.floating-stat h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main); /* Deep Blue */
}

.floating-stat p {
    color: var(--text-muted); /* Mid-blue grey */
    font-size: 0.75rem;
    font-weight: 500;
}

/* Scroll indicator mouse */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    pointer-events: none;
}

.mouse {
    width: 22px;
    height: 38px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   8. About Us Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 4.5rem;
}

.about-image-wrapper {
    position: relative;
    padding-right: 4rem;
    padding-bottom: 4rem;
}

.about-image-stack {
    position: relative;
    width: 100%;
    height: 480px;
}

.image-box {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.image-box:hover img {
    transform: scale(1.05);
}

.box-1 {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.box-2 {
    width: 65%;
    height: 65%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 3px solid var(--bg-primary); /* Cutout illusion border */
}

/* About Content styling */
.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.35rem;
    color: var(--accent-cyan);
    margin-top: 0.15rem;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3));
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-text strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   9. Our Services Section (Interactive 3D Cards)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4.5rem;
}

.service-card {
    background: var(--bg-secondary); /* pure white #ffffff */
    border: 1px solid var(--border-color); /* subtle light slate border */
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: var(--transition-tilt); /* Tilt transition needs to be immediate */
}

.service-card:hover {
    border-color: rgba(30, 64, 175, 0.15); /* soft sapphire outline on hover */
    box-shadow: var(--shadow-lg), 0 15px 35px rgba(30, 64, 175, 0.04);
}

/* Card Glare Layer */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
    border-radius: 24px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.service-card:hover .card-glare {
    opacity: 1;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    transform: translateZ(25px); /* Elevates photo in 3D */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.card-category {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 23, 42, 0.8); /* dark slate translucent background for perfect text visibility */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #38bdf8; /* vibrant light blue text for contrast */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transform: translateZ(40px); /* Higher 3D extrusion for text overlay */
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #0f172a; /* Slate 900 */
    transition: var(--transition-fast);
}

.service-card:hover .card-content h3 {
    color: var(--accent-blue); /* Royal Blue on hover */
}

.card-content p {
    color: var(--text-muted); /* Slate 600 */
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    margin-top: auto; /* Pushes list to the bottom */
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card-list li i {
    color: var(--accent-cyan); /* azure blue checkmark */
    font-size: 0.875rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    transition: var(--transition-fast);
}

.card-btn i {
    transition: var(--transition-fast);
}

.card-btn:hover {
    color: var(--accent-blue);
}

.card-btn:hover i {
    transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   10. Why Choose Us / Counter Section
   -------------------------------------------------------------------------- */
.stats-section {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.stat-box {
    background: var(--bg-secondary); /* Pure white */
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.stat-box:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(2, 132, 199, 0.04);
}

.stat-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.05);
    border: 1px solid rgba(2, 132, 199, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-normal);
}

.stat-box:hover .stat-box-icon {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.25);
}

.counter-wrapper {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-plus {
    color: var(--accent-cyan);
    margin-left: 1px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Sub features grid */
.features-wrapper {
    background: rgba(255, 255, 255, 0.9); /* Pure white glassmorphic container */
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
}

.feature-card-compact {
    display: flex;
    flex-direction: column;
}

.icon-wrap {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.feature-card-compact h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card-compact p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. Contact & Inquiry Form (Custom Floating Labels)
   -------------------------------------------------------------------------- */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-info .sub-title {
    margin-bottom: 1rem;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.method-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.method-icon {
    width: 52px;
    height: 52px;
    background: rgba(34, 85, 156, 0.08); /* Sophisticated Royal Steel Blue bg */
    border: 1px solid rgba(34, 85, 156, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-royal);
    font-size: 1.25rem;
}

.method-details span {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.method-details a, .method-details address {
    font-size: 1.15rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text-main);
}

.method-details a:hover {
    color: var(--accent-royal);
}

.social-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-container .social-links-wrap {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    align-items: center;
}

.social-links-wrap span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.03); /* Subtle light-slate circular bg */
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #ffffff; /* pure white icon on hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

/* Inquiry Form */
.contact-form-container {
    background: var(--bg-secondary); /* pure white */
    border: 1px solid var(--border-color); /* light slate border */
    border-radius: 32px;
    padding: 3.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.inquiry-form h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.inquiry-form p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.form-row {
    margin-bottom: 1.75rem;
    width: 100%;
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Floating Label Animation Design */
.floating-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: #f8fafc; /* light slate background for inputs */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-cyan);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.1);
}

.text-area {
    resize: none;
}

.floating-group label {
    position: absolute;
    left: 1.25rem;
    top: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    font-size: 0.95rem;
}

/* Float label triggered on focus or input text present */
.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
    top: -0.65rem;
    left: 1rem;
    font-size: 0.75rem;
    background: var(--bg-secondary); /* Matches white background of card */
    padding: 0 0.5rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Dropdown select wrapper */
.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: #f8fafc; /* light background */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-select:focus {
    border-color: var(--accent-cyan);
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Errors & Validation */
.form-error {
    position: absolute;
    bottom: -1.2rem;
    left: 0.5rem;
    font-size: 0.725rem;
    color: #ef4444; /* bright corporate red */
    display: none;
}

.form-group.invalid .form-input,
.form-group.invalid .form-select {
    border-color: #ef4444;
}

.form-group.invalid .form-error {
    display: block;
}

/* Spinner */
.hidden {
    display: none !important;
}

.btn-spinner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Success Overlay Panel */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary); /* pure white background */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.form-success-overlay.id-visible {
    opacity: 1;
    visibility: visible;
}

.success-content {
    max-width: 400px;
}

.success-icon {
    font-size: 4rem;
    color: #10b981; /* Success Emerald */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* helper class for toggling overlay */
.id-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--bg-primary); /* Same as the rest of the web background */
    border-top: 1px solid var(--border-color); /* Medium Grey border */
    padding-top: 5rem;
    color: var(--text-muted); /* Mid-blue grey text */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem; /* Clean and elegant footer branding size */
    color: var(--text-main); /* High contrast Deep Blue on Light Grey background */
}

.footer-brand .logo-img {
    height: 34px; /* Sleek, custom perfect branding size for footer */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(10, 36, 99, 0.05));
}

.footer-desc {
    color: var(--text-muted); /* Mid-blue grey description */
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.license-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(10, 36, 99, 0.03);
    border: 1px solid rgba(10, 36, 99, 0.06);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main); /* Deep Blue for column titles */
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-muted); /* Mid-blue grey links */
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan); /* Standard Blue */
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color); /* Medium Grey separator */
    padding: 2rem 0;
}

.footer-bottom p {
    color: #64748b; /* Sleek slate-500 copyright text */
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   13. Intersection Observer Scroll Reveal System
   -------------------------------------------------------------------------- */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-left {
    transform: translateX(-40px);
}

.reveal-fade-right {
    transform: translateX(40px);
}

/* Activated Visible States */
.reveal-fade-up.active,
.reveal-fade-left.active,
.reveal-fade-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --------------------------------------------------------------------------
   14. Responsiveness / Mobile Adaptive Styles
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
    .hero-container {
        gap: 2rem;
    }
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 5.5rem 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-highlights {
        justify-content: center;
        width: 100%;
    }
    .hero-image-container {
        margin-top: 2rem;
    }
    .floating-stat {
        display: none; /* Hide floating widgets on tablets and smaller to prevent horizontal overflow */
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
    .about-image-wrapper {
        padding-right: 0;
        padding-bottom: 0;
    }
    .about-image-stack {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation Hamburger Toggle */
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 0;
    }

    .hamburger-bar {
        width: 100%;
        height: 2px;
        background-color: #0b1528; /* High-contrast navy bars on light background */
        border-radius: 4px;
        transition: all var(--transition-fast) ease-in-out;
    }

    /* Hamburger active/open state animation */
    .mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Glassmorphic Slide-out Mobile Menu */
    .nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden offscreen by default */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); /* Premium light-glass drawer */
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 7.5rem 2rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 1px solid rgba(15, 23, 42, 0.08);
    }

    .nav-menu.open {
        right: 0; /* Slide in menu drawer */
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 2.25rem;
    }

    .nav-menu ul li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        font-size: 1.35rem;
        font-weight: 600;
        padding: 0.25rem 0;
    }

    .header-cta {
        margin-left: 0;
        width: 100%;
        max-width: 240px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.85rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .hero-highlights {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 4.5rem auto 0 auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    .features-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .contact-form-container {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    .form-row.split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    .logo-img {
        height: 36px;
    }
    .logo-subtext {
        display: inline; /* Keep 'INTERNATIONAL' visible */
    }
    .hero-content h1 {
        font-size: 2.15rem;
    }
    .about-image-stack {
        height: 280px;
    }
    .section-padding {
        padding: 4.5rem 0;
    }
    .features-wrapper {
        border-radius: 20px;
    }
}

/* 2026 brand refinement: preserves the original colour palette. */
html { font-size: 16px; scroll-padding-top: 100px; }
.container { max-width: 1280px; padding-inline: 2.5rem; }
.bg-orb, .hero-card-glowing-bg, .scroll-indicator, .card-glare { display: none; }
.main-header { padding: 1.1rem 0; }
.main-header .logo-text { color: var(--accent-blue); line-height: 1.15; }
.main-header .logo-subtext { display: block; margin: .35rem 0 0; font-size: .65rem; letter-spacing: .22em; color: var(--accent-royal); }
.main-header .logo-img { height: 48px; width: 48px; object-fit: contain; }
.nav-menu ul { gap: 1.8rem; }
.header-cta { margin-left: .25rem; }
.btn { border-radius: 6px; font-size: .9rem; box-shadow: none; }
.btn:hover { box-shadow: var(--shadow-md); }
.hero-section { min-height: auto; padding: 10.5rem 0 5rem; }
.hero-container { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
.hero-content h1 { font-size: clamp(2.6rem, 4.3vw, 3.8rem); line-height: 1.13; letter-spacing: -.055em; font-weight: 600; }
.hero-content p { font-size: 1.05rem; line-height: 1.85; max-width: 470px; margin-bottom: 2rem; }
.badge { border: 0; background: none; padding: 0; box-shadow: none; border-radius: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-royal); margin-bottom: 1.5rem; }
.badge i { font-size: 1rem; }
.hero-cta-group { gap: .8rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.hero-highlights { gap: 1.4rem; padding-top: 1.4rem; }
.highlight-item { gap: .5rem; }
.highlight-item i { font-size: 1rem; filter: none; }
.highlight-item span { font-size: .8rem; }
.hero-float-wrapper, .hero-3d-wrapper { max-width: none; animation: none; perspective: none; transform-style: flat; }
.hero-3d-wrapper { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--accent-blue); border-radius: 12px; box-shadow: 0 20px 50px rgba(10,36,99,.12); }
.hero-image { grid-column: 1 / -1; height: 390px; width: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; border: 0; border-radius: 0; transform: none; box-shadow: none; }
.photo-label { position: absolute; left: 1.5rem; top: 1.5rem; z-index: 1; background: var(--bg-secondary); color: var(--accent-blue); padding: .6rem .8rem; font-size: .65rem; font-weight: 700; letter-spacing: .13em; border-radius: 3px; }
.floating-stat { position: static; display: flex; padding: 1.35rem 1.5rem; border: 0; border-radius: 0; transform: none; box-shadow: none; background: transparent; backdrop-filter: none; gap: .8rem; }
.stat-2 { border-left: 1px solid rgba(255,255,255,.2); }
.stat-icon { border: none; background: rgba(255,255,255,.1); color: var(--bg-secondary); box-shadow: none; border-radius: 50%; flex-shrink: 0; }
.floating-stat h4 { color: var(--text-inverse); font-size: 1.5rem; }
.floating-stat p { color: var(--text-inverse); font-size: .75rem; }
.section-padding { padding: 5.5rem 0; }
.about-section { border-top: 1px solid var(--border-color); }
.section-header h2 { font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.65rem); letter-spacing: -.04em; }
.sub-title { color: var(--accent-royal); font-size: .8rem; }
.divider { height: 2px; margin: 1.3rem auto; }
.about-grid { gap: 4rem; margin-top: 3.5rem; }
.about-image-wrapper { padding: 0; }
.about-image-stack { height: 440px; }
.box-1 { width: 88%; height: 80%; border-radius: 8px; }
.box-2 { width: 66%; height: 55%; border: 7px solid var(--bg-primary); border-radius: 8px; }
.about-content h3 { font-size: 1.8rem; font-weight: 600; letter-spacing: -.03em; }
.about-content p { font-size: 1rem; margin-bottom: 1.3rem; }
.about-features { gap: 1rem; margin-bottom: 1.7rem; }
.feature-icon { font-size: 1rem; filter: none; }
.feature-text { font-size: .9rem; }
.services-section { background: var(--bg-secondary); }
.services-grid { gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.services-grid > div { display: flex; min-width: 0; }
.service-card { border-radius: 8px; box-shadow: none; display: flex; flex-direction: column; width: 100%; transform: none; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { height: 235px; flex-shrink: 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-category { border-radius: 4px; font-size: .8rem; }
.card-content { padding: 1.6rem; display: flex; flex: 1; flex-direction: column; }
.card-content h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.card-content p { font-size: 1rem; line-height: 1.7; }
.card-list { margin-top: auto; font-size: .9rem; }
.card-btn { border-top: 1px solid var(--border-color); border-radius: 0; padding-top: 1.2rem; margin-top: 1.4rem; }
.stat-box { border-radius: 6px; box-shadow: none; }
.features-wrapper { border-radius: 8px; box-shadow: none; }
.feature-card-compact h3 { font-size: 1.15rem; }
.contact-grid { gap: 4rem; }
.contact-info h2 { font-size: 2.65rem; letter-spacing: -.04em; font-weight: 600; }
.contact-form-container { border-radius: 10px; box-shadow: var(--shadow-lg); }
.form-input, .form-select { border-radius: 6px; font-size: 1rem; }
.form-error { font-size: .8rem; }
.form-group { min-width: 0; }
.main-footer { padding-top: 4rem; }
.footer-grid { gap: 2.5rem; }
.reveal-fade-up, .reveal-fade-left, .reveal-fade-right { opacity: 1; transform: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-cyan); outline-offset: 5px; }
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-menu ul { gap: 1rem; }
    .nav-link { font-size: .8rem; }
    .main-header .logo { font-size: 1.2rem; }
    .header-cta { padding: .7rem .9rem; }
}
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; }
    .hero-content { display: block; }
    .hero-content h1 { font-size: 2.7rem; }
    .hero-image-container { margin: 0; }
    .hero-cta-group { justify-content: flex-start; }
    .hero-highlights { justify-content: flex-start; flex-wrap: wrap; gap: 1rem; }
    .floating-stat { padding: 1.1rem; }
    .stat-icon { display: none; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .about-image-stack { height: 400px; }
    .services-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
    .service-card { display: grid; grid-template-columns: .8fr 1fr; }
    .card-image { height: 100%; min-height: 300px; }
}
@media (max-width: 768px) {
    .container { padding-inline: 1.4rem; }
    .hero-section { padding: 8rem 0 3.5rem; }
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content h1 { font-size: clamp(2.3rem, 8.5vw, 3.6rem); }
    .hero-content p { max-width: none; }
    .hero-cta-group { flex-direction: row; }
    .hero-cta-group .btn { width: auto; flex: 1; padding-inline: .8rem; }
    .hero-highlights { flex-direction: row; gap: 1rem; }
    .hero-image { height: 310px; }
    .floating-stat { padding: 1.2rem; }
    .photo-label { left: 1rem; top: 1rem; }
    .section-padding { padding: 3.5rem 0; }
    .about-grid { grid-template-columns: 1fr; gap: 2.2rem; margin-top: 2rem; }
    .about-image-stack { height: 340px; max-width: none; }
    .services-grid { margin-top: 2rem; }
    .service-card { display: flex; }
    .card-image { min-height: 0; height: 230px; }
    .stats-grid { grid-template-columns: 1fr 1fr; max-width: none; gap: .8rem; }
    .stat-box { padding: 1.5rem .75rem; }
    .counter-wrapper { font-size: 2.2rem; }
    .contact-grid { gap: 2.5rem; }
    .contact-info h2 { font-size: 2.1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .nav-menu:not(.open) { visibility: hidden; }
    .mobile-nav-toggle { width: 32px; height: 24px; }
    .mobile-nav-toggle.open .hamburger-bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .mobile-nav-toggle.open .hamburger-bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}
@media (max-width: 360px) {
    .hero-cta-group { flex-direction: column; }
    .hero-image { height: 260px; }
    .badge { font-size: .65rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Frosted glass study abroad inquiry dialog */
#explorePlacements, #exploreCareers, #exploreOpportunities { font: inherit; cursor: pointer; background: transparent; text-align: left; }
.placement-dialog {
    margin: auto;
    width: min(620px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 36px;
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(225,239,247,.87));
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(10,36,99,.3), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.placement-dialog::backdrop { background: rgba(10,26,52,.45); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.placement-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 1px solid rgba(10,36,99,.12); border-radius: 50%; background: rgba(255,255,255,.65); color: var(--text-main); cursor: pointer; font-size: 25px; line-height: 1; }
.placement-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--accent-royal); margin-bottom: 12px; }
.placement-dialog h2 { font-family: var(--font-heading); font-size: clamp(23px, 4vw, 29px); line-height: 1.25; margin-bottom: 10px; padding-right: 12px; }
#placementIntro, #careerIntro, #opportunityIntro, #serviceIntro { color: #4b627c; font-size: 14px; margin-bottom: 20px; }
#exploreServices { font-family: inherit; cursor: pointer; }
#inquiryForm { scroll-margin-top: 120px; }
.service-choices { display: grid; gap: 12px; }
.service-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px; border: 1px solid rgba(62,108,155,.25); border-radius: 12px; background: rgba(255,255,255,.7); color: var(--text-main); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.service-choice:hover { background: #dce9f5; border-color: var(--accent-royal); }
.service-choice:focus-visible, #exploreServices:focus-visible { outline: 3px solid var(--accent-cyan); outline-offset: 3px; }
#placementForm label, #careerForm label, #opportunityForm label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; }
#placementForm input:not([type="checkbox"]), #placementForm select, #careerForm input:not([type="checkbox"]), #careerForm select, #opportunityForm input:not([type="checkbox"]), #opportunityForm select { display: block; width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid rgba(62,108,155,.25); border-radius: 11px; background: rgba(255,255,255,.66); color: var(--text-main); font: inherit; font-size: 14px; }
#placementForm select option, #careerForm select option, #opportunityForm select option { background: #fff; color: #0a2463; }
#placementForm :focus-visible, #careerForm :focus-visible, #opportunityForm :focus-visible, .placement-close:focus-visible { outline: 3px solid var(--accent-cyan); outline-offset: 3px; }
.placement-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.placement-columns > div { min-width: 0; }
.placement-help, .placement-optional { font-size: 12px; color: #4b627c; font-weight: 400; }
.placement-help { margin-top: 6px; }
#placementForm input[type="file"], #careerForm input[type="file"], #opportunityForm input[type="file"] { border-style: dashed; font-size: 12px; }
#placementForm input::file-selector-button, #careerForm input::file-selector-button, #opportunityForm input::file-selector-button { border: 0; border-radius: 6px; background: #dce9f5; color: #0a2463; padding: 7px 10px; margin-right: 10px; cursor: pointer; }
.placement-honeypot { display: none; }
.placement-submit { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; margin-top: 22px; padding: 14px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #22559c, #0a2463); color: white; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(34,85,156,.2); }
.placement-submit:disabled { opacity: .6; cursor: wait; }
.placement-status { margin-top: 12px; font-size: 13px; }
.placement-status:empty { display: none; }
.placement-status[data-state="error"] { color: #a12020; }
.placement-status[data-state="success"] { color: #166042; }
@media (max-width: 540px) {
    .placement-dialog { padding: 28px 20px; }
    .placement-columns { grid-template-columns: 1fr; gap: 0; }
}
