/* General Body and Container Styles */
body {
    margin: 0;
    font-family: 'Lora', serif;
    color: #fff;
    background-color: #1a2a46;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.9em;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.contact-info span {
    margin-left: 10px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-info a i {
    margin-right: 5px;
}

.contact-info a span {
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.contact-info a:hover span {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
}

.contact-info a:hover {
    color: #bcd5ff;
    transform: translateX(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
    font-weight: normal;
    line-height: 1.2;
}

.logo .logo-subtitle {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
    font-weight: normal;
    line-height: 1.2;
    display: block;
}

.logo .logo-tagline {
    font-size: 0.8em;
    margin: 0;
    color: #ccc;
    display: block;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Navigation Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: text-decoration 0.3s ease;
    font-size: 1.2em;
}

.nav-links a:hover {
    color: #bcd5ff;
    text-decoration: underline;
    text-decoration-color: #bcd5ff;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.nav-links a.active-nav {
    color: #bcd5ff;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-radius: 5px;
}

.dropdown-content a {
    color: #101d30;
    padding: 12px 16px;
    padding-left: 30px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, text-decoration 0.3s ease;
    padding-right: 30px;
    overflow: hidden;
    font-size: 1em;
}

.dropdown-content a::after {
    content: "<";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #101d30;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.dropdown-content a:hover::after {
    opacity: 0;
    transform: translateY(-50%) translateX(0px);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Banner */
.cta-banner {
    background-color: #5283de1f;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-banner h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-banner .btn {
    background-color: #fff;
    color: #002a56;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-banner .btn:hover {
    background-color: #154edf;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Styles */
.main-footer {
    background-color: #1a2a46;
    color: #c0c0c0;
    padding: 70px 0 30px;
    border-top: 5px solid rgba(0, 123, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.main-footer .container {
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 123, 255, 0.3));
}

.footer-about p {
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.main-footer h3 {
    color: #fff;
    font-size: 1.6em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.main-footer h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer ul li {
    margin-bottom: 12px;
}

.main-footer ul li a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.main-footer ul li a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-contact-info p {
    font-size: 0.95em;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info p.indent-text {
    margin-left: 0;
    text-align: left;
}

.footer-contact-info p a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-contact-info p a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-contact-info p i {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.1em;
    flex-shrink: 0;
    padding-top: 2px;
}

.footer-contact-info .indent-text {
    padding-left: 28px;
    margin-top: -8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    color: #cacaca;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2c93fa;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top:hover {
    background-color: #0c6ed9;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {
    .top-bar {
        font-size: 0.8em;
    }
    
    .contact-info span {
        margin-left: 5px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo h1,
    .logo .logo-subtitle {
        font-size: 1.2em;
    }
    
    .logo .logo-tagline {
        font-size: 0.7em;
    }

    .main-footer {
        padding: 60px 0 25px;
    }
    
    .footer-grid {
        gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .main-footer h3 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .main-footer h3::after {
        width: 50px;
        height: 2px;
    }
    
    .footer-logo {
        max-width: 150px;
        margin-bottom: 20px;
    }
    
    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 25px;
        right: 25px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }
    
    /* Hide top contact bar on mobile */
    .top-bar {
        display: none;
    }
    
    /* Adjust header padding */
    .header {
        padding: 15px 0;
    }
    
    /* Mobile navigation menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(26, 42, 70, 0.98);
        flex-direction: column;
        padding: 100px 0 30px;
        margin: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li a {
        display: block;
        padding: 18px 30px;
        font-size: 1.1em;
        width: 100%;
        transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
    }
    
    .nav-links li a:hover {
        background-color: rgba(0, 123, 255, 0.2);
        padding-left: 40px;
        text-decoration: none;
    }
    
    .nav-links a.active-nav {
        background-color: rgba(0, 123, 255, 0.3);
        text-decoration: none;
        border-left: 4px solid #007bff;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown {
        position: relative;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
        max-height: 600px;
    }
    
    .dropdown-content a {
        padding: 15px 30px 15px 50px;
        font-size: 0.95em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff;
    }
    
    .dropdown-content a:hover {
        background-color: rgba(0, 123, 255, 0.2);
        padding-left: 60px;
    }
    
    .dropdown-content a::after {
        display: none;
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 99;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Footer adjustments for mobile */
    .main-footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .main-footer h3 {
        padding-bottom: 8px;
    }
    
    .main-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-about p,
    .main-footer ul li,
    .footer-contact-info p {
        font-size: 0.9em;
    }
    
    .footer-contact-info p {
        justify-content: center;
    }
    
    .footer-contact-info .indent-text {
        padding-left: 0;
        text-align: center;
    }
    
    #back-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }
    
    .logo h1,
    .logo .logo-subtitle {
        font-size: 1em;
    }
    
    .logo .logo-tagline {
        font-size: 0.65em;
    }
    
    .hamburger {
        width: 25px;
        height: 20px;
    }
    
    .hamburger span {
        height: 2px;
    }
    
    .nav-links {
        width: 250px;
        padding: 80px 0 20px;
    }
    
    .nav-links li a {
        padding: 15px 20px;
        font-size: 1em;
    }
    
    .dropdown-content a {
        padding: 12px 20px 12px 40px;
        font-size: 0.9em;
    }
    
    .cta-banner {
        padding: 40px 15px;
    }
    
    .cta-banner h2 {
        font-size: 1.8em;
    }
    
    .cta-banner p {
        font-size: 1em;
    }
    
    .main-footer {
        padding: 40px 0 15px;
    }
    
    .main-footer h3 {
        font-size: 1.2em;
    }
    
    .footer-about p,
    .main-footer ul li,
    .footer-contact-info p,
    .footer-bottom {
        font-size: 0.85em;
    }
    
    #back-to-top {
        width: 35px;
        height: 35px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}