/* ===========================================
   RSK Approvals - Clean Corporate Stylesheet
   =========================================== */

/* ---- CSS Variables ---- */
:root {
    --primary: #0B215E; /* Dark Blue from mockup */
    --primary-light: #1C3F95; /* Button Blue */
    --primary-hover: #153075;
    --secondary: #00873D; /* Green from mockup */
    --secondary-hover: #00682F;
    --text-dark: #1A1A1A;
    --text-body: #4A4A4A;
    --text-light: #7A7A7A;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #EAEAEA;
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

/* ---- Header & Nav ---- */
.header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 115px; /* Increased size for prominence */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    gap: 25px;
    margin: 0 auto;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-phone-btn {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-phone-btn:hover {
    background: var(--primary-hover);
    color: var(--white);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
    border: 1px solid var(--primary-light);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
}

.hero-bg {
    position: absolute;
    top: 10%;
    right: 4%;
    width: 46%;
    height: 80%;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 45%;
    padding-right: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
    text-transform: uppercase;
}
.hero-title .highlight {
    color: var(--primary-light);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Floating Feature Bar */
.hero-features {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 25px 40px;
    z-index: 10;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-icon img {
    width: 100%;
    height: auto;
}
/* Fallback if no images */
.hero-feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-light);
}
.hero-feature-item:nth-child(2) i { color: var(--secondary); }
.hero-feature-item:nth-child(3) i { color: var(--primary-light); }
.hero-feature-item:nth-child(4) i { color: var(--secondary); }

.hero-feature-text h5 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.hero-feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- Services Section ---- */
.services-section {
    padding: 120px 0 80px; /* Top padding accounts for floating bar */
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 63, 149, 0.05);
    border-radius: 16px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-light);
}
/* Alternating icon colors like in mockup */
.service-card:nth-child(even) .service-icon { background: rgba(0, 135, 61, 0.05); }
.service-card:nth-child(even) .service-icon i { color: var(--secondary); }

.service-card:nth-child(5) .service-icon { background: rgba(230, 126, 34, 0.05); }
.service-card:nth-child(5) .service-icon i { color: #e67e22; }

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 60px;
}

.service-link {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.service-card:nth-child(even) .service-link { color: var(--secondary); }
.service-card:nth-child(5) .service-link { color: #e67e22; }

.service-link:hover {
    opacity: 0.8;
}

/* ---- Why Us Section (Accordion) ---- */
.why-us-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-subtitle-center {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: -30px;
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    overflow: hidden;
}

.accordion-item:first-child {
    border-radius: 10px 10px 0 0;
    border-top: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-radius: 0 0 10px 10px;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-item.active .accordion-header span {
    color: var(--primary-light);
}

.accordion-toggle {
    border: none;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-dark);
    background: var(--bg-light);
}

.accordion-item.active .accordion-toggle {
    background: rgba(0, 135, 61, 0.1);
    color: var(--secondary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.accordion-item.active .accordion-body {
    max-height: 300px;
    padding: 0 28px 22px;
}

.accordion-body p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.97rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ---- Stats Strip ---- */
.stats-strip {
    background: var(--primary);
    padding: 30px 0;
    border-radius: 8px;
    margin: 40px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.stat-icon {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.9;
}

.stat-text h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1;
}

.stat-text p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ---- Process Section ---- */
.process-section {
    padding: 60px 0;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
    padding: 0 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: #E0E0E0;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 15%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
    font-size: 1.1rem;
}
/* Alternate colors */
.process-step:nth-child(even) .step-number { background: var(--secondary); }
.process-step:nth-child(3) .step-number { background: #8e44ad; }
.process-step:nth-child(4) .step-number { background: #0097e6; }
.process-step:nth-child(5) .step-number { background: #e1b12c; }
.process-step:nth-child(6) .step-number { background: #00a8ff; }

.step-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.process-step h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.process-step p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---- Split CTA Banner ---- */
.split-cta {
    display: flex;
    margin-top: 60px;
}

.cta-left {
    flex: 1;
    background: var(--primary);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.cta-right {
    flex: 1;
    background: var(--secondary);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.cta-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.cta-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-btn {
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: transparent;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    background: var(--white);
    color: var(--primary);
}
.cta-right .cta-btn:hover { color: var(--secondary); }

/* ---- Footer ---- */
.footer {
    background: #06113C; /* Darker than primary */
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 120px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

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

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-light);
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--white);
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* ---- Why Us / FAQ Section ---- */
.why-us-section {
    padding: 90px 0;
    background: var(--white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-big-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.faq-sub {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    cursor: pointer;
    gap: 20px;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s;
}

.faq-item.active .faq-question span {
    color: var(--primary-light);
}

.faq-btn {
    border: none;
    background: var(--bg-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-dark);
}

.faq-item.active .faq-btn {
    background: rgba(0, 135, 61, 0.12);
    color: var(--secondary);
}

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

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.95rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-features { width: 95%; padding: 20px; }
    .why-us-grid { grid-template-columns: repeat(3, 1fr); }
    .faq-big-title { font-size: 2.6rem; }
}

@media (max-width: 992px) {
    .hero { min-height: auto; padding: 60px 0; flex-direction: column; }
    .hero-content { width: 100%; text-align: center; padding-right: 0; }
    .hero-title { font-size: 2.8rem; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-bg { position: relative; width: 100%; height: 300px; top: 40px; clip-path: none; border-radius: 12px; }
    
    .hero-features { flex-wrap: wrap; justify-content: center; gap: 20px; bottom: -60px; }
    .hero-feature-item { width: calc(50% - 10px); }
    
    .process-timeline { flex-direction: column; gap: 30px; align-items: center; }
    .process-timeline::before { display: none; }
    .process-step { width: 80%; display: flex; flex-direction: column; align-items: center; }
    
    .split-cta { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr 1fr; }

    .faq-layout { grid-template-columns: 1fr; gap: 30px; }
    .faq-big-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .main-nav .nav-menu, .nav-phone-btn { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 50px 0; }
    .hero-title { font-size: 2.2rem; }
    
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .contact-details-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .stats-grid { flex-direction: column; align-items: flex-start; }
    .cta-left, .cta-right { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
    .cta-content-wrapper { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr; }
    
    .faq-big-title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .hero-features { gap: 15px; }
    .hero-feature-item { width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-feature-item { width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .faq-big-title { font-size: 1.7rem; }
    .stats-grid { gap: 12px; }
    .footer-top { gap: 25px; }
}
