@import url('https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed&family=Inter:wght@400;600&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
    background-color: #fff5f5;
    color: #333;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #c31432;
    padding: 0.5rem 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo span {
    font-size: 2rem;
    font-weight: bold;
    color: #f0f8ff;
    margin-left: 2rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 5rem;
}

.navbar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.navbar-menu a {
    color: #f0f8ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: #6f0000;
    font-size: 1.1rem;
    background: #fff5f5;
    padding: 0.75rem;
    border-radius: 1.5rem;
}

.signup-button {
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #ffffff;
    color: #660000;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.signup-button:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    font-size: 1rem;
    cursor: pointer;
    color: #f0f8ff;
    position: relative;
    z-index: 1001;
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem;
    margin-top: 3.8rem;
    background-image: linear-gradient(to bottom, #c31432, #a10043, #780049, #4d0845, #240b36);
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #f0f8ff;
}

h1, h2 {
    margin: 0;
}

p {
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 2rem 1rem;
    text-align: justify;
    max-width: 70%;
    margin: 0 auto;
    background-color: #fff5f5;
}

/* Our Mission Section */
.mission-section {
    background-color: #fff5f5;
    padding: 1.5rem 1rem;
    text-align: center;
}

/* Our Values Section */
.values-section {
    padding: 1.5rem 1rem;
    text-align: center;
    background-color: #fff5f5;
}

/* Headings within About, Mission, and Values Section */
.about-section h2,
.mission-section h2,
.values-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Card Container */
.card-container {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Card Styling */
.card {
    width: 17rem;
    height: 20rem;
    background: #e7fefd;
    border: 3px solid;
    border-image: linear-gradient(to right, red, blue) 1;
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0.4, 0.4, 0.4, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Card Image */
.card img {
    width: 100%;
    height: 150px;
    object-fit: fit;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    background: #fff;
}

/* Card Content */
.card .card-content {
    padding: 0.8rem 0;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #000;
}

.card-content p {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* Card Hover Effect */
.card:hover {
    transform: scale(1.05);
    background-color: white;
    box-shadow: 0 10px 20px rgba(0.8, 0.8, 0.8, 0.7);
}

/* Card Hover Image Opacity */
.card:hover img {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #564f52;
    color: #f0f8ff;
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 1000px;
}

.footer-column {
    flex: 1;
    max-width: 280px;
    min-width: 180px;
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    text-align: left;
    width: 100%;
}

.footer-column ol {
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.footer-column ol li {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-column.about-column ol {
    list-style-type: square;
}

.footer-column.about-column ol li a {
    color: #f0f8ff;
    text-decoration: none;
}

.footer-column.about-column ol li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column.contact-column ol,
.footer-column.address-column ol {
    list-style: none;
}

.footer-column.contact-column ol li,
.footer-column.address-column ol li {
    position: relative;
    padding-left: 1.8rem;
}

.footer-column.contact-column ol li:nth-child(1)::before {
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-column.contact-column ol li:nth-child(2)::before {
    content: '\f095';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-column.contact-column ol li:nth-child(3)::before,
.footer-column.contact-column ol li:nth-child(4)::before {
    content: '\f508';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-column.address-column ol li:nth-child(1)::before {
    content: '\f5a0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-column.address-column ol li:nth-child(2)::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-social {
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.footer-social h3 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.footer-social h3 i {
    color: #f0f8ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    width: 60px;
    height: 60px;
    background-color: #fff;
    text-align: center;
    line-height: 60px;
    font-size: 25px;
    margin: 0 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
    transition: transform 0.5s, opacity 0.5s, scale 0.5s;
}

.social-links a i {
    position: relative;
    color: #262626;
    transition: color 0.5s, transform 0.5s;
    z-index: 3;
}

.social-links a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s;
    z-index: 2;
}

.social-links a:nth-child(1):before {
    background: #4267B2;
}

.social-links a:nth-child(2):before {
    background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a:nth-child(3):before {
    background: #FF0000;
}

.social-links a:nth-child(4):before {
    background: #0077B5;
}

.social-links a:hover:before {
    top: 0;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links a:hover i {
    color: #fff;
    transform: rotateY(360deg);
}

.footer-recognitions {
    margin: 1.5rem 0;
    width: 100%;
    max-width: 1000px;
}

.recognition-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.recognition-logos img {
    width: 100px;
    height: auto;
    filter: grayscale(50%);
    transition: filter 0.3s, transform 0.3s;
}

.recognition-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.footer-copy {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.go-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    line-height: 40px;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    touch-action: manipulation;
}

.go-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.go-to-top:hover {
    background-color: #0088cc;
    transform: scale(1.1);
}

.go-to-top i {
    color: white;
}

.go-to-top::after {
    content: 'Go to Top';
    visibility: hidden;
    opacity: 0;
    background-color: #333;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s, visibility 0.3s;
}

.go-to-top:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Media Query for Tablets (768px–1024px) */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 0.8rem 1.2rem;
        justify-content: space-between;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .navbar-logo span {
        font-size: 1.8rem;
        margin-left: 0.8rem;
    }

    .hamburger {
        display: block;
        font-size: 1.4rem;
        margin-right: 1.5rem;
        color: #fff;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100vw;
        background-color: #6f0000;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        display: none;
        z-index: 1000;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        align-items: center;
    }

    .navbar-menu a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .signup-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        align-self: center;
        margin-top: 0.8rem;
    }

    .hero {
        margin-top: 3.95rem;
        padding: 2rem 1rem;
        height: 20vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-section,
    .mission-section,
    .values-section {
        padding: 1.5rem 1rem;
        max-width: 80%;
        margin: 0 auto;
    }

    .about-section h2,
    .mission-section h2,
    .values-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .about-section p {
        font-size: 0.95rem;
    }

    .card-container {
        flex-wrap: nowrap;
        gap: 0.8rem;
        overflow-x: auto;
        justify-content: center;
    }

    .card {
        width: 200px;
        min-height: 260px;
        padding: 0.6rem;
        flex-shrink: 0;
    }

    .card img {
        height: 120px;
    }

    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    .footer-columns {
        gap: 0.8rem;
    }

    .footer-column {
        max-width: 220px;
        min-width: 160px;
    }

    .footer-column h3 {
        font-size: 1.2rem;
    }

    .footer-column ol li {
        font-size: 0.85rem;
    }

    .footer-social {
        max-width: 500px;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-links a {
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
        font-size: 1.5rem;
        transform: scale(1);
        opacity: 1;
    }

    .social-links a.visible {
        opacity: 1;
        transform: scale(1);
    }

    .social-links a.visible:nth-child(1) {
        background: #4267B2;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(2) {
        background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        border-color: #fff;
    }

    .social-links a.visible:nth-child(3) {
        background: #FF0000;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(4) {
        background: #0077B5;
        border-color: #fff;
    }

    .social-links a.visible i {
        color: #fff;
    }

    .recognition-logos img {
        width: 90px;
    }

    .footer-copy {
        font-size: 0.8rem;
    }

    .go-to-top {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 0.95rem;
    }
}

/* Media Query for Small Laptops (1025px–1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    body {
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .navbar-logo span {
        font-size: 1.9rem;
        margin-left: 1rem;
    }

    .navbar-menu a {
        font-size: 1.1rem;
    }

    .signup-button {
        padding: 0.7rem 1.3rem;
        font-size: 1.1rem;
    }

    .hero {
        margin-top: 2.5rem;
        padding: 2rem 1.5rem;
        height: 20vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about-section,
    .mission-section,
    .values-section {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .about-section h2,
    .mission-section h2,
    .values-section h2 {
        font-size: 1.9rem;
    }

    .about-section p {
        font-size: 1rem;
    }

    .card-container {
        gap: 1.5rem;
        justify-content: center;
    }

    .card {
        width: 16rem;
        min-height: 18rem;
    }

    .card img {
        height: 130px;
    }

    .card-content h3 {
        font-size: 1.05rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .footer-columns {
        max-width: 900px;
        gap: 1rem;
    }

    .footer-column {
        max-width: 250px;
    }

    .footer-column h3 {
        font-size: 1.3rem;
    }

    .footer-column ol li {
        font-size: 0.9rem;
    }

    .footer-social {
        max-width: 550px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 3.5rem;
        height: 3.5rem;
        line-height: 3.5rem;
        font-size: 1.8rem;
    }

    .recognition-logos img {
        width: 110px;
    }

    .footer-copy {
        font-size: 0.85rem;
    }
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-logo span {
        font-size: 1.4rem;
        margin-left: 0.5rem;
    }

    .hamburger {
        display: block;
        font-size: 1.1rem;
        margin-right: 1.5rem;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #6f0000;
        flex-direction: column;
        padding: 1rem;
        display: none;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu ul {
        flex-direction: column; /* Vertical layout for mobile */
        gap: 0.8rem;
        align-items: center;
    }

    .navbar-menu a {
        font-size: 0.85rem;
        padding: 0.4rem;
    }

    .signup-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }

    .hero {
        margin-top: 2.5rem;
        padding: 3rem 0.5rem;
        min-height: 25vh;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .about-section h2,
    .mission-section h2,
    .values-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .about-section p {
        font-size: 0.9rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .card {
        width: 90%;
        max-width: 300px;
        height: auto;
        min-height: 260px;
        padding: 0.6rem;
    }

    .card img {
        height: 200px;
        object-fit: fit;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-column {
        max-width: 90%;
        min-width: 0;
    }

    .footer-column h3 {
        font-size: 1.2rem;
    }

    .footer-column ol li {
        font-size: 0.85rem;
    }

    .footer-social {
        overflow: hidden;
    }

    .social-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-links {
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .social-links a {
        width: 2.3rem;
        height: 2.3rem;
        line-height: 2.5rem;
        font-size: 25px;
        margin: 0;
        opacity: 0;
        transform: scale(0.8);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .social-links a.visible {
        opacity: 1;
        transform: scale(1);
    }

    .social-links a.visible:nth-child(1) {
        background: #4267B2;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(2) {
        background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        border-color: #fff;
    }

    .social-links a.visible:nth-child(3) {
        background: #FF0000;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(4) {
        background: #0077B5;
        border-color: #fff;
    }

    .social-links a.visible i {
        color: #fff;
    }

    .recognition-logos img {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .navbar-logo span {
        font-size: 1.2rem;
    }

    .hamburger {
        font-size: 1rem;
    }

    .navbar-menu a {
        font-size: 0.8rem;
    }

    .signup-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .about-section h2,
    .mission-section h2,
    .values-section h2 {
        font-size: 1.4rem;
    }

    .about-section p {
        font-size: 0.85rem;
    }

    .card {
        width: 95%;
        min-height: 240px;
    }

    .card img {
        height: 90px;
    }

    .card-content h3 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column ol li {
        font-size: 0.8rem;
    }

    .footer-social h3 {
        font-size: 1.1rem;
    }

    .footer-social {
        overflow: hidden;
    }

    .social-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-links {
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .social-links a {
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
        font-size: 1.5rem;
        margin: 0;
        opacity: 0;
        transform: scale(0.8);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .social-links a.visible {
        opacity: 1;
        transform: scale(1);
    }

    .social-links a.visible:nth-child(1) {
        background: #4267B2;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(2) {
        background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        border-color: #fff;
    }

    .social-links a.visible:nth-child(3) {
        background: #FF0000;
        border-color: #fff;
    }

    .social-links a.visible:nth-child(4) {
        background: #0077B5;
        border-color: #fff;
    }

    .social-links a.visible i {
        color: #fff;
    }

    .recognition-logos img {
        width: 70px;
    }

    .footer-copy {
        font-size: 0.8rem;
    }

    .go-to-top {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}
