/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background-color: #90d0e1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #3587a4;
    text-decoration: none;
}

.logo span {
    color: #66bb6a;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3587a4;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Footer Styles */
footer {
    background-color: #3587a4;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #66bb6a;
}

.footer-section p,
.footer-section address {
    margin-bottom: 15px;
    font-style: normal;
    line-height: 1.8;
}

.contact-info {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    font-size: 18px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff22;
    margin-right: 10px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #66bb6a;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ffffff33;
}

/* General Responsive Styles */
@media screen and (max-width: 992px) {
    h2 {
        font-size: 2rem !important;
    }
    h3 {
        font-size: 1.5rem !important;
    }
    h4 {
        font-size: 1.2rem !important;
    }
    p {
        font-size: 15px !important;
    }

    /* About Us section responsive */
    #about-us .grid-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Our Goals section responsive */
    #our-goals .grid-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    #our-goals .image-container {
        order: 2;
        text-align: center !important;
    }

    #our-goals .content-container {
        order: 1;
    }
}

/* Mobile Specific Styles */
@media screen and (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    /* Hero section mobile */
    #hero h1 {
        font-size: 2.5rem !important;
    }

    #hero p {
        font-size: 1rem !important;
    }

    #hero .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    #hero .hero-buttons a {
        margin: 0 !important;
    }

    /* Sections padding */
    section {
        padding: 60px 0 !important;
    }

    /* Cards and grids */
    .cards-grid {
        grid-template-columns: 1fr !important;
    }

    .approach-steps {
        flex-direction: column !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Form elements */
    input, select, textarea {
        font-size: 14px !important;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small devices */
    .logo {
        font-size: 22px;
    }

    #hero h1 {
        font-size: 2rem !important;
    }

    #hero p {
        font-size: 0.9rem !important;
    }

    .section-title {
        margin-bottom: 40px !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    /* Counter section */
    .counter-number {
        font-size: 2.5rem !important;
    }

    .counter-text {
        font-size: 1rem !important;
    }

    /* Contact details */
    .contact-info-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .contact-info-icon {
        margin-bottom: 10px !important;
    }
} tbody, td, tfoot, th, thead, tr {
    display:flex;
    flex-direction:column;
    font-size: 12px;
}