/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    display: none;
    /* hide default bootstrap caret */
}

.navbar .dropdown-arrow::after {
    content: "\f107";
    /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 6px;
}

/* Base links */
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Default (Desktop) - Less space */
.nav-item .dropdown-arrow {
    margin-left: -25px !important; /* bring arrow closer */
    padding-left: 0 !important;
}

/* Mobile (screen width below 768px) - More space */
@media (max-width: 767px) {
    .nav-item .dropdown-arrow {
        margin-left: 1px !important; /* add some spacing */
        padding-left: 4px !important;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

/* Dropdown effect on desktop */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px !important;
    }

    .navbar-brand h2 {
        font-size: 18px !important;
        margin: 0;
    }

    .navbar-brand {
        gap: 6px;
    }
}

/* General Section */
.contact-section {
    padding: 80px 10%;
    background: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header .sub-title {
    color: #4169e1;
    /* Royal Blue */
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-header h1 {
    font-size: 36px;
    color: #e53935;
    /* Red */
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 16px;
    color: #555;
}

/* Content Flex */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Side */
.contact-left {
    flex: 1;
    min-width: 300px;
    animation: slideInLeft 1s ease;
}

.contact-info h3 {
    font-size: 22px;
    color: #4169e1;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.contact-info i {
    color: #e53935;
    margin-right: 8px;
}

/* Map */
.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

/* Right Side Form */
.contact-right {
    flex: 1;
    min-width: 300px;
    animation: slideInRight 1s ease;
}

.contact-right h3 {
    font-size: 22px;
    color: #4169e1;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4169e1;
    outline: none;
    box-shadow: 0 0 8px rgba(65, 105, 225, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #e53935;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-header h1 {
        font-size: 28px;
    }
}


/* Footer */
.footer {
    background: #4169e1;
    /* Royal Blue */
    color: #fff;
    padding: 60px 20px 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative animated waves */
.footer::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 100px;
    background: red;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    animation: wave 5s infinite linear;
}

@keyframes wave {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Column Styling */
.footer-col h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: red;
    position: relative;
}

.footer-col h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -5px;
}

.footer-col p,
.footer-col ul,
.footer-col form {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f1f1f1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: red;
}

/* Logo - Circular & Full Display */
.footer-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    /* Perfect circle */
    object-fit: contain;
    /* Show full logo (no cropping) */
    background: #fff;
    /* Background inside circle */
    padding: 4px;
    /* Space so text in logo is not cut */
    border: 2px solid red;
    /* Theme border */
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.footer-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: red;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin: 5px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: red;
    transform: scale(1.2);
}

/* Form */
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
}

.footer-form button {
    width: 100%;
    padding: 12px;
    background: red;
    color: #fff;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-form button:hover {
    background: #fff;
    color: red;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Responsive - smaller logo on mobile */
@media (max-width: 600px) {
    .footer-logo {
        width: 130px;
        height: 130px;
        padding: 8px;
    }
}