* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #0a1628 100%);
    color: #ffffff;
    line-height: 1.6;
    cursor: none;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 3px solid #4ECDC4;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.8),
                0 0 40px rgba(78, 205, 196, 0.6),
                0 0 60px rgba(78, 205, 196, 0.4);
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: #FFE66D;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.08s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #FFE66D,
                0 0 30px #FFE66D,
                0 0 45px rgba(255, 230, 109, 0.6);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    border-color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.9),
                0 0 50px rgba(255, 107, 107, 0.7),
                0 0 75px rgba(255, 107, 107, 0.5);
}

.custom-cursor-dot.hover {
    transform: translate(-50%, -50%) scale(2);
    background: #FF6B6B;
    box-shadow: 0 0 20px #FF6B6B,
                0 0 40px #FF6B6B,
                0 0 60px rgba(255, 107, 107, 0.7);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 20px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 85px;
    width: auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #4ECDC4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4ECDC4;
}

/* Liquid Glass Effect Wrapper */
.glass-wrapper {
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 12px 30px;
    overflow: hidden;
}

.glass-blur {
    position: absolute;
    inset: 0;
    background: inherit;
    backdrop-filter: blur(20px);
    filter: url(#liquid-glass);
    border-radius: inherit;
}

.glass-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-weight: 500;
}

/* Glass Button Styles */
.btn-download-nav {
    display: block;
}

.btn-download-nav .glass-wrapper {
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.btn-download-nav:hover .glass-wrapper {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('c:\\Users\\Achintha\\Documents\\iit\\2nd year\\SDGP\\SDGP Landing page\\New folder\\Asset images\\medifind bg.png') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 58, 82, 0.6) 50%, rgba(10, 22, 40, 0.7) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Finisher Header Canvas */
.finisher-header canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #4ECDC4;
}

.counter-number {
    font-size: 72px;
    font-weight: bold;
    color: #FFE66D;
    margin: 20px 0;
    display: block;
}

.hero-text > p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #B8C5D6;
}

.stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #4ECDC4;
}

.stat-label {
    font-size: 14px;
    color: #B8C5D6;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary .glass-wrapper {
    border: 2px solid rgba(255, 107, 107, 0.4);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover .glass-wrapper {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinning-globe-container {
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.spinning-globe {
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(78, 205, 196, 0.6));
}

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

/* Circular Image Wrapper */
.circular-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4ECDC4 0%, #2E8B9E 100%);
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.4);
    position: relative;
    padding: 8px;
}

.circular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: #4ECDC4;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #B8C5D6;
    margin-bottom: 60px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.03);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-text {
    flex: 1;
}

.about-text > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #B8C5D6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 50px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    font-size: 20px;
    color: #4ECDC4;
    margin-bottom: 8px;
}

.feature-text p {
    color: #B8C5D6;
    font-size: 15px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(78, 205, 196, 0.1);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.benefit-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #FFE66D;
}

.benefit-card p {
    color: #B8C5D6;
    font-size: 15px;
}

/* Scope Section */
.scope {
    background: rgba(255, 255, 255, 0.03);
}

.scope-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.scope-text {
    flex: 1;
}

.scope-text > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #B8C5D6;
}

.scope-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.scope-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.scope-icon {
    font-size: 50px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scope-text-content h4 {
    font-size: 20px;
    color: #4ECDC4;
    margin-bottom: 8px;
}

.scope-text-content p {
    color: #B8C5D6;
    font-size: 15px;
}

.scope-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(78, 205, 196, 0.1);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.team-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.team-image img {
    width: 100%;
    height: auto;
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #FFE66D;
}

.role {
    color: #4ECDC4;
    font-size: 16px;
    margin-bottom: 10px;
}

.description {
    color: #B8C5D6;
    font-size: 14px;
}

/* Download Section */
.download {
    background: rgba(255, 255, 255, 0.03);
}

.download-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.download-text {
    flex: 1;
}

.download-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #4ECDC4;
}

.download-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #B8C5D6;
}

.btn-download-large {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-download-large .glass-wrapper {
    border: 2px solid rgba(255, 107, 107, 0.4);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-download-large:hover .glass-wrapper {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 165, 0, 0.8);
    padding: 20px 30px;
    border-radius: 30px;
    font-size: 18px;
    color: #ffffff;
}

.contact-icon {
    font-size: 30px;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #B8C5D6;
}

.btn-submit {
    background: #28A745;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    text-align: center;
    color: #B8C5D6;
}

footer p {
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a2e4a 0%, #0a1628 100%);
    margin: 10% auto;
    padding: 40px;
    border: 2px solid #4ECDC4;
    border-radius: 20px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-404-image {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: #FFE66D;
    margin-bottom: 15px;
    font-size: 28px;
}

.modal-content p {
    color: #B8C5D6;
    font-size: 18px;
    margin-bottom: 20px;
}

.close {
    color: #B8C5D6;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #FF6B6B;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content,
    .about-content,
    .scope-content,
    .download-content,
    .contact-content {
        flex-direction: column;
    }

    .benefits-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .spinning-globe-container {
        width: 300px;
        height: 300px;
    }

    .circular-image {
        width: 300px;
        height: 300px;
    }

    .hero-content {
        gap: 40px;
    }
}