

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: #1a3c6d;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

a {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: #0074b2;
    transition: color 0.3s ease;
}

a:hover {
    color: #005f8f;
}

/* Scroll to Top Arrow */
#arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #ff7722;
    color: #fff;
    font-size: 1.5 rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#arrow i:hover {
    background-color: #e65b00;
    transform: scale(1.1);
}

/* Header */
header {
    position: relative;
    top: 100px;
    padding: 10px 0;
    text-align: center;
    background-color: #6b7587;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 30px 0;
    transition: all 0.5s ease;
    z-index: 1000;
}

.nav-fixed {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-fixed .logo-par h2,
.nav-fixed .nav ul a {
    color: #0074b2;
}

.menu-par {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-par {
    display: flex;
    align-items: center;
}

.logo-par h2 {
    font-size: 40px;
    color: #0074b2;
    margin-left: 10px;
    transition: color 0.5s ease;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0074b2;
}

.nav ul {
    display: flex;
    align-items: center;
}

.nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.nav ul a {
    color: #054524;
    font-size: 1.1rem;
    padding: 10px;
    position: relative;
    transition: color 0.5s ease;
}

.nav ul a::before {
    content: '';
    background-color: #ff7702;
    position: absolute;
    top: 0;
    left: 10px;
    width: 0;
    height: 2px;
    transition: width 0.5s ease;
}

.nav ul a:hover::before {
    width: 74%;
}

.toggle-btn {
    display: none;
    color: #054524;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content - Symptom Input Section */
.symptom-section {
    width: 90%;
  
    padding: 50px 20px;
    background-color: #e9f4ff;
    border-radius: 15px;
    margin: 80px auto 30px;
}

.symptom-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.symptom-section .form-group label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3c6d;
}

.symptom-section input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.symptom-section input[type="text"]:focus {
    border-color: #0074b2;
    outline: none;
}

.symptom-section .btn-danger {
    background-color: #0074b2;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 8px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.symptom-section .btn-danger:hover {
    background-color: #005f8f;
}

/* Result Section */
.result-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.toggle-button {
    background-color: #8af38b;
    color: #1a3c6d;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: #6bd86b;
}

/* Modals */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: #1a3c6d;
    color: #fff;
    border-bottom: none;
}

.modal-body {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 10px;
}

/* Owl Carousel Slider */
.owl-carousel .item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
}

.owl-carousel .owl-nav button {
    background-color: #0074b2 !important;
    color: #fff !important;
    border-radius: 50%;
    padding: 10px !important;
    margin: 0 5px;
}

/* Footer */
footer {
    background-color: #f1f1f1;
    padding: 50px 0 20px;
    border-top: 3px solid #0074b2;
    /* border-top: 3px solid #0074b2; */
}

.footer-par {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-1 h2 {
    font-size: 2rem;
    color: #0074b2;
}

.fot-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3c6d;
}

.fot-info ul li a {
    color: #333;
    font-size: 1rem;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.fot-info ul li a:hover {
    color: #0074b2;
}

.copyright {
    text-align: center;
    background-color: #ff7722;
    /* background-color: #0074b2; */
    color: #fff;
    padding: 12px 0;
    margin-top: 30px;
}







/* Responsive Design */
@media screen and (max-width: 768px) {
    /* header h1 {
        font-size: 1.8rem;
    } */
     header {
        display: none;
     }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #1a3c6d;
        transition: left 0.5s ease;
    }

    .nav-active {
        left: 0;
    }

    .nav ul {
        margin-top: 100px;
        text-align: center;
    }

    .nav ul li {
        display: block;
        margin: 20px 0;
    }

    .nav ul a {
        font-size: 1.2rem;
        color: #fff;
    }

    .nav ul a::before {
        top: auto;
        bottom: 0;
    }

    .toggle-btn {
        display: block;
        font-size: 1.8rem;
        z-index: 1001;
        color: #054524;
    }

    .symptom-section {
        padding: 30px 15px;
        margin-top: 60px;
    }

    .symptom-section h2 {
        font-size: 1.8rem;
    }

    .result-container {
        flex-direction: column;
        align-items: center;
    }

    .toggle-button {
        width: 100%;
        max-width: 200px;
    }

    .footer-par {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    header h1 {
        font-size: 1.5rem;
    }

    .logo-par h2 {
        font-size: 1.5rem;
    }

    .owl-carousel .item img {
        width: 120px;
        height: 120px;
    }
}

