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

/* Base styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.logo{
    width: 200px;
    height: auto;
}

header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    position: relative;
}

.navbar ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li{
    padding: 0px 15px;
    list-style-type: none;
}

.navbar ul li a{
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 16px;
}

.navbar ul li a:hover{
    background-color: rgb(219, 216, 216);
    color: red;
    transform: translateY(-2px);
}

.hand{
    display: none;
    flex-direction: column;
    row-gap: 4px;
    background: none;
    outline: none;
    border: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hand:hover {
    background-color: rgba(0,0,0,0.1);
}

.hand span{
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hand.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hand.active span:nth-child(2) {
    opacity: 0;
}

.hand.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-container1{
    background-color: rgb(6, 153, 6);
}
.main-container1 h2{
    color: white;
    text-align: center;
}
.quotes{
    color: rgb(230, 225, 225);
    text-align: center;
}
.quotes li{
    padding: 20px 0px;
}

.main-container2 h2{
    padding: 20px 0px;
    color: green;
    font-weight: 700;
    text-align: center;
}
.main-container2 p{
    font-size: 20px;
    line-height: 32px;
    padding: 20px;
    text-align: justify;
}

.mis{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mis h2{
    padding: 20px 0px;
    color: green;
}
.mis img{
    width: 170px;
}
.mis p{
    font-size: 20px;
    line-height: 32px;
    padding: 20px;
    text-align: justify;
}
.vis{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.vis h2{
    padding: 20px 0px;
    color: green;
}
.vis img{
    width: 170px;
}
.vis p{
    font-size: 20px;
    line-height: 32px;
    padding: 20px;
    text-align: justify;
}
.main-container4{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.core h2{
    color: green;
    padding: 20px 0px;
}

.core li{
    padding: 10px 0px;
}
.feature h2{
    color: green;
    padding: 20px 0px;
}

.feature li{
    padding: 10px 0px;
}

/* Footer */
footer{
    background-color: rgb(6, 153, 6);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.foot-maincontainer{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    border-bottom: 2px solid white;
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.foot-container1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 200px;
}

.foot-container2{
    border-left: 2px solid white;
    padding-left: 20px;
    min-width: 300px;
}

.foot-container2 table {
    width: 100%;
}

.foot-container2 h3{
    color: white;
    margin: 20px;
    font-size: 16px;
}

.foot-container1 h3{
    color: white;
    margin: 20px 0;
    font-size: 18px;
}

.foot-maincontainer1{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    border-bottom: 2px solid white;
    padding: 20px;
}

.foot-container3{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.foot-container3 h3{
    color: white;
    font-size: 18px;
}

.icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.icons1{
    color: white;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.icons1:hover {
    color: #333;
    background-color: white;
    transform: translateY(-3px);
}

.foot-maincontainer2{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.foot-maincontainer2 h3{
    color: white;
    margin: 0;
    font-size: 14px;
    text-align: center;
}

#list{
    margin: 10px 0;
    list-style: none;
}

#list li{
    list-style-type: none;
    padding: 8px 0;
}

#list li a{
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

#list li a:hover {
    color: black;
}

/* Responsive Design - Large Tablets and Small Laptops */
@media (max-width: 1024px) {
    .logo {
        width: 150px;
    }
    
    .main-container1 h2 {
        font-size: 1.8rem;
    }
    
    .quotes li {
        padding: 15px 0px;
        font-size: 16px;
    }
    
    .main-container2 h2 {
        font-size: 1.8rem;
    }
    
    .main-container2 p {
        font-size: 18px;
        line-height: 28px;
        padding: 15px;
    }
    
    .mis h2,
    .vis h2 {
        font-size: 1.6rem;
    }
    
    .mis p,
    .vis p {
        font-size: 18px;
        line-height: 28px;
        padding: 15px;
    }
    
    .mis img,
    .vis img {
        width: 150px;
    }
    
    .core h2,
    .feature h2 {
        font-size: 1.6rem;
    }
    
    .core li,
    .feature li {
        font-size: 16px;
    }
}

/* Medium Tablets */
@media (max-width: 900px) {
    .menu-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    .logo {
        width: 120px;
        margin-bottom: 10px;
    }
    
    .navbar {
        width: 100%;
    }
    
    .navbar ul {
        flex-direction: column;
        width: 100%;
        display: none;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-radius: 0 0 10px 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .navbar ul.active {
        display: flex;
        max-height: 500px;
    }
    
    .navbar ul li {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .navbar ul li a {
        width: 100%;
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .navbar ul li a:hover {
        background-color: #f5f5f5;
        color: green;
    }
    
    .hand {
        display: flex;
    }
    
    .main-container1 h2 {
        font-size: 1.6rem;
    }
    
    .quotes li {
        padding: 12px 0px;
        font-size: 15px;
    }
    
    .main-container2 h2 {
        font-size: 1.6rem;
        padding: 15px 0px;
    }
    
    .main-container2 p {
        font-size: 16px;
        line-height: 26px;
        padding: 15px;
    }
    
    .mis h2,
    .vis h2 {
        font-size: 1.4rem;
        padding: 15px 0px;
    }
    
    .mis p,
    .vis p {
        font-size: 16px;
        line-height: 26px;
        padding: 15px;
    }
    
    .mis img,
    .vis img {
        width: 130px;
    }
    
    .main-container4 {
        flex-direction: column;
        gap: 30px;
    }
    
    .core h2,
    .feature h2 {
        font-size: 1.4rem;
        padding: 15px 0px;
    }
    
    .core li,
    .feature li {
        font-size: 15px;
        padding: 8px 0px;
    }
    
    .foot-maincontainer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .foot-container2 {
        border-left: none;
        border-top: 2px solid white;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .main-container1 h2 {
        font-size: 1.4rem;
    }
    
    .quotes li {
        padding: 10px 0px;
        font-size: 14px;
    }
    
    .main-container2 h2 {
        font-size: 1.4rem;
        padding: 12px 0px;
    }
    
    .main-container2 p {
        font-size: 14px;
        line-height: 24px;
        padding: 12px;
    }
    
    .mis h2,
    .vis h2 {
        font-size: 1.3rem;
        padding: 12px 0px;
    }
    
    .mis p,
    .vis p {
        font-size: 14px;
        line-height: 24px;
        padding: 12px;
    }
    
    .mis img,
    .vis img {
        width: 110px;
    }
    
    .main-container4 {
        gap: 25px;
        padding: 0 15px;
    }
    
    .core h2,
    .feature h2 {
        font-size: 1.3rem;
        padding: 12px 0px;
    }
    
    .core li,
    .feature li {
        font-size: 14px;
        padding: 6px 0px;
    }
    
    .foot-maincontainer {
        padding: 15px;
    }
    
    .foot-container1,
    .foot-container2 {
        min-width: 200px;
    }
    
    .foot-container2 h3,
    .foot-container1 h3 {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .foot-maincontainer1 {
        margin: 15px 0;
        padding: 15px;
    }
    
    .foot-container3 h3 {
        font-size: 16px;
    }
    
    .icons {
        gap: 10px;
    }
    
    .icons1 {
        font-size: 1.5rem !important;
        padding: 8px;
    }
}

/* Mobile Phones - Portrait */
@media (max-width: 480px) {
    .logo {
        width: 100px;
    }
    
    .menu-bar {
        padding: 10px 15px;
    }
    
    .hand {
        top: 15px;
        right: 15px;
    }
    
    .hand span {
        width: 20px;
        height: 2px;
    }
    
    .main-container1 h2 {
        font-size: 1.2rem;
    }
    
    .quotes li {
        padding: 8px 0px;
        font-size: 13px;
    }
    
    .main-container2 h2 {
        font-size: 1.2rem;
        padding: 10px 0px;
    }
    
    .main-container2 p {
        font-size: 12px;
        line-height: 20px;
        padding: 10px;
    }
    
    .mis h2,
    .vis h2 {
        font-size: 1.1rem;
        padding: 10px 0px;
    }
    
    .mis p,
    .vis p {
        font-size: 12px;
        line-height: 20px;
        padding: 10px;
    }
    
    .mis img,
    .vis img {
        width: 90px;
    }
    
    .main-container4 {
        gap: 20px;
        padding: 0 10px;
    }
    
    .core h2,
    .feature h2 {
        font-size: 1.1rem;
        padding: 10px 0px;
    }
    
    .core li,
    .feature li {
        font-size: 12px;
        padding: 5px 0px;
    }
    
    .foot-maincontainer {
        padding: 10px;
        gap: 15px;
    }
    
    .foot-container1,
    .foot-container2 {
        min-width: 200px;
    }
    
    .foot-container2 h3,
    .foot-container1 h3 {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .foot-maincontainer1 {
        margin: 15px 0;
        padding: 15px;
    }
    
    .foot-container3 h3 {
        font-size: 16px;
    }
    
    .icons {
        gap: 8px;
    }
    
    .icons1 {
        font-size: 1.3rem !important;
        padding: 6px;
    }
    
    .foot-maincontainer2 h3 {
        font-size: 12px;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .logo {
        width: 80px;
    }
    
    .main-container1 h2 {
        font-size: 1.1rem;
    }
    
    .quotes li {
        padding: 6px 0px;
        font-size: 12px;
    }
    
    .main-container2 h2 {
        font-size: 1.1rem;
        padding: 8px 0px;
    }
    
    .main-container2 p {
        font-size: 11px;
        line-height: 18px;
        padding: 8px;
    }
    
    .mis h2,
    .vis h2 {
        font-size: 1rem;
        padding: 8px 0px;
    }
    
    .mis p,
    .vis p {
        font-size: 11px;
        line-height: 18px;
        padding: 8px;
    }
    
    .mis img,
    .vis img {
        width: 80px;
    }
    
    .main-container4 {
        gap: 15px;
        padding: 0 8px;
    }
    
    .core h2,
    .feature h2 {
        font-size: 1rem;
        padding: 8px 0px;
    }
    
    .core li,
    .feature li {
        font-size: 11px;
        padding: 4px 0px;
    }
}

/* Landscape Mode - Mobile and Tablet */
@media (orientation: landscape) and (max-width: 900px) {
    .main-container1 h2 {
        font-size: 1.4rem;
    }
    
    .quotes li {
        padding: 8px 0px;
        font-size: 14px;
    }
    
    .main-container2 p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .mis p,
    .vis p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .main-container4 {
        flex-direction: row;
        gap: 40px;
    }
}

@media (orientation: landscape) and (max-width: 700px) {
    .navbar ul li {
        padding: 8px 10px;
    }
    
    .main-container4 {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-container2 p {
        font-size: 12px;
        line-height: 20px;
    }
    
    .mis p,
    .vis p {
        font-size: 12px;
        line-height: 20px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .mis img,
    .vis img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .hand {
        display: none !important;
    }
    
    .main-container1 {
        background-color: white !important;
        color: black !important;
    }
    
    .main-container1 h2,
    .quotes li {
        color: black !important;
    }
    
    footer {
        background-color: white !important;
        color: black !important;
    }
    
    .foot-container2 {
        border-left-color: black;
    }
    
    .icons1 {
        color: black !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .main-container2 p,
    .mis p,
    .vis p,
    .core li,
    .feature li {
        color: #fff;
    }
    
    .quotes li {
        color: #ddd;
    }
}