* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --cream: #fef3c7;
    --gold: #f59e0b;
    --dark: #1f2937;
    --pattern-blue: #2563eb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.85rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.65rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 700;
}

.logo p {
    color: var(--light-blue);
    font-size: 0.85rem;
    margin-top: -4px;
    font-weight: 500;
}

.header-contact {
    font-size: 0.9rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-contact span {
    font-weight: 500;
}

.header-contact a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.header-contact a:hover {
    text-decoration: underline;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    color: #374151;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-blue);
    background: rgba(30, 58, 138, 0.1);
    font-weight: 600;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 80%;
}

/* Dropdown/Sub-menu Styles */
.nav-menu .dropdown {
    position: relative;
}

/* Prevent multiple dropdowns from staying open */
.nav-menu .dropdown:not(:hover):not(.dropdown-open) .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.nav-menu .dropdown > a::after {
    display: none;
}

.nav-menu .dropdown > a i.fa-chevron-down {
    font-size: 0.65rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-menu .dropdown:hover > a {
    color: var(--primary-blue);
    background: rgba(30, 58, 138, 0.08);
}

.nav-menu .dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    list-style: none !important;
    min-width: 260px;
    max-width: 300px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.nav-menu .sub-menu * {
    list-style: none !important;
}

/* Custom scrollbar for sub-menu */
.nav-menu .sub-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu .sub-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.nav-menu .sub-menu::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.nav-menu .sub-menu::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}

.nav-menu .dropdown:hover .sub-menu,
.nav-menu .dropdown.dropdown-open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    list-style: none;
    white-space: nowrap;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu li::before,
.nav-menu .sub-menu li::marker {
    display: none;
    content: none;
}

.nav-menu .sub-menu li:first-child a {
    font-weight: 700;
    color: var(--primary-blue);
    background: #f0f4ff;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.75rem;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: #2d3748;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    line-height: 1.5;
}

.nav-menu .sub-menu a::after {
    display: none;
}

.nav-menu .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transition: width 0.2s ease;
}

.nav-menu .sub-menu a:hover {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.05));
    color: var(--primary-blue);
    padding-left: 1.75rem;
    font-weight: 600;
}

.nav-menu .sub-menu a:hover::before {
    width: 4px;
    background: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
    display: block;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.1) 35px, rgba(255,255,255,0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.1) 35px, rgba(255,255,255,0.1) 70px);
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,58,138,0.6) 0%, rgba(59,130,246,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-blue);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* About Preview */
.about-preview {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.pattern-box {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.pattern-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px);
    opacity: 0.5;
}

/* Contact Banner */
.contact-banner {
    padding: 3rem 0;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.contact-banner h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: scale(1.1);
}

.contact-item i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Content Pages */
.content-page {
    padding: 4rem 0;
    min-height: 70vh;
}

.content-page h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-page h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Floating WhatsApp Enquire Button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.whatsapp-float span {
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: #20BA5A;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .whatsapp-float {
        padding: 10px 14px;
        font-size: 0.85rem;
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }

    .header-contact {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Custom scrollbar for mobile menu */
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 2px;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
    }

    .nav-menu > li > a {
        padding: 1.2rem 1.5rem;
        display: block;
        width: 100%;
        font-size: 1rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(30, 58, 138, 0.1);
    }

    .nav-menu .dropdown > a {
        position: relative;
        padding-right: 3rem;
    }
    
    .nav-menu .dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu .dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .nav-menu .dropdown > a i.fa-chevron-down {
        display: none;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0;
        border: none;
        border-top: 1px solid #f0f0f0;
        min-width: 100%;
        max-width: 100%;
        list-style: none !important;
    }
    
    .nav-menu .sub-menu ul,
    .nav-menu .sub-menu ol {
        list-style: none !important;
    }

    .nav-menu .dropdown.active .sub-menu {
        max-height: 80vh;
        padding: 0.5rem 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Custom scrollbar for mobile sub-menu */
    .nav-menu .dropdown.active .sub-menu::-webkit-scrollbar {
        width: 3px;
    }
    
    .nav-menu .dropdown.active .sub-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu .dropdown.active .sub-menu::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 2px;
    }

    .nav-menu .sub-menu a {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
        list-style: none !important;
        display: block;
        width: 100%;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(30, 58, 138, 0.1);
        line-height: 1.5;
    }
    
    .nav-menu .sub-menu a:active {
        background: rgba(30, 58, 138, 0.12);
    }
    
    .nav-menu .sub-menu li {
        list-style: none !important;
        border-bottom: 1px solid #e5e7eb;
        margin: 0;
        width: 100%;
    }
    
    .nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu .sub-menu li:first-child a {
        background: rgba(30, 58, 138, 0.1);
        border-left: none;
        border-top: 2px solid var(--primary-blue);
        font-weight: 600;
        padding-top: 1.1rem;
    }
    
    .nav-menu .sub-menu li::before,
    .nav-menu .sub-menu li::marker {
        display: none !important;
        content: none !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

