/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #002B6B;
    --secondary-color: #0056D6;
    --accent-color: #F5B800;
    --green-color: #0A7A3D;
    --text-color: #222222;
    --background-color: #ffffff;
    --light-bg: #F5F8FC;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Top Header Bar --- */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.top-bar-left span {
    color: var(--accent-color);
    font-weight: 500;
}

.top-bar-right i {
    margin-left: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.top-bar-right i:hover {
    color: var(--accent-color);
}

/* =========================================
   ATTRACTIVE COLORFUL MENU BAR WITH BORDERS
========================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: linear-gradient(135deg, #0A2342 0%, #153e5c 100%);
    border-bottom: 4px solid #F26419; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 15px;
    border: 1px dashed rgba(255, 255, 255, 0.4); 
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    font-size: 26px;
    color: #ffffff; 
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    display: block;
    font-size: 12px;
    color: #F26419; 
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-top: 2px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.3); 
    border-radius: 25px; 
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links li a:hover {
    color: #ffffff;
    background-color: #F26419;
    border-color: #F26419; 
    box-shadow: 0 0 12px rgba(242, 100, 25, 0.6);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    border: 2px solid #0A2342;
    border-top: 5px solid #F26419; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
    margin-top: 15px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #0A2342;
    border: none; 
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0; 
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f0f5fa; 
    color: #F26419;
    padding-left: 28px; 
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

/* 'Contact Us' Button */
.nav-links li a.btn-contact {
    background-color: #ffffff;
    color: #0A2342;
    border: 2px solid #ffffff;
    font-weight: 700;
}

.nav-links li a.btn-contact:hover {
    background-color: #F26419;
    color: #ffffff;
    border-color: #F26419;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
    transition: transform 0.3s;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* --- Buttons --- */
.btn {
    padding: 10px 25px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,43,107,0.3);
    color: #fff;
}

.btn-accent {
    background: var(--accent-color);
    color: #000;
}

.btn-accent:hover {
    background: #d49f00;
}

/* --- Hero Slider --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.slide-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* --- Global Sections --- */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light {
    background-color: var(--light-bg);
}

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Cards --- */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background: var(--text-color);
    color: #fff;
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN & MOBILE MENU LOGIC
========================================= */
@media(max-width: 1100px) {
    /* Show Hamburger on tablets/mobile */
    .hamburger { 
        display: block; 
    }
    
    /* Hide default horizontal menu and setup mobile drawer */
    .nav-links {
        position: fixed; 
        top: 85px; /* Adjust based on header height */
        left: -100%; 
        width: 100%; 
        height: calc(100vh - 85px);
        background: linear-gradient(135deg, #0A2342 0%, #153e5c 100%); 
        flex-direction: column; 
        align-items: center; 
        padding-top: 30px;
        transition: all 0.4s ease;
        overflow-y: auto;
    }

    /* Active state for mobile menu */
    .nav-links.active { 
        left: 0; 
    }

    /* Adjust links for mobile view */
    .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .nav-links li a {
        display: inline-block;
        border: none;
        font-size: 18px;
    }

    /* Mobile Dropdown Logic */
    .dropdown:hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        width: 100%;
    }

    .dropdown-menu li a {
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu li a:hover {
        background-color: #F26419;
        color: #fff;
    }
}

@media(max-width: 991px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .slide-content h2 { font-size: 28px; }
    .top-bar { flex-direction: column; text-align: center; gap: 10px; }
}