/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Navbar Styles */
nav {
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 100;
}

nav > h1 {
    margin-left: 30px;
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Navbar Links */
nav > ul {
    margin-right: 35px;
    display: flex;
    font-weight: 700;
}

nav > ul > a {
    text-decoration: none;
    color: rgb(119, 119, 119);
    font-size: 1rem;
    padding: 0px 9px;
    font-weight: 550;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    transition: color 0.5s ease, transform 0.5s ease, border-bottom 0.3s ease;
}

/* Underline Effect */
nav > ul > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0a58ca;
    transition: width 0.3s ease;
}

nav > ul > a:hover::after {
    width: 100%;
}

/* Hover Effect */
a.hover-effect:hover {
    color: #000;
    font-weight: 600;
    text-shadow: 0 0 80px #000, 0 0 80px #000;
}

/* Hamburger Menu */
.hamburgersection {
    display: none;
}

.menu-toggle {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.bar {
    width: 30px;
    height: 4px;
    background-color: #0a58ca;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle:hover .bar {
    background-color: #0a58ca;
}



#loader {
  font-weight: bold;
  color: #555;
  margin-top: 10px;
}

#status-message {
  margin-top: 10px;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

#status-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#status-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Section */
.contact-container {
    width: 100%;
    margin: 0;
    padding: 60px 5%;
    background: #0a58ca;
    border-radius: 0;
    box-sizing: border-box;
}

.section-title {
    margin-top: 80px;
    font-size: 2rem;
    text-align: center;
    color: #fff;
    letter-spacing: 1px;
}

/* Contact Box */
.contact-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form, .map {
    flex: 1 1 48%;
    box-sizing: border-box;
}

/* Form Inputs and Textarea */
form input, form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border 0.3s;
}

form input:focus, form textarea:focus {
    border-color: #0d6efd;
    outline: none;
}

/* Form Button */
form button {
    background-color: #0d6efd;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
}

form button:hover {
    background-color: #084298;
    transform: scale(1.03);
}

/* Google Maps iframe */
iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    color: #eee;
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', sans-serif;
    /* position: relative; */
    width: 100%;
}

.footer-wrapper {
    max-width: 1100px;
    margin: auto;
}

/* Footer Header */
.footer-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-header h1 {
    font-size: 2rem;
    color: #0a58ca;
    text-shadow: 0 0 10px rgba(10, 88, 202, 0.4);
    margin-bottom: 10px;
}

.footer-header p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    overflow-wrap: break-word;
}

.footer-box {
    background-color: #141414;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 10px rgba(10, 88, 202, 0.15);
    transition: all 0.3s ease;
    flex: 1 1 30%;
    max-width: 30%;
}

.footer-box i {
    font-size: 1.3rem;
    color: #0a58ca;
    min-width: 20px;
}

.footer-box a {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(10, 88, 202, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    text-align: center;
    font-size: 0.9rem;
    color: white;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.back-to-top {
    position: absolute;
    right: 20px;
    top: -25px;
    width: 45px;
    height: 45px;
    background: #0a58ca;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.back-to-top:hover {
    background: white;
    color: #0a58ca;
    transform: translateY(-4px) scale(1.1);
}

/* Media Queries */

/* Tablet View */
@media (max-width: 1024px) {
    nav {
        display: flex;
        gap: 10px;
    }
    
    nav > ul > a {
        padding: 0px 6px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-around;
    }

    .hamburgersection {
        display: block;
    }

    nav > ul {
        flex-direction: column;
        position: fixed;
        margin-right: 0px;
        top: 65px;
        right: -100%;
        width: 130px;
        height: 326px;
        background-color: #111;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        padding: 10px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav > ul.active {
        right: 0;
    }

    nav > ul a {
        color: white;
        display: block;
        margin-bottom: 20px;
    }
    a.hover-effect:hover {
        color: #fff;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-box {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .contact-box {
        flex-direction: column;
        padding: 25px;
    }

    .contact-form,
    .map {
        flex: 1 1 100%;
    }

    .contact-container {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* Extra Small Mobile View */
@media (max-width: 426px) {
    nav > h1 {
        margin-left: 1px;
        font-size: 1.6rem;
    }

    .menu-toggle {
        width: 24px;
        height: 15px;
    }

    .bar {
        width: 20px;
        height: 3px;
    }
}
