/* ===== Reset & Base ===== */
* {margin:0; padding:0; box-sizing:border-box;}
body {
    font-family: Arial, sans-serif; 
    line-height: 1.6;
    padding-top: 90px; /* Space for fixed header */
}

/* ===== Fixed Header ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f6f4f4;
    color: #2c3e50;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

header .logo img {height: 70px;}
header .contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 200px;
}
header .contact a {
    color: #0b5581;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

/* ===== Professional Navigation ===== */
header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 100px;
    margin: 0;
}
header nav ul li {position: relative;}

/* Professional Menu Styling */
header nav ul.menu > li > a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0b5581;
    text-decoration: none;
    padding: 10px 12px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* Hover effect for main menu items */
header nav ul.menu > li > a:hover {
    color: #14a2f4;
    background: rgba(62, 38, 126, 0.08);
    transform: translateY(-1px);
}

/* Active state for current page */
header nav ul.menu > li > a.active {
    color: #0b5581;
    background: rgba(10, 61, 98, 0.12);
}

/* ===== Professional Submenu ===== */
header nav ul li ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 12px 0;
    border-radius: 8px;
    min-width: 205px;
    z-index: 1001;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
}

/* First level submenu */
header nav ul li:hover > ul.submenu {
    display: block;
}

/* Nested submenu (sub-submenu) */
header nav ul li ul.submenu li {
    position: relative;
}

header nav ul li ul.submenu li ul.submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;
    min-width: 180px;
    width: auto;
    z-index: 1002;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
}

/* Show nested submenu on hover */
header nav ul li ul.submenu li:hover > ul.submenu {
    display: block;
}

/* Submenu item styling */
header nav ul li ul.submenu li a {
    color: #0b5581;
    padding: 10px 20px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

header nav ul li ul.submenu li a:hover {
    color: #14a2f4;
    background: rgba(62, 38, 126, 0.08);
    border-left-color: #0a3d62;
    transform: translateX(3px);
}

/* Arrow indicators */
header nav ul li:has(> ul.submenu) > a::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 5px;
    color: #0c4177;
}

header nav ul li ul.submenu li:has(> ul.submenu) > a::after {
    content: " ▶";
    float: right;
    font-size: 10px;
    color: #0c4177;
}

/* ===== Hamburger Menu ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: 0.3s;
}

/* ===== Main Content Sections ===== */
.hero {
    text-align: center; 
    padding: 30px; 
    background: #f2f3f6;
    max-width: auto;
    margin: auto;
    color:#08344d;
}
.hero img {
    width: 100%; 
    max-width: 1500px; 
    max-height: 550px; 
    object-fit: cover;
    margin-top: 15px; 
    border-radius: 10px;
}

.services-overview {
    padding: 50px 20px; 
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.service-cards {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px;
}
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.card img {height: 80px; margin-bottom: 15px;}

/* ===== Service Detail Pages ===== */
.service-detail {
    max-width: auto;
    margin: 0 auto;
    padding: 40px 20px;
}
.service-detail h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #0a3d62;
}
.service-detail h2 {
    color: #0a3d62;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}
.service-detail p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}
.service-detail ul {margin: 20px 0; padding-left: 20px;}
.service-detail ul li {margin-bottom: 10px; color: #555;}
.service-detail img {
    max-width: 1500px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
    max-height: 450px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ===== Contact Page ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}
.contact-info, .contact-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.contact-item {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0a3d62;
    transition: all 0.3s ease;
}
.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.1);
    border-left-color: #1e6ba3;
}
.contact-item h3 {color: #0a3d62; margin-bottom: 8px;}

/* ===== Contact Form ===== */
.form-group {margin-bottom: 15px;}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a3d62;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}
.form-group textarea {resize: vertical; min-height: 100px;}

/* ===== Buttons & Links ===== */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0a3d62 0%, #1e6ba3 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}
.cta-button:hover {
    background: linear-gradient(135deg, #082b47 0%, #1a5a8a 100%);
    transform: translateY(-2px);
}

.back-link {
    display: inline-block;
    color: #0a3d62;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    padding: 10px 20px;
    border: 2px solid #0a3d62;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.back-link:hover {
    background: #0a3d62;
    color: white;
    transform: translateX(-5px);
}

/* ===== About Page ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.expertise-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.4s ease;
}
.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #0a3d62;
}
.expertise-item h3 {color: #0a3d62; margin-bottom: 15px;}

/* ===== Footer ===== */
footer {
    background: #030e3b; 
    color: #fff; 
    padding: 35px 20px; 
    text-align: center;
    border-radius: 10px;
    max-width: auto;
    margin: 20px auto 0;
}
footer a {color: #fff; text-decoration: none;}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0a3d62;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.package {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.package:hover {
    transform: translateY(-5px);
    border-color: #0a3d62;
}

.price {
    font-size: 1.3em;
    font-weight: bold;
    color: #0a3d62;
    margin-top: 15px;
}

.cta-section {
    background: linear-gradient(135deg, #0a3d62 0%, #1e6ba3 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
}

.cta-section p {
    color: white !important;
}

.cta-section .cta-button {
    background: white;
    color: #0a3d62;
    margin-top: 20px;
}

.cta-section .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits li {
    padding: 12px 0;
    font-size: 1.1em;
    border-bottom: 1px solid #f0f0f0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* ===== Mobile Responsive - Fixed Version ===== */
@media (max-width: 768px) {
    body {padding-top: 70px;}
    
    header {
        padding: 8px 15px;
        position: relative;
    }
    
    header .logo img {height: 40px;}
    
    /* Hide contact info on mobile */
    header .contact {
        display: none;
    }
    
    /* Hamburger positioning */
    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Main menu container */
    header nav ul.menu {
        flex-direction: column;
        background: #ffffff;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        padding: 80px 20px 20px;
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
        border: 1px solid #e9ecef;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    header nav ul.menu.show {
        left: 0;
    }
    
    /* Menu items */
    header nav ul.menu > li {
        width: 100%;
        border-bottom: none;
    }
    
    header nav ul.menu > li > a {
        padding: 15px 10px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-transform: none;
        letter-spacing: normal;
    }
    
    /* Submenu styles for mobile */
    header nav ul li ul.submenu {
        position: static;
        display: none;
        padding-left: 40px;
        background: #ffffff;
        box-shadow: none;
        border: none;
        width: 100%;
        min-width: auto;
    }
    
    header nav ul li.active > ul.submenu {
        display: block;
    }
    
    /* Nested submenu for mobile */
    header nav ul li ul.submenu li ul.submenu {
        position: static;
        background: #ffffff;
        padding-left: 75px;
        margin: 0;
        left: auto;
        top: auto;
    }
    
    /* Submenu item styling for mobile */
    header nav ul li ul.submenu li a {
        padding: 12px 15px;
        border-left: none;
        border-bottom: none;
        font-size: 14px;
    }
    
    header nav ul li ul.submenu li:last-child a {
        border-bottom: none;
    }
    
    /* Arrow indicators for mobile */
    header nav ul li:has(> ul.submenu) > a::after {
        content: " ▶";
        font-size: 12px;
    }
    
    header nav ul li ul.submenu li:has(> ul.submenu) > a::after {
        content: " ▶";
        float: right;
        font-size: 12px;
    }
    
    /* Close button for mobile menu */
    .menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #2c3e50;
        z-index: 1000;
    }
    
    /* Remove hover effects on mobile */
    header nav ul.menu > li > a:hover {
        background: rgba(62, 38, 126, 0.08);
        transform: none;
    }
    
    .service-cards {flex-direction: column; align-items: center;}
    .contact-container {grid-template-columns: 1fr; gap: 30px;}
    .expertise-grid {grid-template-columns: 1fr;}
    
    .service-detail,
    .contact-info,
    .contact-form {padding: 20px;}
    
    .hero img {
        max-height: 300px;
    }
    
    .process-steps,
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .service-detail {padding: 20px 10px;}
    .expertise-item {padding: 20px;}
    .package {padding: 20px;}
    
    header .logo img {
        height: 35px;
    }
    
    .hamburger {
        right: 10px;
    }
    
    header nav ul.menu {
        width: 90%;
    }
}

/* Desktop specific hover effects */
@media (min-width: 769px) {
    header nav ul li:hover > ul.submenu {
        display: block;
    }
    
    header nav ul li ul.submenu li:hover > ul.submenu {
        display: block;
    }
}