/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0284c7;
    --secondary-color: #f97316;
    --dark-color: #1e293b;
    --light-color: #f0f9ff;
    --text-color: #334155;
    --border-color: #e0f2fe;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --surface-color: #ffffff;
    --muted-bg: #f8fafc;
    --border-strong: #e2e8f0;
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--muted-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: clamp(56px, 6vw, 90px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 760px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:focus-visible {
    outline: 3px solid rgba(2, 132, 199, 0.35);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.btn-login {
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-login:hover {
    background: #059669;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
}

.hero-overlay {
    background: url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?w=1600') center/cover;
    background-blend-mode: overlay;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Stats Section */
.stats {
    background: var(--light-color);
    padding: 50px 0;
}

.stats-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
}

.stat-item {
    text-align: center;
    padding: 32px 26px;
    background: var(--surface-color);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    flex: 1 1 0;
    min-width: 240px;
    scroll-snap-align: start;
}

.stat-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Why Choose Us Section */
.why-choose {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 2.5rem;
    color: white;
}

.why-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.why-card p {
    line-height: 1.8;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: block;
    max-width: 920px;
    margin: 0 auto;
}

.about-text {
    background: var(--surface-color);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 30px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Membership Section */
.membership {
    background: white;
}

.membership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.membership-requirements h3,
.membership-benefits h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.requirement-list {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.requirement-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.requirement-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.requirement-item h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.requirement-item p {
    color: var(--text-color);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-card {
    background: var(--surface-color);
    padding: 25px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 1.5rem;
    color: white;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--dark-color);
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    line-height: 1.8;
    color: var(--text-color);
}

/* Team Section */
.team {
    background: var(--light-color);
}

.team-subsection {
    margin-bottom: 50px;
}

.team-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--surface-color);
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.team-card:hover {
    border-color: rgba(2, 132, 199, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    position: relative;
}

.team-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--secondary-color), #fb923c);
    border-radius: 50%;
    z-index: 0;
}

.team-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    position: relative;
    z-index: 1;
}

.team-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.team-position {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* News Section */
.news {
    background: #f0f9ff !important;
    padding: clamp(70px, 7vw, 110px) 0 !important;
}

.news .section-header {
    margin-bottom: 32px !important;
}

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 10px !important;
    align-items: start !important;
}

.news-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 10px !important;
    padding: 10px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

.news-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.news-image {
    position: relative !important;
    height: 200px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.news-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.news-card:hover .news-image img {
    transform: scale(1.08) !important;
}

.news-date {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.news-content {
    padding: 28px 28px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.news-category {
    display: inline-block !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    align-self: flex-start !important;
}

.news-content h4 {
    color: #0f172a !important;
    font-size: 1.15rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.news-content p {
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    margin: 0 0 6px 0 !important;
}

.news-card:not(.expanded) .news-content p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-card.expanded .news-content p {
    display: block !important;
}

.read-more {
    color: #0284c7 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    display: none !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
}

.news-card.has-more .read-more {
    display: inline-flex !important;
}

.read-more:hover {
    color: #0369a1 !important;
    gap: 12px !important;
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}

/*  border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

.membership-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.small-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Calculator Section */
.calculator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.calculator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border: 1px solid rgba(2, 132, 199, 0.1);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.calculator-form .form-group {
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.calculator-form .form-group:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.calculator-form .form-group:focus-within {
    border-color: transparent;
    box-shadow: none;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.input-hint {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-hint::before {
    content: 'ℹ️';
    font-size: 0.85rem;
}

.label-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.input-with-label {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    overflow: hidden;
}

.input-with-label:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.08);
}

.input-with-label:hover {
    border-color: #cbd5e1;
}

.number-input {
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
    text-align: left;
    background: transparent;
    padding: 16px 18px;
    min-width: 0;
}

.number-input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

.number-input::-webkit-inner-spin-button,
.number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input {
    -moz-appearance: textfield;
}

.currency-symbol,
.percent-symbol,
.months-label {
    font-weight: 700;
    color: #64748b;
    font-size: 1rem;
    padding: 16px 18px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    white-space: nowrap;
}

.currency-symbol {
    padding: 16px 18px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    border-left: none;
}

.months-label {
    font-size: 0.95rem;
    color: #64748b;
}10px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slider-secondary {
    background: linear-gradient(to right, #10b981, #059669);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    cursor: grab;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.slider-secondary::-webkit-slider-thumb {
    border-color: #10b981;
}

.slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    cursor: grab;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.slider::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.05
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary-color);
    transition: all 0.3s;
}

.slider::-moz-ra10px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.result-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.result-content {
    flex: 1;
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    display: block;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottolinear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    padding: 28px;
    border-radius: 16px;
    margin-top: 10px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.breakdown h4 {
    color: var(--dark-color);
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakdown h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.breakdown-bar {
    height: 36px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    margin-bottom: 18px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.principal-bar {
    background: linear-gradient(90deg, var(--primary-color), #0ea5e9);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.interest-bar {
    background: linear-gradient(90deg, var(--secondary-color), #fb923c);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.breakdown-legend {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
}

.breakdown-legend span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-weight: 600;
}

.breakdown-legend5px;
}

.calculator-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.calculator-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

.btn-outline {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.extra-payment-savings {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.extra-payment-savings .result-icon {
    color: #10b981;
}

.extra-payment-savings:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.savings-value {
    color: #10b981 !important;
}

.payoff-timeline {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid #fde047;
}

.payoff-timeline h4 {
    color: var(--dark-color);
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payoff-timeline h4 i {
    color: #eab308;
}

.timeline-info {
    display: fle60px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.amortization-section h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 14px;
}

.amortization-section h3 i {
    color: var(--primary-color);
}

.schedule-subtitle {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 1rem;
}

.schedule-controls {
    margin-bottom: 24px;
}

.schedule-table-wrapper {
    overflow-x: auto;
    max-height: 550px;
    overflow-y: auto;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.amortization-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.amortization-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amortization-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amortization-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #475569;
}

.amortization-table tbody tr {
    transition: all 0.2s ease;
}

.amortization-table tbody tr:hover {
    background: #f0f9ff;
    transform: scale(1.005);
}

.amortization-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.amortization-table tbody tr:nth-child(even):hover {
    background: #f0f9ff;
}

#toggleSchedule {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-weight: 700;
}

#toggleIcon {
    transition: transform 0.3s ease

.amortization-section h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.schedule-subtitle {
    color: var(--text-color);
    margin-bottom: 20px;
}

.schedule-controls {
    margin-bottom: 20px;
}

.schedule-table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.amortization-table {
    width: 100%;
    border-collapse: collapse;
}

.amortization-table thead {
    background: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.amortization-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.amortization-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.amortization-table tbody tr:hover {
    background: var(--light-color);
}

.amortization-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.amortization-table tbody tr:nth-child(even):hover {
    background: var(--light-color);
}

#toggleSchedule {
    display: flex;
    align-items: center;
    gap: 10px;
}

#toggleIcon {
    transition: transform 0.3s;
}

#toggleSchedule.active #toggleIcon {
    transform: rotate(180deg);
}

.legend-box.principal {
    background: var(--primary-color);
}

.legend-box.interest {
    background: var(--secondary-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-left h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--secondary-color);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #fb923c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-details h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-details p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-connect {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--secondary-color);
}

.social-connect h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.whatsapp { background: #25d366; }

.contact-form-card {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
    position: relative;
    border: 2px solid var(--secondary-color);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), #fb923c);
    border-radius: 20px 20px 0 0;
}

.contact-form-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-form-card > p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form .form-group {
    margin-bottom: 25px;
}

.modern-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--light-color);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary-color), #fb923c);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #ea580c, var(--secondary-color));
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.btn-submit i {
    transition: transform 0.3s;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #cbd5e1;
}

/* Payment Methods & Mobile Banking (M-Pesa Theme) */
.payments {
    background: linear-gradient(135deg, #00a651 0%, #00c853 100%);
    color: #f0fff4;
    position: relative;
    overflow: hidden;
}

.payments::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 360px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.payments .section-header h2,
.payments .section-header p {
    color: #f0fff4;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.payment-card::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 12px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.2));
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.payment-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff;
    border-radius: 14px;
    margin-bottom: 12px;
    font-size: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.payments h3 {
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.payments ul,
.payments ol {
    margin: 12px 0 0 18px;
}

.payments ul {
    list-style: none;
    margin-left: 0;
}

.payments ul li {
    position: relative;
    padding-left: 26px;
}

.payments ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #eafff2;
    font-weight: 700;
}

.payment-steps {
    list-style: none;
    counter-reset: step;
    margin-left: 0;
}

.payment-steps li {
    position: relative;
    padding-left: 36px;
}

.payment-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.payments li {
    margin-bottom: 8px;
}

.shortcode strong,
.payment-steps strong {
    color: #eafff2;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 6px;
}

.shortcode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 12px;
    margin-top: 4px;
}

.mpesa-card {
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(160deg, rgba(0, 166, 81, 0.35), rgba(255, 255, 255, 0.08));
}

.mpesa-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0b8f44;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    margin-bottom: 10px;
}

.payments .small-text {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content,
    .contact-wrapper,
    .calculator-wrapper,
    .membership-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .modern-form .form-row {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefit-cards {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        gap: 16px;
    }

    .stat-item {
        min-width: 200px;
        padding: 24px 20px;
    }

    .testimonial-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
