:root {
    --dark-blue: #020d26;
    --orange: #FF6B00;
    --white: #ffffff;
    --main-heading-color: #ff5722;
    --card-heading-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--dark-blue);
    color: var(--white);
    overflow-x: hidden;
    padding-top: 100px; /* Space for fixed nav */
}
.error-message {
    color: red;              
    font-size: 12px;         
    margin-top: 5px;         
    font-family: Arial, sans-serif;  
    display: block;        
  }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    z-index: 1000;
    border: 2px solid var(--main-heading-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav li a:hover {
    color: #eb6e0d;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1040;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #eb6e0d;
}

.Contact {
    background-color: transparent;
    border: 1px solid #eb6e0d;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.Contact:hover {
    background-color: #eb6e0d;
    color: #1a1040;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--dark-blue);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-sidebar .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
}

.sidebar-header .close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar-header .close-btn:hover {
    color: var(--orange);
}

.contact-btn {
    display: inline-block;
    background-color: #eb6e0d;
    color: #1b1528;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.close-btn{
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--main-heading-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    gap: 40px;
}

.form-section, .info-section {
    flex: 1;
    min-width: 300px;
}

.section-title {
    color: var(--main-heading-color);
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--orange);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #1a2a4a;
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23FF6B00" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.input-group textarea {
    height: 100px;
    resize: none;
}

.input-group label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--orange);
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -20px;
    font-size: 12px;
    color: var(--orange);
}

.submit-btn {
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff8533;
    transform: translateY(-2px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.info-item i {
    color: var(--orange);
    margin-right: 15px;
    font-size: 20px;
}

.social-links {
    margin-top: 30px;
}

.social-links h3 {
    margin-bottom: 15px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: #ff8533;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.section-title-map {
    color: var(--main-heading-color);
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    padding-bottom: 10px;
}

.section-title-map::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--orange);
}

.map-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.map-box {
    width: 48%;
    min-width: 300px;
}

.map-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--main-heading-color);
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 2px solid var(--main-heading-color);
}

/* Scroll to Top */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--main-heading-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#scrollToTop:hover {
    transform: scale(1.1);
}

/* Footer */
.footer-section {
    background-color: #1b1528;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #eb6e0d;
}

.footer-column p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cfcfcf;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #eb6e0d;
}

.footer-logo {
    max-width: 140px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfcfcf;
    font-size: 1.1rem;
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #eb6e0d;
    border-color: #eb6e0d;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #cfcfcf;
}

.email-link {
    color: var(--main-heading-color);
    text-decoration: none;
}

.email-link:hover {
    color: #ff8f66;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .main-nav {
        display: none;
    }
    .logo img {
        height: 60px;
    }
    .hero-section {
        padding: 40px 15px;
    }
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .contact-container {
        flex-direction: column;
    }
    .info-item:hover {
        transform: none;
    }
    .submit-btn {
        width: 100%;
        padding: 12px;
    }
    .contact-btn {
        width: 100%;
        text-align: center;
    }
    .map-box {
        width: 100%;
    }
    .map {
        height: 300px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .map {
        height: 250px;
    }
    #scrollToTop {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

option{
    background-color: #1a2a4a;;
}

/* Chatbot */
#chatIcon {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--main-heading-color);
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9998;
}

#chatIcon:hover {
    background: #e64a19;
    transform: scale(1.1);
}

#chatBot {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 320px;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
}

#chatBot header {
    background: var(--main-heading-color);
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatBot header h2 {
    font-size: 1.1rem;
}

#closeChat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbox {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
}

.chat {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.chat p {
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    margin: 0;
}

.chat-incoming p {
    background: #e0e0e0;
    color: #333;
    align-self: flex-start;
}

.chat-outgoing p {
    background: var(--main-heading-color);
    color: #fff;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-input textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    height: 40px;
    font-size: 0.9rem;
}

#sendBTN {
    background: var(--main-heading-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#sendBTN:hover {
    background: #e64a19;
}
