/*
* Nxwlto - Main Stylesheet
* Version: 1.0.0
* Last Updated: January 2026
*/

/* --------------------------------
   Table of Contents
   
   1. General Styles
   2. Typography
   3. Header & Navigation
   4. Hero Section
   5. Section Styles
   6. Cards & Components
   7. Charts & Data Visualization
   8. Forms
   9. Footer
   10. Cookie Consent
   11. Responsive Adjustments
-------------------------------- */

/* --------------------------------
   1. General Styles
-------------------------------- */
:root {
    
    --primary: #1a3a5f;
    --primary-light: #2d597f;
    --primary-dark: #0e2a4f;
    
    
    --secondary: #2d8c8d;
    --secondary-light: #3eacad;
    --secondary-dark: #1d6c6d;
    
    
    --accent-coral: #f67280;
    --accent-gold: #f8b400;
    --accent-teal: #00b8a9;
    --accent-navy: #184e77;
    
    
    --dark: #333333;
    --medium: #666666;
    --light: #f5f5f5;
    
    
    --bg-white: #ffffff;
    --bg-off-white: #fafafa;
    --bg-light-teal: #e6f2f2;
    
    
    --border-radius: 0.5rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary h2 {
  color: white;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline-primary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

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

.min-vh-75 {
    min-height: 75vh;
}

.object-fit-cover {
    object-fit: cover;
}

/* --------------------------------
   2. Typography
-------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

.display-4 {
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    height: 3px;
    width: 60px;
    background-color: var(--secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--medium);
}

/* --------------------------------
   3. Header & Navigation
-------------------------------- */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

.navbar-light .navbar-nav .nav-link.btn {
    padding: 0.5rem 1.5rem;
}

/* --------------------------------
   4. Hero Section
-------------------------------- */
.hero-section {
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 58, 95, 0.8), rgba(26, 58, 95, 0.9));
}

/* --------------------------------
   5. Section Styles
-------------------------------- */
.page-header {
    padding: 5rem 0 3rem;
    background-color: var(--bg-light-teal);
}

.bg-light {
    background-color: var(--bg-off-white) !important;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* --------------------------------
   6. Cards & Components
-------------------------------- */
.stat-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    color: var(--secondary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-card,
.advantage-card,
.testimonial-card,
.success-story-card,
.philosophy-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover,
.advantage-card:hover,
.philosophy-card:hover {
    transform: translateY(-5px);
}

.service-image,
.advantage-image {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.testimonial-rating i {
    color: var(--accent-gold);
}

.testimonial-author {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.feature-icon,
.advantage-icon,
.philosophy-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light-teal);
    color: var(--secondary);
    border-radius: 50%;
}

.step-number {
    width: 35px;
    height: 35px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.subject-badge,
.format-badge,
.option-badge,
.exam-badge {
    background-color: var(--bg-light-teal);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.subject-badge:hover,
.format-badge:hover,
.option-badge:hover,
.exam-badge:hover {
    background-color: var(--secondary-light);
    color: white;
}

.service-nav-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-nav-item:hover {
    background-color: var(--bg-light-teal);
    color: var(--secondary);
}

.service-nav-item i {
    color: var(--secondary);
}

.success-metrics {
    background-color: var(--bg-light-teal);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.metric-label {
    font-weight: 600;
}

.before {
    color: var(--accent-coral);
}

.after {
    color: var(--accent-teal);
    font-weight: 600;
}

.success-outcome {
    background-color: var(--bg-light-teal);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.outcome-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.philosophy-quote {
    border-left: 3px solid var(--secondary);
    padding-left: 1rem;
    font-size: 0.9rem;
}

.quote-author {
    font-weight: 600;
    text-align: right;
}

/* --------------------------------
   7. Charts & Data Visualization
-------------------------------- */
.chart-bar-container {
    background-color: #e9ecef;
    border-radius: 50px;
    height: 24px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    background-color: var(--secondary);
    color: white;
    text-align: right;
    padding-right: 10px;
    line-height: 24px;
    font-size: 0.875rem;
    border-radius: 50px;
    transition: width 1s ease-in-out;
}

.chart-label {
    font-weight: 600;
    min-width: 100px;
}

.results-note {
    font-size: 0.875rem;
    color: var(--medium);
    font-style: italic;
}

.results-highlight {
    background-color: var(--bg-light-teal);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* --------------------------------
   8. Forms
-------------------------------- */
.form-control,
.form-select {
    border-color: #ced4da;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(45, 140, 141, 0.25);
}

.form-check-input:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.form-label {
    font-weight: 600;
}


.iti {
    width: 100%;
}

.iti__flag-container {
    z-index: 10;
}

/* --------------------------------
   9. Footer
-------------------------------- */
.footer {
    background-color: var(--primary);
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

/* --------------------------------
   10. Cookie Consent
-------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

.cookie-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.cookie-modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    position: relative;
}

.cookie-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--medium);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.cookie-setting-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-setting-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-description {
    font-size: 0.875rem;
    color: var(--medium);
    margin-top: 0.5rem;
    margin-left: 2.5rem;
}

.cookie-modal-buttons {
    margin-top: 2rem;
    text-align: right;
}


.thank-you-section .thank-you-icon {
    color: #28a745;
}

.step-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    height: calc(100% - 0.5rem);
    width: 2px;
    background-color: var(--bg-light-teal);
    transform: translateX(-50%);
}

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


.legal-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 0.75rem;
}

.cookie-table-container {
    overflow-x: auto;
}

.cookie-table-container table {
    min-width: 600px;
}

/* --------------------------------
   11. Responsive Adjustments
-------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-white);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link.btn {
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    .service-image,
    .advantage-image {
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        border-bottom-left-radius: 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-content {
        margin: 20% auto;
        padding: 1.5rem;
        width: 90%;
    }
}

@media (max-width: 575.98px) {
    .stat-card {
        padding: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-bottom: 0.5rem;
    }
}