@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');

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;
}
/* Contact Body Styles */
.container {
    max-width: 75rem;
    margin: 5rem auto;
}

.intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.intro h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.intro p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: auto;
}

.contact-wrapper {
    display: block;
}

.form-panel {
    --grad: red,blue;
    width: 80%;
    margin: 0 auto;
    border-radius: 0.7rem;
    padding: 40px;
    backdrop-filter: blur(2px);
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.3s ease;
    border: 0.16rem solid transparent;
    border-image: linear-gradient(to right, var(--grad)) 1;
}

.form-panel h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: bold;
    text-align: center;
}

.form-panel h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 4rem;
    height: 0.2rem;
    background: linear-gradient(to right, var(--grad));
    transform: translateX(-50%); 
}

.form-row {
    display: flex;
    gap: 1.4rem;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.form-group label {
    display: block;
    margin-right: 1.1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    width: 8rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    flex: 1;
    max-width: calc(100% - 140px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #007bff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    margin-top: 20px;
    padding: 14px;
    background: #007bff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    width: 16rem;
    margin: 20px auto 0;
    display: block;
}

.submit-btn:hover {
    background: #0056b3;
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Notification Styles (for EmailJS) */
div[style*="position: fixed; top: 20px; right: 20px"] {
    font-size: 1rem;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    z-index: 1000;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
.footer {
    background-color: #564f52;
    color: #f0f8ff;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.footer-column {
    flex: 1;
    max-width: 300px;
    min-width: 200px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: left;
}

.footer-column ol {
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
}

.footer-column ol li {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.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 {
    list-style: none;
}

.footer-column.contact-column ol li {
    position: relative;
    padding-left: 2rem;
}

.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: '\f4fd';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f0f8ff;
}

.footer-column.address-column ol {
    list-style: none;
}

.footer-column.address-column ol li {
    position: relative;
    padding-left: 2rem;
}

.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: 3.8rem;
    height: 3.8rem;
    background-color: #fff;
    text-align: center;
    line-height: 3.8rem;
    font-size: 1.8rem;
    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: 1200px;
}

.footer-recognitions h3 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.recognition-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.recognition-logos img {
    width: 120px;
    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.9rem;
}

.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    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;
}

.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.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s, visibility 0.3s;
}

.go-to-top:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Responsive Styles */
@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;
    }

    .container {
        margin: 4rem auto;
        max-width: 90%;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .intro p {
        font-size: 0.95rem;
        max-width: 500px;
    }

    .form-panel {
        width: 90%;
        padding: 1.5rem;
    }

    .form-panel h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-right: 1rem;
        width: 7rem;
    }

    .form-group input,
    .form-group textarea {
        flex: 1;
        max-width: calc(100% - 120px);
        padding: 10px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        width: 14rem;
        padding: 12px;
        font-size: 0.95rem;
    }

    .error-message {
        font-size: 0.85rem;
    }

    div[style*="position: fixed; top: 20px; right: 20px"] {
        font-size: 0.9rem;
        padding: 12px 18px;
        max-width: 85%;
    }

    .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;
    }

    .container {
        max-width: 1000px;
        margin: 5rem auto 2rem;
    }

    .intro h1 {
        font-size: 2.2rem;
    }

    .intro p {
        font-size: 0.95rem;
    }

    .form-panel {
        width: 85%;
        padding: 2rem;
    }

    .form-panel h2 {
        font-size: 1.55rem;
    }

    .form-group label {
        font-size: 0.95rem;
        width: 7.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 11px;
    }

    .submit-btn {
        width: 15rem;
        font-size: 0.95rem;
    }

    .error-message {
        font-size: 0.85rem;
    }

    .footer {
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .footer-columns {
        max-width: 1000px;
        gap: 1rem;
        justify-content: center;
    }

    .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;
    }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 1rem;
        justify-content: space-between;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .navbar-logo span {
        font-size: 1.5rem;
        margin-left: 1rem;
    }

    .hamburger {
        display: block;
        font-size: 1rem;
        margin-right: 2.8rem;
    }

    .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: 1rem;
        align-items: center;
    }

    .navbar-menu a {
        font-size: 0.8rem;
        padding: 0.3rem;
    }

    .signup-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        align-self: center;
        margin-top: 1rem;
    }

    .container {
        margin: 3rem auto;
        max-width: 95%;
    }

    .intro h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .intro p {
        font-size: 0.9rem;
    }

    .form-panel {
        width: 95%;
        padding: 0.5rem;
    }

    .form-panel h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }

    .form-row {
        display: block;
    }

    .form-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        margin-bottom: 15px;
    }

    .form-group label {
        flex: 0 0 auto;
        margin-right: 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 0.85rem;
        color: #555;
        text-align: left;
    }

    .form-group input,
    .form-group textarea {
        flex: 1;
        max-width: 10rem;
        margin-right: 1rem;
        padding: 0.52rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.85rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        transition: border-color 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #007bff;
        outline: none;
    }

    .form-group input:hover,
    .form-group textarea:hover {
        border-color: #007bff;
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

    .submit-btn {
        margin-top: 20px;
        padding: 14px;
        background: #007bff;
        color: white;
        font-size: 0.9rem;
        font-weight: bold;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s;
        width: 12rem;
        margin: 20px auto 0;
    }

    .submit-btn:hover {
        background: #0056b3;
    }

    .error-message {
        font-size: 0.8rem;
        text-align: right;
        flex: 1;
        max-width: 160px;
        margin-left: auto;
    }

    /* Notification Styles (for EmailJS) */
    div[style*="position: fixed; top: 20px; right: 20px"] {
        font-size: 0.85rem;
        padding: 10px 15px;
        max-width: 80%;
    }

    /* Footer */
    .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.6rem;
        height: 2.6rem;
        line-height: 2.6rem;
        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: 80px;
    }
}