/* Main styles for Abogida.ai */

:root {
    --primary-blue: #00B2FF;
    --dark-blue: #061E3C;
    --teal: #00E0FF;
    --orange: #FF7E33;
    --gradient-bg: linear-gradient(135deg, #061E3C 0%, #0A3252 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 178, 255, 0.05) 0%, rgba(0, 224, 255, 0.05) 100%);
    --text-color: #E6EDF3;
    --text-secondary: #A9B9C9;
}

/* Global styles */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: var(--gradient-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(6, 30, 60, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-main {
    color: var(--primary-blue);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.navbar-brand .logo-ai {
    color: var(--orange);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-blue);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-blue), var(--teal));
    transition: width 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero section */
.hero-section {
    background: var(--gradient-bg);
    color: white;
    padding: 7rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='rgba(255, 255, 255, 0.03)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23smallGrid)' /%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: rgba(230, 237, 243, 0.9);
}

.hero-section h1 span {
    background: linear-gradient(to right, var(--primary-blue), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-blue);
}

.hero-section .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(169, 185, 201, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.class-date {
    font-size: 0.9rem;
    color: var(--teal);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(0, 178, 255, 0.1);
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 224, 255, 0.2);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    border: none;
    color: var(--dark-blue);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 178, 255, 0.2);
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    border: none;
}

.hero-section .btn-primary {
    padding: 12px 30px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 178, 255, 0.2);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 178, 255, 0.1);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.card-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-body {
    color: var(--text-secondary);
    padding: 1.25rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.25rem;
}

/* Course Cards */
.course-card .card-header {
    background-color: rgba(0, 178, 255, 0.1);
    border-bottom: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

.course-card .badge {
    font-weight: 500;
    padding: 0.4em 0.7em;
    font-size: 0.75rem;
}

.bg-primary-light {
    background-color: rgba(0, 178, 255, 0.1);
}

.course-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.course-card .list-unstyled li {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.certificate-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(0, 178, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 178, 255, 0.1);
}

.certificate-badge i {
    color: var(--primary-blue);
    font-size: 0.85rem;
}

/* Feature Cards */
.feature-card {
    background: var(--gradient-card);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    color: var(--primary-blue);
}

/* Section styling */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Background styles */
.bg-light {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%) !important;
}

/* Flash messages */
.flash-messages {
    padding: 10px 15px 0;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 4rem 0 2rem;
    position: relative;
    background-color: var(--dark-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--primary-blue);
}

.footer-logo span {
    color: var(--orange);
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 350px;
}

.footer-contact h3,
.footer-social-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    align-items: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--primary-blue);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* Form styles */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 178, 255, 0.25);
    color: var(--text-color);
}

/* Fix for select options */
.form-select option {
    background-color: var(--dark-blue);
    color: var(--text-color);
}

/* Remove default select styling and add custom styling */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background-image: none;
    padding-right: 2.5rem;
}

/* Add a custom dropdown arrow using ::after */
.modal-body .form-select-container {
    position: relative;
}

.modal-body .form-select-container::after {
    content: "▼";
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Matrix background and pulse dots */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(255, 126, 51, 0.1));
    animation: float 15s infinite linear;
    backdrop-filter: blur(5px);
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation-duration: 35s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: -75px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.shape:nth-child(4) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 15%;
    animation-duration: 20s;
    animation-delay: 7s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Pulse dots animation */
.pulse-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pulse-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgba(0, 178, 255, 0.4);
    box-shadow: 0 0 5px rgba(0, 178, 255, 0.6);
    animation: nodePulse 5s infinite ease-in-out;
}

@keyframes nodePulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    20% {
        opacity: 0.7;
        transform: scale(1);
    }
    30% {
        opacity: 0.5;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(3);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Accordion styling for dark theme */
.accordion-item {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    border: none;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 178, 255, 0.05);
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e6edf3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300B2FF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-secondary);
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
    border-radius: 30px;
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-color) !important;
}

/* Call-to-action box */
.call-box {
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1) 0%, rgba(255, 126, 51, 0.1) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.call-box-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.call-box-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 178, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-blue);
}

.call-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.call-box p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Registration Modal */
.modal-content {
    background: var(--gradient-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
}

.modal-title {
    color: var(--dark-blue);
    font-weight: 600;
}

.modal-body {
    color: var(--text-color);
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.success-icon {
    font-size: 3rem;
    display: inline-block;
    background: rgba(25, 135, 84, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

/* Horizontal Career Path Section */
.horizontal-path-section {
    background: rgba(0, 178, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.path-header h3 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.path-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.paths-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.career-journey {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.career-journey:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.journey-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.journey-header .icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1) 0%, rgba(0, 224, 255, 0.1) 100%);
    border-radius: 50%;
    margin-right: 1rem;
}

.journey-header i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.journey-header h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.journey-path {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.journey-step {
    min-width: 130px;
    background: rgba(0, 178, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 178, 255, 0.15);
}

.journey-arrow {
    margin: 0 0.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.journey-arrow i {
    font-size: 1.25rem;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.step-duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.journey-outcome {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.journey-outcome span {
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1) 0%, rgba(0, 224, 255, 0.1) 100%);
    border: 1px solid rgba(0, 178, 255, 0.2);
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.career-journey:nth-child(1) {
    border-left: 3px solid var(--teal);
}

.career-journey.specialization-path {
    border-left: 3px solid var(--orange);
}

/* Specialization Grid */
.specialization-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.specialization-card {
    background: rgba(0, 178, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    flex: 1;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: rgba(0, 178, 255, 0.08);
}

.specialization-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.15) 0%, rgba(0, 224, 255, 0.15) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.specialization-icon i {
    color: var(--primary-blue);
    font-size: 1.75rem;
}

.specialization-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.specialization-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.specialization-card .duration {
    display: inline-block;
    background: rgba(0, 178, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .journey-path {
        flex-direction: column;
        align-items: stretch;
    }
    
    .journey-step {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .journey-arrow {
        transform: rotate(90deg);
        margin: 0.5rem auto;
        display: flex;
        justify-content: center;
        width: 100%;
        height: 30px;
    }
    
    .journey-outcome {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .call-box {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* Mobile modal improvements */
    .modal-dialog {
        margin: 0.5rem;
        max-width: 95%;
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        position: sticky;
        top: 0;
        z-index: 1050;
        padding: 0.75rem 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .btn-close-white {
        padding: 0.6rem 0.6rem;
        margin: -0.6rem -0.6rem -0.6rem auto;
    }

    .call-box-content {
        flex-direction: column;
    }
    
    .path-track {
        margin-bottom: 1.5rem;
    }
}