/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap');

/* COLOR PALETTE */
:root {
    --navy-blue: #0A192F;
    --dark-blue-shade: #172a45;
    --orange: #FFB347; /* Lighter, more yellow-orange */
    --orange-hover: #FFA220; /* Slightly deeper on hover */
    --white: #FFFFFF;
    --black: #000000;
    --text-light: #ccd6f6;
    --text-dark: #8892b0;
}

/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html{
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--navy-blue);
    color: var(--text-light);
}


/* LOADER STYLES */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: var(--navy-blue);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0; 
    transform: translateY(20px);
}

.loader-bar-container {
    width: 380px;
    height: 10px;
    background-color: var(--dark-blue-shade);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    width: 0;
    height: 100%;
    background-color: var(--orange);
    border-radius: 5px;
}


/* HEADER & NAVBAR */
header {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-blue-shade);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--orange);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}


/* HAMBURGER MENU */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* DETAILED FOOTER STYLES */
footer {
    background-color: var(--dark-blue-shade);
    padding: 4rem 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--orange);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo:hover {
    transform: none !important;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-column.about-column p {
    padding-right: 1rem;
}

.footer-column.links-column ul {
    list-style: none;
}

.footer-column.links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icons a i {
    font-size: 1.3rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1) translateY(-3px);
}

.social-icons a:hover i {
    color: var(--orange);
}

.footer-bottom-bar {
    border-top: 1px solid var(--navy-blue);
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-dark);
}


/* UTILITIES & SHARED COMPONENTS */
.cta-button {
    background-color: var(--orange);
    color: var(--navy-blue); 
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 179, 71, 0.3);
}

.cta-button:hover {
    background-color: var(--orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.6);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

.cta-banner-section {
    padding: 4rem 2rem;
    text-align: center;
}

.cta-banner-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner-section p {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--dark-blue-shade);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--orange);
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card h4 {
    color: var(--orange);
    text-align: right;
    font-weight: 600;
}


/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 61px; 
        flex-direction: column;
        background-color: var(--dark-blue-shade);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--navy-blue);
    }
     .nav-link:hover, .nav-link.active {
        background-color: rgba(255, 179, 71, 0.1);
    }
    .nav-link::after {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .cta-banner-section h2 {
        font-size: 1.5rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .loader-logo {
        font-size: 2rem;
    }
    .loader-bar-container {
        width: 280px;
    }
}

/* === NEW: Media query for small screens to prevent logo wrap === */
@media (max-width: 420px) {
    .nav-logo {
        font-size: 1.2rem;
    }
    .navbar {
        padding: 1rem 1.5rem; /* Slightly reduce padding */
    }
}