/* ===========================================
   Financial Literacy with Jozeph Hanaa
   Modern, Professional Design System
   All sessions are completely free
   =========================================== */

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form .form-group {
    margin-bottom: 0;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-form input[type="email"].error {
    border-color: var(--danger);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.newsletter-form input[type="email"].valid {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.newsletter-form button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
    text-transform: none;
}

.newsletter-form button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-form button[type="submit"]:active {
    transform: translateY(0);
}

.newsletter-form button[type="submit"]:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.newsletter-message {
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-align: center;
}

.newsletter-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 3px solid #10b981;
}

.newsletter-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

/* Form Styles */
.contact-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form Validation */
.form-control.error {
    border-color: var(--danger);
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.375rem;
    display: block;
    font-weight: 500;
}

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Submit Button */
.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
    text-transform: none;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    left: 50%;
    margin: -0.625rem 0 0 -0.625rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

:root {
    /* Modern Color Palette */
    --primary-color: #2563eb;      /* Vibrant blue for CTAs and highlights */
    --primary-dark: #1d4ed8;       /* Darker shade for hover states */
    --secondary-color: #7c3aed;    /* Purple for secondary accents */
    --accent-color: #10b981;       /* Green for success/confirmation */
    --text-color: #1f2937;         /* Dark gray for body text */
    --text-light: #6b7280;         /* Lighter gray for secondary text */
    --light-bg: #f9fafb;           /* Off-white for backgrounds */
    --white: #ffffff;              /* Pure white */
    --dark: #111827;               /* Almost black for headings */
    --success: #10b981;            /* Green for success messages */
    --warning: #f59e0b;            /* Amber for warnings */
    --danger: #ef4444;             /* Red for errors */
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;          /* Modern border radius */
    --section-spacing: 6rem;        /* Consistent spacing between sections */
    --container-max: 1280px;        /* Max width for content containers */
}

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

/* Base Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-spacing) 0;
    position: relative;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.15);
    text-decoration: none;
}

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

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

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light-bg);
}

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

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

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.bg-light {
    background-color: var(--light-bg);
}

/* ===========================================
   Header & Navigation
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

.badge span {
    white-space: nowrap;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1a202c;
    margin-bottom: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1e293b;
    max-width: 800px;
    animation: fadeInUp 1s ease 0.1s;
    animation-fill-mode: both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-cta .btn {
    margin: 0;
    min-width: 180px;
    text-align: center;
    justify-content: center;
}

.hero-cta .btn i {
    margin-right: 8px;
}

.hero-cta .btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.hero-cta .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero-cta .btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 800px;
}

/* About Section */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-highlight {
    position: relative;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow-sm);
}

.about-highlight i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.about-highlight p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.signature {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
    margin-top: 1rem;
    display: inline-block;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: transparent;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-cta .btn i {
    margin-right: 0.5rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: visible;
}

.about-image .image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: all 0.5s ease;
    background: white;
    padding: 1rem;
}

.mentor-image {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 5px);
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.about-image:hover .mentor-image {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    z-index: 2;
    box-shadow: var(--box-shadow);
    min-width: 120px;
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.experience-badge span:not(.years) {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }
    
    .about-highlight {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-cta {
        justify-content: center;
    }
    
    .feature-item {
        text-align: left;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -15px;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .about-cta .btn {
        width: 100%;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
}

/* ===========================================
   Program Highlights Section
   =========================================== */
.highlights-tabs {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 3rem;
}

.tabs-header {
    display: flex;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
}

.tab-btn:hover i {
    color: var(--primary-color);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-btn.active i {
    color: var(--primary-color);
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
    padding: 0;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.tab-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    transition: transform 0.5s ease;
}

.tab-pane:hover .tab-image img {
    transform: scale(1.03);
}

.tab-text h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tab-text > p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.6;
}

.feature-list i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--success-color);
    font-size: 1.1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-box .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cta-box .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .tab-content-inner {
        padding: 2rem;
        gap: 2rem;
    }
    
    .tab-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tab-content-inner {
        grid-template-columns: 1fr;
    }
    
    .tab-image {
        max-height: 300px;
    }
    
    .tab-image img {
        min-height: 250px;
    }
    
    .tabs-header {
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .tabs-header::-webkit-scrollbar {
        display: none;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tab-content-inner {
        padding: 1.5rem;
    }
    
    .tab-text h3 {
        font-size: 1.4rem;
    }
    
    .cta-box {
        text-align: left;
    }
    
    .cta-box .btn {
        width: 100%;
    }
}

/* Highlights Section */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 30px;
    transition: var(--transition);
}

.highlight-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.testimonials .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials .section-header p {
    color: var(--text-light);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-content {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding-left: 2rem;
    border-left: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author p {
    margin: 0.25rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #d1d5db;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-nav button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-light);
    color: var(--primary-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0.9;
}

.slider-nav:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding: 0 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
}

.testimonial-content p::before {
    top: -20px;
    left: -25px;
}

.testimonial-content p::after {
    bottom: -40px;
    right: -10px;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-author p {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn {
    padding: 12px 25px;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

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

.footer-legal a:hover {
    color: var(--primary-color);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding-top: 100px;
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        margin: 0;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .highlight-card {
        padding: 30px 20px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}
