/* ============================================================
   FRMS - Fortitude Risk Management Solutions Ltd
   Main Stylesheet
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&family=Lora:wght@400;500&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --primary:      #0B1F3A;
    --secondary:    #2F4F6F;
    --highlight:    #d98528;
    --dark:         #1E1E1E;
    --light-gray:   #F3F5F7;
    --gray:         #7A7A7A;
    --white:        #FFFFFF;
    --accent:       #1C6EA4;
    --success:      #2E8B57;

    --font-heading: 'Montserrat', Arial, sans-serif;
    --font-body:    'Open Sans', Helvetica, Arial, sans-serif;
    --font-accent:  'Lora', Georgia, serif;

    --radius:       10px;
    --radius-sm:    6px;
    --shadow:       0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.14);
    --transition:   all 0.3s ease;
    --container:    1200px;

    --section-desktop: 100px;
    --section-tablet:  70px;
    --section-mobile:  50px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

p { margin-bottom: 1rem; color: #444; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: var(--section-desktop) 0;
}

.section-pad-sm {
    padding: 60px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-highlight { color: var(--highlight); }
.text-accent { color: var(--accent); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-light { background: var(--light-gray); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--dark); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

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

/* ============================================================
   SECTION LABELS / OVERLINES
   ============================================================ */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 640px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--highlight);
    color: var(--white);
    border-color: var(--highlight);
}
.btn-primary:hover {
    background: #bf7420;
    border-color: #bf7420;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217,133,40,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: #1558853;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28,110,164,0.35);
}

.btn-lg { padding: 16px 36px; font-size: 0.85rem; }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    transition: var(--transition);
}

/* Transparent on hero */
#navbar.nav-transparent .navbar-inner {
    background: transparent;
}

/* Scrolled state */
#navbar.nav-scrolled .navbar-inner {
    background: rgba(11,31,58,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

/* Non-hero pages: always solid */
#navbar.nav-solid .navbar-inner {
    background: var(--primary);
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-text .logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.nav-logo-text .logo-sub {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.4;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--highlight);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo-icon svg { width: 26px; height: 26px; fill: white; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--highlight);
    border-radius: 2px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta .btn { padding: 10px 22px; font-size: 0.75rem; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 100vw);
    height: 100vh;
    background: var(--primary);
    z-index: 999;
    padding: 90px 32px 32px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--highlight); }

.mobile-menu .mobile-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.mobile-overlay.open { display: block; }

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3557 40%, #2F4F6F 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.06)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.04)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="30" r="1.2" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="70" r="1.8" fill="rgba(255,255,255,0.04)"/></svg>') repeat;
    background-size: 200px;
    animation: bgDrift 30s linear infinite;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    mix-blend-mode: luminosity;
}

@keyframes bgDrift {
    from { background-position: 0 0; }
    to { background-position: 200px 200px; }
}

/* Geometric accent shapes */
.hero-shape-1 {
    position: absolute;
    top: -80px; right: -80px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,133,40,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-shape-2 {
    position: absolute;
    bottom: -120px; left: -60px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28,110,164,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-top: 1em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217,133,40,0.15);
    border: 1px solid rgba(217,133,40,0.3);
    color: var(--highlight);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge span.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--highlight);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4.7vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

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

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

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

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Hero stats bar */
.hero-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    background: rgba(11,31,58,0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child { border-right: none; }

.hero-stat .figure {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--highlight);
    display: block;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
    position: relative;
    padding: 120px 0 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><polygon points="0,0 200,0 200,150 0,200" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: 600px;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
}

.page-banner-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.12;
    mix-blend-mode: luminosity;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--highlight); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--highlight); }

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0;
}

.page-banner .banner-line {
    width: 60px; height: 4px;
    background: var(--highlight);
    border-radius: 2px;
    margin: 1.25rem 0 1.5rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img { transform: scale(1.07); }

.card-body { padding: 1.75rem; }

.card-icon {
    width: 54px; height: 54px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.card-icon svg { width: 26px; height: 26px; fill: white; }

/* Service cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(11,31,58,0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--highlight);
    transition: height 0.4s ease;
}

.service-card:hover::before { height: 100%; }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217,133,40,0.2);
}

/* Value/feature cards */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11,31,58,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Stat cards */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-card .stat-figure {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--highlight);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.img-placeholder svg {
    width: 48px; height: 48px;
    opacity: 0.3;
    fill: white;
}

/* Overlay for images */
.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,58,0.6) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(217,133,40,0.1) 0%, transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-item .figure {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--highlight);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,133,40,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    left: -80px; bottom: -80px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28,110,164,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   INTRO SECTION (2-col text + image)
   ============================================================ */
.intro-section .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-section .intro-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.intro-section .intro-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.intro-section .intro-img .accent-block {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 140px; height: 140px;
    background: var(--highlight);
    border-radius: var(--radius);
    opacity: 0.15;
    z-index: -1;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.why-item:last-child { margin-bottom: 0; }

.why-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(11,31,58,0.08), rgba(47,79,111,0.12));
    border: 1px solid rgba(11,31,58,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--highlight);
    border-color: var(--highlight);
}

.why-item:hover .why-icon svg { fill: white; }

.why-icon svg {
    width: 22px; height: 22px;
    fill: var(--primary);
    transition: var(--transition);
}

.why-text h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.why-text p { margin: 0; font-size: 0.9rem; }

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

.service-icon-wrapper {
    width: 60px; height: 60px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--highlight), #bf7420);
}

.service-icon-wrapper svg {
    width: 28px; height: 28px;
    fill: white;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.service-benefits {
    margin: 1rem 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    padding: 4px 0;
}

.service-benefits li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--highlight);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.service-link:hover { color: var(--highlight); gap: 10px; }

.service-link svg {
    width: 14px; height: 14px;
    fill: currentColor;
    transition: var(--transition);
}

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.industry-item {
    background: var(--white);
    border: 1px solid rgba(11,31,58,0.08);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    cursor: default;
}

.industry-item:hover {
    border-color: var(--highlight);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.industry-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(11,31,58,0.1);
    line-height: 1;
    flex-shrink: 0;
    min-width: 36px;
    transition: var(--transition);
}

.industry-item:hover .industry-num { color: var(--highlight); }

.industry-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

/* ============================================================
   TRAINING CARDS
   ============================================================ */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.course-item {
    background: var(--white);
    border: 1px solid rgba(11,31,58,0.07);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.course-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(28,110,164,0.12);
    transform: translateX(4px);
}

.course-num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--highlight);
    background: rgba(217,133,40,0.1);
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.course-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
    background: var(--white);
    border: 1px solid rgba(11,31,58,0.08);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(28,110,164,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover { background: var(--light-gray); }

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.faq-toggle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(11,31,58,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--accent);
    transform: rotate(180deg);
}

.faq-toggle svg {
    width: 16px; height: 16px;
    fill: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle svg { fill: white; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px solid rgba(11,31,58,0.06);
    padding-top: 1rem;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(217,133,40,0.1);
    pointer-events: none;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail:last-of-type { margin-bottom: 0; }

.contact-detail-icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px; height: 20px;
    fill: var(--highlight);
}

.contact-detail-text span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-detail-text a,
.contact-detail-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0;
}

.contact-detail-text a:hover { color: var(--highlight); }

.office-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.office-hours h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hours-row:last-child { border-bottom: none; }

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11,31,58,0.06);
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(11,31,58,0.12);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(28,110,164,0.1);
}

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

/* ============================================================
   ABOUT PAGE SPECIFICS
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11,31,58,0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217,133,40,0.2);
}

.value-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11,31,58,0.08), rgba(47,79,111,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.value-icon svg {
    width: 26px; height: 26px;
    fill: var(--primary);
    transition: var(--transition);
}

.value-card:hover .value-icon svg { fill: white; }

.value-card h4 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Timeline steps */
.steps-list {
    counter-reset: steps;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 1.75rem;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 22px; top: 46px;
    width: 2px;
    height: calc(100% - 46px);
    background: linear-gradient(to bottom, rgba(217,133,40,0.3), transparent);
}

.step-item:last-child::before { display: none; }

.step-num {
    counter-increment: steps;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h4 { margin-bottom: 0.25rem; }
.step-content p { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* Mission/Vision cards */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mv-card {
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.mv-card.vision {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.mv-card.mission {
    background: var(--light-gray);
    border: 1px solid rgba(11,31,58,0.08);
}

.mv-card h3 {
    margin-bottom: 1rem;
}

.mv-card.vision h3 { color: var(--highlight); }

.mv-card p {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
}

.mv-card.vision p { color: rgba(255,255,255,0.85); margin: 0; }

/* ============================================================
   ERM PAGE
   ============================================================ */
.erm-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.erm-area-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.erm-area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.erm-area-img {
    aspect-ratio: 16/9;
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
}

.erm-area-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.erm-area-card:hover .erm-area-img img { transform: scale(1.07); }

.erm-area-body {
    padding: 1.75rem;
}

/* Knowledge solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-item {
    background: var(--white);
    border: 1px solid rgba(11,31,58,0.07);
    border-radius: var(--radius);
    padding: 1.75rem;
    border-left: 4px solid var(--highlight);
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.solution-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.solution-item p { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #080f1a;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    width: 16px; height: 16px;
    fill: var(--highlight);
    flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--highlight); }

.footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--highlight);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--highlight);
    font-size: 1.1rem;
    line-height: 1;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-bottom a { color: var(--highlight); }

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: rgba(255,255,255,0.6);
}

.social-btn:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    color: white;
    transform: translateY(-3px);
}

.social-btn svg {
    width: 16px; height: 16px;
    fill: currentColor;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    bottom: 32px; right: 28px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.fab {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.fab:hover { transform: scale(1.1); }

.fab-whatsapp {
    background: #25D366;
    color: white;
}

.fab-top {
    background: var(--primary);
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.fab-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.fab svg { width: 24px; height: 24px; fill: white; }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(to right, var(--highlight), var(--accent));
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

.section-divider.center { margin: 1rem auto 1.5rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--light-gray); }

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 20px;
    font-size: 5rem;
    font-family: var(--font-accent);
    color: var(--highlight);
    opacity: 0.4;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info .name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.author-info .role {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    aspect-ratio: 16/7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder svg {
    width: 80px; height: 80px;
    fill: rgba(255,255,255,0.2);
    position: absolute;
}

.map-placeholder .map-label {
    position: relative;
    z-index: 1;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   HIGHLIGHTED BAND
   ============================================================ */
.highlight-band {
    background: linear-gradient(135deg, var(--highlight), #bf7420);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.marquee-item::after {
    content: '◆';
    font-size: 0.5rem;
    color: rgba(255,255,255,0.5);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-desktop: var(--section-tablet);
    }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-item:nth-child(even) { border-bottom: none; }

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

    .intro-section .intro-grid { gap: 3rem; }

    .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2) { border-right: none; }

    .contact-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-desktop: var(--section-mobile);
    }

    .grid-2, .grid-3, .grid-4, .services-grid { grid-template-columns: 1fr; }

    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .nav-links { display: none; }
    .nav-cta { display: none; }

    .navbar-inner { padding: 16px 0 !important; }

    .intro-section .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .intro-section .intro-img { display: none; }

    .hero-stats { display: none; }
    .hero-scroll { display: none; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .industries-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .erm-areas-grid { grid-template-columns: 1fr; }

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

    .section-header { margin-bottom: 2rem; }
    .cta-section { padding: 60px 0; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .values-grid { grid-template-columns: 1fr; }
    .training-grid { grid-template-columns: 1fr; }
    .fab { width: 48px; height: 48px; }
}

svg{
    width:24px;
    height:24px;
}

.nav-links a.active,
.mobile-menu a.active {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid var(--highlight);
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(11,31,58,0.06);
    text-decoration: none;
    aspect-ratio: 1 / 0.8;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(0.7);
    opacity: 0.85;
}

.partner-item .partner-hover-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11,31,58,0.85), transparent);
    padding: 1rem 0.5rem 0.5rem;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
    pointer-events: none;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.partner-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--highlight);
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

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

/* Responsive */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    .partner-item {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .partner-item {
        padding: 1rem;
        aspect-ratio: 1 / 0.9;
    }
    .partner-item .partner-hover-name {
        font-size: 0.65rem;
        padding: 0.5rem 0.25rem 0.25rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 50px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        padding: 90px 0 40px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        position: relative;  /* Change from absolute to relative */
        margin-top: -2px;
    }
    .hero-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .floating-btns {
        bottom: 16px;
        right: 16px;
    }
    .fab {
        width: 44px;
        height: 44px;
    }
    .fab svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.65rem;
        flex-wrap: wrap;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-item {
        padding: 30px 15px;
    }
    .stat-item .figure {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-label {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 400px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .partner-item {
        padding: 0.75rem;
        aspect-ratio: 1 / 0.8;
    }
}

@media (max-width: 480px) {
    .seminars-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

.hero-content {
    margin-top: 1em;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 2em;  /* More space for navbar */
    }
}

/* ============================================================
   ADDITIONAL RESPONSIVE FIXES
   ============================================================ */

/* Page Banner */
@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 50px;
    }
}
@media (max-width: 480px) {
    .page-banner {
        padding: 90px 0 40px;
    }
    .page-banner h1 {
        font-size: 1.6rem;
    }
    .page-banner p {
        font-size: 0.95rem;
    }
}

/* Contact Form */
@media (max-width: 768px) {
    .contact-form-wrapper .btn {
        width: 100%;
        justify-content: center;
    }
    .contact-info-card {
        padding: 1.5rem;
    }
}

/* Floating Buttons */
@media (max-width: 480px) {
    .floating-btns {
        bottom: 16px;
        right: 16px;
    }
    .fab {
        width: 44px;
        height: 44px;
    }
    .fab svg {
        width: 20px;
        height: 20px;
    }
}

/* Stats Grid (inside sections) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-item {
        padding: 30px 15px;
    }
    .stat-item .figure {
        font-size: 2rem;
    }
}

/* Section Labels */
@media (max-width: 480px) {
    .section-label {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Breadcrumb */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.65rem;
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* Training/Seminar Cards */
@media (max-width: 480px) {
    .seminars-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Hero Content */
@media (max-width: 768px) {
    .hero-content {
        margin-top: 2em;
        padding: 0 20px;
    }
}

/* About Page - Values Grid */
@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .value-card {
        padding: 1.5rem;
    }
}

/* ERM Integration Areas */
@media (max-width: 480px) {
    .erm-areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Industry Items */
@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .industry-item {
        padding: 1rem 1.25rem;
    }
}

/* Map Placeholder */
@media (max-width: 768px) {
    .map-placeholder {
        aspect-ratio: 16/10;
    }
    .map-placeholder svg {
        width: 50px;
        height: 50px;
    }
}

/* Testimonials */
@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* CTA Section */
@media (max-width: 480px) {
    .cta-section {
        padding: 50px 0;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Partners - ultra small screens */
@media (max-width: 400px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .partner-item {
        padding: 0.75rem;
        aspect-ratio: 1 / 0.8;
    }
    .partner-item .partner-hover-name {
        font-size: 0.6rem;
        padding: 0.4rem 0.2rem 0.2rem;
    }
}

/* ============================================================
   TRAINING PAGE – MOBILE FIXES
   ============================================================ */

/* Intro & In-house grids – stack on mobile */
@media (max-width: 768px) {
    .training-intro-grid,
    .training-inhouse-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Upcoming seminars – better columns on tablets & phones */
@media (max-width: 992px) {
    .seminars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}
@media (max-width: 576px) {
    .seminars-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    /* Make cards more compact */
    .seminar-card {
        padding: 0 !important; /* reset inline padding */
    }
    .seminar-card > div:first-child {
        padding: 1rem 1rem 0 !important;
    }
    .seminar-card > div:last-child {
        padding: 0.5rem 1rem 1rem !important;
    }
    .seminar-card h3 {
        font-size: 1rem !important;
    }
    .seminar-card .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Specialized seminars – refine spacing */
@media (max-width: 576px) {
    .specialized-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}
@media (max-width: 400px) {
    .specialized-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Intro section – right card inner columns */
@media (max-width: 576px) {
    .training-intro-grid .training-highlights-inner {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Buttons – full width on mobile inside cards */
@media (max-width: 576px) {
    .seminar-card .btn,
    .training-intro-grid .btn,
    .training-inhouse-grid .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* General & specialized course items – reduce padding */
@media (max-width: 576px) {
    .course-item {
        padding: 0.75rem 1rem !important;
    }
    .service-card {
        padding: 1.25rem !important;
    }
    .service-card h4 {
        font-size: 0.9rem !important;
    }
}

/* Breadcrumb – wrap gracefully */
@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.65rem;
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* Banner – reduce padding on mobile (already in earlier fixes, but double‑check) */
@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 50px;
    }
}
@media (max-width: 480px) {
    .page-banner {
        padding: 90px 0 40px;
    }
    .page-banner h1 {
        font-size: 1.6rem;
    }
}

/* ============================================================
   SERVICES PAGE – RESPONSIVE FIXES
   ============================================================ */

/* Stack the "Why FRMS" grid on tablets & mobile */
@media (max-width: 992px) {
    .services-why-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* Further refine for smaller screens */
@media (max-width: 576px) {
    .services-why-grid {
        gap: 2rem !important;
    }
    /* Make the right card padding smaller */
    .services-why-grid .reveal-right > div {
        padding: 1.5rem !important;
    }
    .services-why-grid .reveal-right h3 {
        font-size: 1.3rem;
    }
}

/* ============================================================
   ABOUT PAGE – RESPONSIVE FIXES
   ============================================================ */

/* Stack overview and how-we-work grids on tablet/mobile */
@media (max-width: 992px) {
    .about-overview-grid,
    .about-how-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* Fine-tune spacing on smaller screens */
@media (max-width: 576px) {
    .about-overview-grid,
    .about-how-grid {
        gap: 2rem !important;
    }

    /* Move the badge inside the overview grid on mobile */
    .about-overview-grid .about-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 0.5rem;
        display: inline-block;
        padding: 12px 18px;
    }
}

/* MV cards – already responsive via .mv-grid, but we can refine */
@media (max-width: 480px) {
    .mv-card {
        padding: 1.5rem;
    }
    .mv-card p {
        font-size: 0.95rem;
    }
}

/* ============================================================
   ENTERPRISE RISK MANAGEMENT PAGE – RESPONSIVE FIXES
   ============================================================ */

/* Stack overview and knowledge grids on tablet/mobile */
@media (max-width: 992px) {
    .erm-overview-grid,
    .erm-ks-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 576px) {
    .erm-overview-grid,
    .erm-ks-grid {
        gap: 2rem !important;
    }
    /* Adjust padding on the right card */
    .erm-overview-grid .reveal-right > div,
    .erm-ks-grid .reveal-right > div {
        padding: 1.5rem !important;
    }
}

/* ERM Process Steps – stack on mobile and hide line */
@media (max-width: 768px) {
    .erm-process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    .erm-process-steps .process-line {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .erm-process-steps {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .erm-process-steps > div {
        padding: 0 !important;
    }
    .erm-process-steps > div > div:first-child {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ============================================================
   FAQ PAGE – RESPONSIVE FIXES
   ============================================================ */

/* Stack the grid on tablet/mobile */
@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .faq-sidebar {
        position: relative !important; /* Remove sticky */
        top: auto !important;
    }
}

@media (max-width: 576px) {
    .faq-grid {
        gap: 2rem !important;
    }
    .faq-sidebar > div:last-of-type { /* Quick links */
        padding: 1rem !important;
    }
    .faq-sidebar .btn {
        padding: 12px !important;
        font-size: 0.8rem;
    }
    /* FAQ item padding */
    .faq-question {
        padding: 1rem 1.25rem !important;
    }
    .faq-question h4 {
        font-size: 0.9rem !important;
    }
    .faq-answer-inner {
        padding: 0 1.25rem 1rem !important;
        font-size: 0.9rem !important;
    }
    .faq-toggle {
        width: 30px !important;
        height: 30px !important;
    }
}

/* If you want the sidebar to appear above accordion on mobile,
   we already stacked, but we can ensure order */
@media (max-width: 992px) {
    .faq-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .faq-sidebar {
        order: 1;
    }
    .faq-accordion {
        order: 2;
    }
}

/* ============================================================
   HERO – WIDER CONTENT REFACTOR
   ============================================================ */

/* Remove the narrow max-width and let content breathe */
.hero-content {
    max-width: 900px !important;  /* or 100% to fill container, but 900px is balanced */
    margin-top: 0.5em;            /* slight adjustment */
    text-align: left;            /* align left to use space (optional) */
}

/* Adjust container padding if needed to let content span more */
.hero .container {
    padding-left: 5%;
    padding-right: 5%;
}

/* For very large screens, cap it but keep it spacious */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1100px !important;
    }
}

/* On tablets, keep some padding */
@media (max-width: 992px) {
    .hero-content {
        max-width: 100% !important;
        padding-right: 20px;
    }
    .hero .container {
        padding-left: 4%;
        padding-right: 4%;
    }
}

/* On mobile, ensure it doesn't overflow */
@media (max-width: 576px) {
    .hero-content {
        max-width: 100% !important;
        padding: 0 10px;
    }
}