/* --- Global Styles & Variables --- */
:root {
    --primary: #FF6B35;
    --accent: #EF8354;
    --dark: #2D3142;
    --grey: #4F5D75;
    --light: #F7F9FB;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--grey);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* --- Shared Layout Components --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-nav {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* --- Navigation (Shared) --- */
.navbar {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

/* --- Hero & Sub-Hero (Same Structure) --- */
.hero,
.sub-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero h1,
.sub-hero h1 {
    font-size: 3.5rem;
    margin: 20px 0;
}

.highlight {
    color: var(--primary);
}

.badge {
    background: #ffece4;
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.main-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-circle {
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 6;
}

.small-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-1 {
    width: 140px;
    height: 140px;
    top: 0;
    right: 20px;
}

.floating-2 {
    width: 110px;
    height: 110px;
    bottom: 40px;
    left: 20px;
}

/* --- Homepage Roadmap (Redesigned) --- */
.roadmap {
    background: linear-gradient(to bottom, #fdfdfd, #f7f9fb);
}

.steps-scroll-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.step-item {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: 0.3s;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.step-item:hover::before {
    opacity: 1;
}

.step-item span {
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--primary);
    background: #ffece4;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.step-item p {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.3;
}

.step-item i {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 4rem;
    color: rgba(255, 107, 53, 0.03);
    font-style: normal;
    font-weight: 900;
    pointer-events: none;
}


/* --- Subpage Specific: Detailed Guide --- */
.detailed-step-card {
    display: flex;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.step-index {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

/* --- Shared CTA Banner --- */
.cta-banner {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    border-radius: 30px;
    margin: 40px auto;
    width: 95%;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
}

/* --- FAQ Accordion --- */
.accordion {
    margin-top: 40px;
}

.tab {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.tab input {
    position: absolute;
    opacity: 0;
}

.tab-label {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
}

.tab-content {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: 0.3s;
}

.tab input:checked~.tab-content {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* --- Shared Footer --- */
.footer {
    background: #1a1c25;
    color: #a1a1a1;
    padding: 80px 0;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #a1a1a1;
    text-decoration: none;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 992px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .hero-grid,
    .cta-flex {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .main-circle {
        width: 280px;
        height: 280px;
    }

    .nav-links {
        display: none;
    }
}

/* --- Contact Page Styles --- */
.contact-container {
    padding-top: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--light);
    border-radius: 16px;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateX(10px);
    background: #ffece4;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.map-container {
    margin-top: 60px;
    height: 400px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* --- Partners Section --- */
.partners {
    background: var(--white);
}

.partner-item {
    margin-bottom: 80px;
}

.partner-item:last-child {
    margin-bottom: 0;
}

.partner-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.partner-img-wrapper:hover {
    transform: scale(1.02);
}

.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.partner-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.partner-content h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: 0.3s;
}

.partner-content h3 a:hover {
    color: var(--primary);
}

.partner-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.partner-content strong {
    color: var(--dark);
}

/* Alternate layout for partners */
.partner-item:nth-child(even) {
    direction: rtl;
}

.partner-item:nth-child(even) .partner-content {
    direction: ltr;
    /* Reset text direction for content */
}