/* ========================================
   COLOR PALETTE & DESIGN TOKENS
   (matches the React/Tailwind reference build)
   ======================================== */
:root {
    --navy: #0a1628;
    --navy-deep: #050d1a;
    --navy-soft: #122040;
    --amber: #f5a623;
    --amber-soft: #fef3dc;
    --background: #f7f8fa;
    --foreground: #1a1a2e;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --white: #ffffff;
    --spacing-unit: 16px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* padding-x-8pct is used on most sections to match the React "px-[8%]" utility */
.px-8pct {
    padding-left: 8%;
    padding-right: 8%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background-color: rgba(10, 22, 40, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--amber);
    flex-shrink: 0;
}

.navbar-logo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--navy);
}

.navbar-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
}

.navbar-logo-text span {
    color: var(--amber);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 4px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-300);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--amber);
}

.nav-link.active {
    color: var(--amber);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--amber);
}

.navbar-cta {
    display: inline-block;
    border-radius: 6px;
    background-color: var(--amber);
    color: var(--navy);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-cta:hover {
    opacity: 0.85;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
}

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

.mobile-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--navy);
    border-bottom: 2px solid var(--amber);
    padding: 24px 5%;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-300);
    text-decoration: none;
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 12px;
    color: var(--amber);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    display: flex;
    align-items: center;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
}

.slides-container {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.3));
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 0 8%;
}

.slide-eyebrow {
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amber);
}

.slide-content h1 {
    margin-bottom: 20px;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.slide-content p {
    margin-bottom: 36px;
    max-width: 560px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-300);
}

.slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-amber {
    display: inline-block;
    border-radius: 8px;
    background-color: var(--amber);
    color: var(--navy);
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.btn-amber:hover {
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.slider-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--amber);
    color: var(--navy);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-btn.prev { left: 3%; }
.slider-btn.next { right: 3%; }

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 8%;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    background-color: var(--amber);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background-color: var(--navy);
    padding: 0 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 3px solid var(--amber);
    max-width: 1280px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--amber);
}

.stat-label {
    margin-top: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--slate-400);
}

/* ========================================
   CEO SECTION
   ======================================== */
.ceo-section {
    background-color: var(--navy);
    padding-top: 80px;
    padding-bottom: 80px;
}

.ceo-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 64px;
}

.ceo-image {
    width: 280px;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    border: 4px solid var(--amber);
}

.ceo-eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amber);
}

.ceo-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.ceo-title {
    margin: 4px 0 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber);
}

.ceo-quote {
    margin-bottom: 24px;
    border-left: 3px solid var(--amber);
    padding-left: 20px;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--slate-300);
}

.ceo-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--slate-400);
}

/* ========================================
   TESTIMONIALS (carousel)
   ======================================== */
.testimonials {
    background-color: #f0f4ff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.testimonials-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.section-eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amber);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.testimonial-nav {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--slate-300);
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover:not(:disabled) {
    border-color: var(--amber);
    background-color: var(--amber);
    color: var(--navy);
}

.carousel-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.testimonial-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s ease-out;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 18.667px);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-200);
    background-color: var(--white);
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: opacity 0.3s ease;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--amber);
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--amber);
}

.testimonial-text {
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--slate-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--amber);
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-role {
    margin-top: 2px;
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background-color: var(--navy);
    padding: 120px 8% 64px;
}

.page-header-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.page-header .page-subtitle {
    margin: 16px auto 0;
    max-width: 560px;
    line-height: 1.7;
    color: var(--slate-400);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    border-radius: var(--radius-xl);
    background-color: var(--amber);
    color: var(--navy);
    text-align: center;
    padding: 20px 24px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-badge .badge-value {
    display: block;
    font-size: 1.5rem;
}

.about-badge .badge-label {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

.about-text p {
    max-width: 560px;
    margin-bottom: 14px;
    line-height: 1.75;
    color: var(--slate-500);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--slate-700);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--amber-soft);
    padding: 4px;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    color: var(--amber);
}

.cta-button {
    display: inline-block;
    margin-top: 32px;
    border-radius: 8px;
    background-color: var(--amber);
    color: var(--navy);
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.service-card {
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-200);
    background-color: var(--white);
    padding: 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--amber-soft);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--amber);
}

.service-card h3 {
    margin: 16px 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-500);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--amber);
    text-decoration: none;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 64px;
}

.contact-eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amber);
}

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

.contact-info > p {
    max-width: 420px;
    line-height: 1.7;
    color: var(--slate-500);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.info-block {
    display: flex;
    gap: 16px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: var(--amber-soft);
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
}

.info-block h3 {
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.info-block p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--slate-500);
    white-space: pre-line;
}

.contact-form-card {
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-200);
    background-color: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-600);
}

.form-group input,
.form-group textarea {
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--foreground);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--amber);
}

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

.submit-btn {
    margin-top: 4px;
    border: none;
    border-radius: 8px;
    background-color: var(--amber);
    color: var(--navy);
    padding: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    border-radius: 8px;
    background-color: #ecfdf5;
    color: #047857;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--navy-deep);
    padding: 48px 8% 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--amber);
}

.footer-logo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--navy);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--amber);
}

.footer-about p {
    margin-top: 14px;
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer h3 {
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul a {
    font-size: 0.9rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer ul a:hover {
    color: var(--amber);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--navy-soft);
    background-color: var(--navy);
    color: var(--slate-400);
    cursor: pointer;
    transition: var(--transition);
}

.footer-socials button svg {
    width: 16px;
    height: 16px;
}

.footer-socials button:hover {
    border-color: var(--amber);
    background-color: var(--amber);
    color: var(--navy);
}

/* Offset for fixed navbar */
main {
    display: block;
}

/* ========================================
   CERTIFICATES PAGE — SLIDER
   ======================================== */
.cert-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.cert-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--slate-500);
    line-height: 1.75;
}

.cert-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.cert-slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08);
}

.cert-slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.cert-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
}

.cert-slide img {
    width: 100%;
    max-width: 420px;
    height: 500px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background-color: var(--background);
    border: 1px solid var(--slate-200);
}

.cert-slide-caption {
    margin-top: 20px;
    text-align: center;
}

.cert-slide-caption h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.cert-slide-caption p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.cert-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--slate-300);
    background-color: var(--white);
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.cert-slider-btn svg {
    width: 20px;
    height: 20px;
}

.cert-slider-btn:hover {
    border-color: var(--amber);
    background-color: var(--amber);
    color: var(--navy);
}

.cert-slider-btn.prev { left: -22px; }
.cert-slider-btn.next { right: -22px; }

.cert-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.cert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: var(--slate-300);
    cursor: pointer;
    transition: var(--transition);
}

.cert-dot.active {
    background-color: var(--amber);
    width: 28px;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .cert-slider-btn.prev { left: 4px; }
    .cert-slider-btn.next { right: 4px; }
    .cert-slide img {
        height: 380px;
    }
}

/* ========================================
   RESPONSIVE IMPROVEMENTS — added for better mobile/tablet support
   ======================================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

.container,
.px-8pct,
.navbar,
.mobile-menu,
.slide-content,
.page-header-inner,
.footer-grid,
.stats-grid {
    max-width: 100%;
}

/* Large tablets / small laptops */
@media (max-width: 1180px) {
    .nav-menu {
        gap: 22px;
    }

    .navbar-cta {
        padding: 9px 14px;
    }

    .slide-content {
        left: 7%;
        max-width: 620px;
    }

    .slide-content h1,
    .page-header h1 {
        font-size: clamp(2.2rem, 6vw, 4.2rem);
        line-height: 1.08;
    }

    .ceo-grid,
    .about-grid,
    .contact-grid {
        gap: 48px;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 960px) {
    .navbar {
        height: 64px;
        padding: 0 5%;
    }

    .nav-menu,
    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-menu {
        top: 64px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        box-shadow: 0 18px 36px rgba(5, 13, 26, 0.35);
    }

    .hero-slider {
        min-height: 560px;
        height: auto;
        padding-top: 64px;
    }

    .slide-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 760px;
        padding: 120px 8% 112px;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
    }

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

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .ceo-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .ceo-image,
    .about-image {
        width: 100%;
        max-height: 480px;
        object-fit: cover;
    }

    .about-image-wrap {
        order: -1;
    }

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

    .testimonial-card {
        flex-basis: calc(50% - 14px);
    }

    .testimonials-head {
        align-items: flex-end;
    }

    .page-header {
        min-height: 340px;
        padding-top: 64px;
    }

    .cert-slider {
        max-width: 640px;
    }
}

/* Phones */
@media (max-width: 640px) {
    :root {
        --radius-lg: 12px;
        --radius-xl: 16px;
        --radius-2xl: 18px;
    }

    .container,
    .px-8pct {
        padding-left: 5%;
        padding-right: 5%;
    }

    .navbar-logo-text,
    .footer-logo-text {
        font-size: 1rem;
        letter-spacing: 0.2px;
    }

    .navbar-logo-icon,
    .footer-logo-icon {
        width: 32px;
        height: 32px;
    }

    .mobile-menu a {
        font-size: 0.95rem;
        padding: 13px 0;
    }

    .hero-slider {
        min-height: 520px;
    }

    .slide-content {
        padding: 96px 5% 96px;
    }

    .slide-eyebrow,
    .section-eyebrow,
    .ceo-eyebrow,
    .contact-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }

    .slide-content h1,
    .page-header h1 {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.08;
        word-break: normal;
    }

    .slide-content p,
    .page-header .page-subtitle {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .slide-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-amber,
    .btn-outline,
    .cta-button,
    .submit-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        min-height: 46px;
    }

    .slider-btn {
        display: none;
    }

    .slider-dots {
        bottom: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item,
    .stat-item:nth-child(2),
    .stat-item:last-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 22px 10px;
    }

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

    .ceo-section,
    .testimonials,
    .about-content,
    .services-content,
    .contact-section,
    .cert-content {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .ceo-grid,
    .about-grid,
    .contact-grid {
        gap: 28px;
    }

    .ceo-image,
    .about-image {
        height: auto;
        max-height: none;
    }

    .ceo-name,
    .section-title,
    .contact-info h2 {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
        line-height: 1.15;
    }

    .ceo-quote {
        font-size: 1.05rem;
        line-height: 1.7;
        padding-left: 18px;
    }

    .testimonials-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .testimonial-nav {
        align-self: flex-end;
    }

    .testimonial-track {
        gap: 18px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 22px;
    }

    .testimonial-author,
    .info-block,
    .credential-item {
        align-items: flex-start;
    }

    .page-header {
        min-height: 300px;
        padding-top: 64px;
    }

    .page-header-inner {
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-badge {
        left: 14px;
        bottom: 14px;
        padding: 14px 16px;
    }

    .credentials {
        gap: 14px;
    }

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

    .service-card {
        padding: 24px;
    }

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

    .contact-form-card {
        padding: 24px;
    }

    .info-block {
        gap: 14px;
    }

    .footer {
        padding: 56px 5% 26px;
    }

    .footer-about p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-slide {
        padding: 18px;
    }

    .cert-slide img {
        height: min(70vh, 420px);
    }

    .cert-slider-btn {
        width: 38px;
        height: 38px;
        background-color: rgba(255, 255, 255, 0.92);
    }
}

/* Small phones */
@media (max-width: 420px) {
    .navbar {
        padding: 0 4%;
    }

    .navbar-logo {
        gap: 8px;
    }

    .navbar-logo-text {
        font-size: 0.9rem;
        max-width: 210px;
        white-space: normal;
        line-height: 1.15;
    }

    .slide-content h1,
    .page-header h1 {
        font-size: clamp(1.8rem, 12vw, 2.55rem);
    }

    .slide-content {
        padding-top: 86px;
        padding-bottom: 86px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form-card {
        padding: 20px;
    }

    .about-badge {
        position: static;
        display: inline-flex;
        margin-top: 14px;
    }

    .cert-slide img {
        height: min(64vh, 360px);
    }
}
