/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    color: #1e293b;
    line-height: 1.6;
}

/* Navbar */
nav {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%);
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

nav ul li a:hover {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

nav ul li.logo {
    font-size: 1.8em;
    color: #3b82f6;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
#hero {
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&h=600&fit=crop'),
                      url('https://images.unsplash.com/photo-1517836357463-d25ddfcbf042?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

#hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(37, 99, 235, 0.8));
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 15px;
    animation: fadeInUp 0.8s ease-out;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.05em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Home Section */
#home {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
    padding: 60px 40px;
}

#home p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 1.1em;
    line-height: 1.8;
}

#home img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

#home img:hover {
    transform: scale(1.02);
}

/* Diseases Section */
#diseases {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

.disease-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    overflow: hidden;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 58, 138, 0.2);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #10b981 100%);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.card:hover img {
    transform: scale(1.08);
    filter: brightness(1.2);
}

.card h3 {
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4em;
    font-weight: 700;
}

.card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Gender-Specific Health Sections */
.gender-health {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#male-health {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

#female-health {
    background: linear-gradient(135deg, #1a0f1e 0%, #2e1a2e 100%);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.1);
    
}
#contact h2{
    display: flex;
    justify-content: center;
    align-items: center;
}
form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f766e;
}
/* we can did it after frontend but till now chat gpt varosa */
form input, form select, form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(30, 58, 138, 0.3);
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: rgba(240, 249, 255, 0.8);
    color: #1e293b;
}
/*  these are from chat bot boiiiiiii */
form input::placeholder, form textarea::placeholder {
    color: #94a3b8;
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
    background-color: rgba(240, 249, 255, 1);
}

form button {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #10b981 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.6);
}

form button:active {
    transform: translateY(0);
}


/*  Here the final call of Bmezy Button  grahhhh!!!!!!*/

.final-call{
display: flex;
justify-content: center;
align-items: center;
background-color:#bce5ef ;

}
.final-call button{
    height: 75px;
    width: 150px;
    background-color: #06b6d4;
    font-size: larger;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 55px;
    margin-top:25px;
    margin-bottom: 25px;
    cursor: pointer;
}



.final-call button:hover {
    transform: scale(1.1);
    filter: brightness(1.25);
    background-color: #0654e6;   /* Purple */
    color: #fff;
    box-shadow: 0 10px 20px rgba(114, 9, 183, 0.3);
}


.final-call button {
    transition: 
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),  /* bouncy feel */
        filter 0.4s ease;
}
/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 -4px 20px rgba(30, 58, 138, 0.3);
}

.insta i {
 
    margin-top: 5px;
    margin-bottom: 5px;
    color: white;
    font-size: 1.5em;
}

.insta i {
    margin: 5px 0;
    font-size: 1.5em;
    color: white;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* super bouncy */
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    /* -webkit-background-clip: text; */
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insta i:hover {
    transform: translateY(-10px) rotate(8deg) scale(1.4);
    filter: drop-shadow(0 10px 20px rgba(173, 71, 112, 0.6));
}