    /* Reset and base styles */
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    html {
    zoom: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth; /* Enhanced animations and smooth scrolling */
    }

    body {
    min-width: 1200px; /* or your desired minimum width */
    overflow-x: auto;

    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f172a;
    overflow-x: hidden;
    }

    /* Enhanced header with better dark theme styling and glass morphism */
    .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    }

    .header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }

    .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    }

    .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    }

    .logo img {
    width: 60px;
    height: 60px;
    padding: 2px;
    }

    .logo-text {
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    }

    .logo-text .highlight {
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    .nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    }

    .nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    }

    .nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
    }

    .nav-menu a:hover {
    color: #3b82f6;
    }

    .nav-menu a:hover::after {
    width: 100%;
    }

    .auth-buttons {
    display: flex;
    gap: 1rem;
    }

    .btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    }

    .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    }

    .btn:hover::before {
    left: 100%;
    }

    .btn-login {
    background: rgba(59, 130, 246, 0.1);
    color: #f8fafc;
    border: 1px solid rgba(59, 130, 246, 0.3);
    }

    .btn-login:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    }

    .btn-signup {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f8fafc;
    font-weight: 700;
    }

    .btn-signup:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    }

    /* Enhanced hero section with better dark theme and improved typography */
    .hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8)), url("../img/magbay.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
    }

    .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    }

    .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    }

    .hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    }

    .hero h1 .highlight {
    color: #2472ef;
    }

    .hero p {
    font-size: 1.4rem;
    max-width: 650px;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.7;
    color: #cbd5e1;
    text-align: justify;
    }

    .cta-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f8fafc;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    }

    .cta-button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    }

    .about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    }

    .about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    }

    .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    }

    .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 4rem;
    color: #f8fafc;
    letter-spacing: -0.02em;
    }

    .section-title .highlight {
    color: #3b82f6;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    }

    .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 4rem;
    }

    .about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #f8fafc;
    font-weight: 700;
    }

    .about-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.8;
    text-align: justify;
    }

    .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.2));
    }

    .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    }

    .feature-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    }

    .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    }

    .feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .feature-card:hover::before {
    opacity: 1;
    }

    .feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    font-weight: 600;
    position: relative;
    z-index: 2;
    }

    .feature-card p {
    color: #cbd5e1;
    line-height: 1.7;
    position: relative;
    text-align: justify;
    z-index: 2;
    }

    /* Enhanced footer with better dark theme and improved layout */
    .footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    }

    .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
    gap: 12rem;
    margin-bottom: 3rem;
    margin-left: 3rem;
    }

    .footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #3b82f6;
    font-weight: 700;
    }

    .footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
    }

    .footer-section a {
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    }

    .footer-section a:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
    }

    .footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    }

    /* Enhanced mobile responsiveness with better breakpoints */
    @media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    }

    @media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
    }

    /* Enhanced animations and smooth scrolling */
    .fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    }

    /* Added loading animation and page transitions */
    .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    }

    .loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    }

    @keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    }

    /* Added scroll indicator */
    .scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    z-index: 9999;
    transition: width 0.3s ease;
    }

    /* Back to top button styles */
    .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f8fafc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    }

    .back-to-top:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    }

    .back-to-top svg {
    width: 24px;
    height: 24px;
    }

    /* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #3b82f6;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #f8fafc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.close-modal:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.modal-item {
    background: rgba(30, 41, 59, 0.6);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.modal-item h3 {
    color: #f8fafc;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-item ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-item li {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
    padding-left: 1.5rem;
    position: relative;
}

.modal-item li:before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

/* Enhanced footer styles for clickable elements */
.footer-section h4 {
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-section h4:hover {
    color: #60a5fa;
}

.footer-section a {
    cursor: pointer;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}