/* ===============================================
   TABLE OF CONTENTS
   ===============================================
   1. RESET & BASE STYLES
   2. LAYOUT & CONTAINER
   3. TOP CONTACT BAR
   4. NAVBAR
   5. HERO SECTION
   6. MAIN CONTENT SECTIONS
   7. CONTACT PAGE
   8. FOOTER
   9. RESPONSIVE DESIGN
   =============================================== */

/* ================= 1. RESET & BASE STYLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= 2. LAYOUT & CONTAINER ================= */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= 3. TOP CONTACT BAR ================= */
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(221, 221, 221, 0.3);
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.top-bar i {
    color: #ff8c42;
    margin-right: 6px;
}

/* ================= 4. NAVBAR ================= */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Transparent Navbar for Homepage */
.navbar-transparent {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 38px; /* Positioned right below the contact bar */
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar-transparent .nav-links a {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-transparent .nav-links a::after {
    background: #ff8c42;
}

.navbar-transparent .nav-btn {
    background: #ff8c42 !important;
    color: #fff !important;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Reduced from 90px */
}

/* Logo */
.logo img {
    height: 65px;
    filter: brightness(1.2) contrast(1.1);
}

/* Brighter logo on transparent navbar */
.navbar-transparent .logo img {
    filter: brightness(1.5) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #111;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 250px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #ff8c42 !important;
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

/* Hover underline effect */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff8c42;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Contact Button */
.nav-btn {
    background: #ff8c42 !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 4px;
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover {
    background: #e6762e !important;
}

/* ================= 5. HERO SECTION ================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0b2c4f 0%, #1a4d7a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding: 150px 0;
    text-align: center;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

/* Full Screen Hero (Homepage) */
.hero-fullscreen {
    min-height: 100vh;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-fullscreen .container {
    margin-top: 60px; /* Reduced offset for navbar */
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 44, 79, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: #e1eaff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: #ff8c42;
    color: #ffffff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e6762e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

/* ================= 6. MAIN CONTENT SECTIONS ================= */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

main section {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

main section:hover {
    transform: translateY(-5px);
}

main section h3 {
    color: #0b5ed7;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
}

main section p {
    color: #333;
    font-size: 1rem;
}

/* Service Detail Pages */
.service-detail {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail h2 {
    color: #0b2c4f;
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff8c42;
    padding-bottom: 15px;
}

.service-detail h2 i {
    color: #ff8c42;
    margin-right: 15px;
}

.service-detail h3 {
    color: #0b2c4f;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.service-list li i {
    color: #ff8c42;
    margin-right: 12px;
    font-size: 1.1rem;
}

.cta-section {
    background: linear-gradient(135deg, #0b2c4f 0%, #1a4d7a 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.cta-section h3 {
    color: #ffffff;
    margin-top: 0;
}

.cta-section p {
    color: #e1eaff;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ================= CORE VALUES SECTION ================= */
.core-values {
    position: relative;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
}

.core-values-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 44, 79, 0.85);
    z-index: 1;
}

.core-values .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #e1eaff;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-top-color: #ff8c42;
    background: rgba(255, 255, 255, 1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.value-card h3 {
    color: #0b2c4f;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: bold;
}

.value-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive for Core Values */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .core-values {
        padding: 40px 0;
    }
}

/* ================= 7. CONTACT PAGE ================= */
.contact-full-bg {
    background: #0b2c4f;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.white-title {
    color: #ffffff;
    text-align: center;
}

.white-text {
    color: #e1eaff;
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro {
    font-size: 1.1rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Info Card */
.contact-info-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 6px;
    color: #333;
}

.contact-info-card h3,
.contact-info-card h4 {
    color: #0b2c4f;
    margin-bottom: 12px;
}

.contact-info-card h4 {
    margin-top: 25px;
}

.contact-info-card p {
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-info-card i {
    color: #00aaff;
    margin-right: 8px;
}

/* Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.contact-form-card textarea {
    height: 140px;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #ff8c42;
}

/* Form Status Messages */
#formStatus {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    display: none;
}

#formStatus.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#formStatus.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Social Media Section */
.social-section {
    background: #f4f6f8;
    padding: 40px 0;
}

.contact-socials {
    text-align: center;
}

.contact-socials h4 {
    margin-bottom: 20px;
    color: #0b2c4f;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b2c4f;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-socials a:hover {
    background: #ff8c42;
    color: #ffffff;
    transform: translateY(-4px);
}

/* ================= 8. FOOTER ================= */
.footer {
    background: #0b2c4f;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* ================= 9. RESPONSIVE DESIGN ================= */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #111;
    cursor: pointer;
    padding: 8px;
}

.navbar-transparent .mobile-menu-toggle {
    color: #ffffff;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 118px; /* Below top bar + navbar */
        left: -100%;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .navbar-transparent .nav-links {
        background: rgba(11, 44, 79, 0.98);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-transparent .nav-links li {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-transparent .dropdown-menu {
        background: rgba(0, 0, 0, 0.2);
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown > a::before {
        content: "▼";
        float: right;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active > a::before {
        transform: rotate(180deg);
    }

    .nav-btn {
        margin: 10px 20px;
        display: inline-block;
        width: auto;
    }

    .hero {
        padding: 80px 0;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .top-flex {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}