:root {
    --primary: #2558ab;
    --primary-dark: #1a4182;
    --primary-light: #3573cb;
    --secondary: #e0ff00;
    --secondary-dark: #c5df00;
    --dark: #333333;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #e0e0e0;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-dark: 0 8px 30px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

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

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

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

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

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

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

header.scrolled {
    height: 70px;
    box-shadow: 0 8px 24px rgba(37,88,171,0.13), 0 1.5px 0 rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-whatsapp a {
    background-color: #25D366;
    color: white !important;
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.nav-whatsapp a:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: 20px;
    transition: color 0.3s;
}

.mobile-menu-btn.active {
    color: var(--primary);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
    transition: opacity 0.3s;
    opacity: 0;
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        background: white;
        box-shadow: var(--shadow-dark);
        padding: 30px 0 20px 0;
        z-index: 1001;
        display: none;
        transform: translateY(-30px);
        opacity: 0;
        pointer-events: none;
    }
    nav ul.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-title span {
    font-weight: 400;
    display: block;
    font-size: 1.8rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

/* Steps Section */
.steps {
    padding: 80px 0;
}

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

.section-title h2 {
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

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

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    flex: 1;
    background-color: var(--light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    position: relative;
}

.step-icon::after {
    content: attr(data-number);
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-description {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Feature Section */
.feature {
    background-color: var(--primary);
    color: var(--light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 0 0 0 100%;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
}

/* Companies Section */
.companies {
    padding: 80px 0;
    background-color: var(--gray);
}

.companies-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.companies-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.company-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-dark);
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.company-header {
    padding: 20px;
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
}

.company-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.company-type {
    font-size: 0.9rem;
    opacity: 0.9;
}

.company-details {
    padding: 25px;
}

.company-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.company-info i {
    color: var(--primary);
    width: 25px;
    margin-right: 10px;
    font-size: 1.1rem;
}

.company-info span {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.company-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

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

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-dark);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.benefit-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-description {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Legal Notice */
.legal-notice {
    background-color: var(--secondary);
    padding: 20px;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Repayment Table Section */
.repayment {
    padding: 80px 0;
    background-color: var(--gray);
}

.table-container {
    overflow-x: auto;
    margin-top: 50px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--gray-dark);
}

table th {
    background-color: var(--primary);
    color: var(--light);
    font-weight: 600;
    white-space: nowrap;
}

table th:first-child {
    border-radius: var(--border-radius) 0 0 0;
}

table th:last-child {
    border-radius: 0 var(--border-radius) 0 0;
}

table tr:nth-child(even) {
    background-color: var(--gray);
}

table tr:hover {
    background-color: var(--gray-dark);
}

/* Testimonial Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light);
}

.testimonial-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--gray);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-dark);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0,0,0,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-medium);
    position: relative;
    padding-top: 30px;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.author-rating {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Application Form Section */
.application {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.application::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0"></rect><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="50" y="50"></rect></svg>');
    transform: rotate(30deg);
    z-index: 0;
}

.application-content {
    position: relative;
    z-index: 1;
}

/* Fixed contact form title */
.application .section-title h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.application .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.application .section-title h2::after {
    background-color: var(--secondary); /* Use yellow for the underline */
    height: 4px; /* Make it slightly thicker */
    bottom: -10px; /* Position it properly */
}

.form-container {
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    padding: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 88, 171, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

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

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column {
    flex: 1;
    min-width: 240px;
}

.footer-title {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

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

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

.social-link:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* WhatsApp Button */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: flex;
    align-items: center;
}

.whatsapp-tooltip {
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    margin-right: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-container:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-dark);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
}

.whatsapp-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    opacity: 0.6;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Contact CTA styling */
.contact-cta {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 12px 0;
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-cta.visible {
    transform: translateY(0);
}

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

.contact-cta p {
    margin: 0;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.phone-btn {
    background-color: rgba(255,255,255,0.2);
}

.whatsapp-cta-btn {
    background-color: #25D366;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    color: white;
}

.close-cta {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.close-cta:hover {
    opacity: 1;
    transform: rotate(90deg);
}