/* ===== HERO SLIDER (Full viewport, Ken Burns) ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurns 12s ease-out forwards;
}
.hero-slide.active .hero-slide-bg {
    animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(13,24,32,0) 0%, rgba(55,132,166,0.85) 100%);
    z-index: 1;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 120px;
}
.hero-slide-content {
    max-width: 600px;
    color: #fff;
}
.hero-badge-ref {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    color: #fff;
}
.hero-slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}
.hero-slide-content p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    height: 56px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    padding: 0 32px;
    position: relative;
    overflow: hidden;
}
.hero-buttons .btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.hero-buttons .btn-primary:hover {
    background: #000;
}
.hero-buttons .btn-outline-white {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
}
.hero-buttons .btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
/* Hero nav arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    pointer-events: none;
}
.hero-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 5px;
    background: var(--color-primary);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s ease;
    pointer-events: auto;
    transform: rotate(0deg);
}
.hero-nav-btn:hover {
    background: #000;
}
/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.35s ease;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== APPOINTMENT BAR (overlaps hero) ===== */
.appointment-bar {
    background: var(--color-primary);
    padding: 20px 0;
    position: relative;
    z-index: 5;
    margin-top: -72px;
}
.appointment-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.appointment-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}
.appointment-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.appointment-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}
.appointment-label {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}
.appointment-info p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    font-weight: 300;
}
.appointment-bar .btn {
    height: 56px;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== ABOUT SECTION ===== */
.about-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.about-ref-image {
    position: relative;
}
.about-ref-image > img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(189,189,189,0.35);
}
.about-shape {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    z-index: -1;
}
.rotating-shape {
    width: 100%;
    animation: rotateShape 20s linear infinite;
    opacity: 0.25;
}
@keyframes rotateShape {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.about-ref-content .section-label {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.about-ref-content h2 {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}
.about-ref-content > p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
    font-weight: 400;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #212529;
}
.about-feature-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.about-cta-btn {
    margin-top: 28px;
}
.about-cta-btn .btn {
    height: 56px;
    padding: 0 36px;
    border-radius: 5px;
    font-weight: 600;
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.about-cta-btn .btn:hover {
    background: #000;
}

/* ===== SERVICES GRID (with sliding overlay) ===== */
.services-ref-grid {
    gap: 24px;
}
.service-ref-card {
    display: block;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(181,181,181,0.38);
    transition: all 0.35s ease;
    text-decoration: none;
    color: var(--color-text);
    position: relative;
}
.service-ref-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}
.service-ref-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.service-ref-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-ref-card:hover .service-ref-img img {
    transform: scale(1.05);
}
/* Black overlay slides from bottom on hover */
.service-ref-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.service-ref-card:hover .service-ref-overlay {
    opacity: 1;
}
.service-ref-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: all 0.35s ease;
}
.service-ref-overlay span:hover {
    background: #fff;
    color: #000;
}
.service-ref-body {
    padding: 22px;
}
.service-ref-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}
.service-ref-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.service-ref-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}
.service-ref-card:hover .service-ref-arrow {
    color: #000;
}

/* ===== SPECIAL OPPORTUNITIES (Icon boxes) ===== */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.opportunity-box {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(189,189,189,0.35);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
}
.opportunity-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.opportunity-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.35s ease;
}
.opportunity-box:hover .opportunity-icon {
    background: var(--color-primary);
}
.opportunity-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    transition: color 0.35s ease;
}
.opportunity-box:hover .opportunity-icon svg {
    color: #fff;
}
.opportunity-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}
.opportunity-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ===== COUNTER / STATS SECTION ===== */
.counter-section {
    padding: 60px 0;
    background: var(--color-bg);
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.counter-item {
    padding: 30px 16px;
}
.counter-number {
    font-size: 80px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-primary);
    font-family: 'Outfit', sans-serif;
}
.counter-label {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 6px;
}
.counter-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* ===== VIDEO BANNER with play button ===== */
.video-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
}
.video-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right bottom, rgba(55,132,166,0.8), rgba(0,0,0,0.65));
}
.video-banner .container {
    position: relative;
    z-index: 1;
}
.video-banner-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.video-banner-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 32px;
    font-weight: 300;
}
/* Pulse play button */
.play-btn-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}
.play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
}
.play-btn:hover {
    background: #000;
    transform: scale(1.05);
}
.play-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}
.play-btn::before,
.play-btn::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    top: -12px; left: -12px; right: -12px; bottom: -12px;
    animation: pulseRing 1.5s linear infinite;
    opacity: 0;
}
.play-btn::after {
    top: -24px; left: -24px; right: -24px; bottom: -24px;
    animation-delay: 0.5s;
}
@keyframes pulseRing {
    0% { opacity: 0.6; transform: scale(0.85); }
    70% { opacity: 0; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.15); }
}

/* ===== WHY CHOOSE US / PROCESS (feature cards) ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-step {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(189,189,189,0.35);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
}
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.process-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-light);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.35s ease;
}
.process-step:hover .process-number {
    color: var(--color-primary);
}
.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}
.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ===== TESTIMONIALS (dashed border, profile images) ===== */
.testimonials-slider {
    overflow: hidden;
    position: relative;
}
.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
}
.testimonial-card {
    flex: 0 0 33.333%;
    padding: 0 12px;
    box-sizing: border-box;
}
.testimonial-card-inner {
    border: 2px dashed #d9d9d9;
    border-radius: 5px;
    padding: 30px 24px 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    transition: all 0.35s ease;
}
.testimonial-card-inner:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.testimonial-profile {
    width: 70px;
    height: 70px;
    border-radius: 0 0 70px 70px;
    overflow: hidden;
    margin: 0 auto 16px;
}
.testimonial-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-stars {
    color: #f5a623;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-align: center;
}
.testimonial-card-inner > p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    flex-grow: 1;
    text-align: center;
}
.testimonial-author {
    text-align: center;
}
.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}
.testimonial-author span {
    font-size: 13px;
    color: #999;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
    transition: all 0.35s ease;
}
.testimonial-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* ===== FAQ (teal active header) ===== */
.faq-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: stretch;
}
.faq-ref-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(189,189,189,0.35);
}
.faq-ref-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.faq-ref-content .section-label {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.faq-ref-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 24px;
    color: #000;
}
/* Override base accordion for reference style */
.faq-ref-content .accordion {
    border: none;
    border-radius: 0;
}
.faq-ref-content .accordion-item {
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}
.faq-ref-content .accordion-header {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    background: #fff;
    border-radius: 5px;
    transition: all 0.35s ease;
}
.faq-ref-content .accordion-header:hover {
    background: #f5f5f5;
}
.faq-ref-content .accordion-header.active {
    background: var(--color-primary);
    color: #fff;
    border-radius: 5px 5px 0 0;
}
.faq-ref-content .accordion-header.active .accordion-icon {
    color: #fff;
}
.faq-ref-content .accordion-body {
    padding: 0 24px 20px;
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

/* ===== SECTION HEADERS (reference style) ===== */
.section .section-header .section-label {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section .section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #000;
}
.section .section-header p {
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

/* ===== STATS SECTION (primary bg with text-stroke) ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 36px 20px;
}
.stat-number {
    font-size: 72px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.7);
    font-family: 'Outfit', sans-serif;
}
.stat-card h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.stat-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

/* ===== BUTTON ENHANCEMENTS (criss-cross hover) ===== */
.btn-crisscross {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-crisscross::before,
.btn-crisscross::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #000;
    z-index: -1;
    transition: width 0.5s ease, height 0.5s ease;
}
.btn-crisscross::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.btn-crisscross:hover::before {
    width: 300px;
    height: 300px;
}
.btn-crisscross:hover {
    color: #fff;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.contact-info-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: 5px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 0 25px rgba(189,189,189,0.35);
}
.contact-info-card:hover {
    background: #000;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.contact-info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.contact-info-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
}
.contact-info-card h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.contact-info-card p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-ref-grid { grid-template-columns: 1fr; gap: 40px; }
    .faq-ref-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-ref-image { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .opportunities-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card { flex: 0 0 50%; }
    .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-slider { height: 85vh; min-height: 500px; }
    .hero-slide .container { padding-bottom: 100px; }
    .hero-slide-content h1 { font-size: 1.75rem; }
    .appointment-bar { margin-top: 0; }
    .appointment-grid { flex-direction: column; text-align: center; }
    .appointment-info { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 48px; }
    .counter-number { font-size: 48px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3.services-ref-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .opportunities-grid { grid-template-columns: 1fr; }
    .testimonial-card { flex: 0 0 100%; }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .video-banner { padding: 80px 0; background-attachment: scroll; }
    .video-banner-content h2 { font-size: 24px; }
    .seo-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .hero-slider-nav { padding: 0 12px; }
    .hero-nav-btn { width: 44px; height: 44px; }
}
