/* ----------------------------------------------------------------------
   GLOBAL TOKENS & SYSTEM BASE RESET
---------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-deep: #092c74;
    --blue-bright: #0066ff;
    --dark-slate: #0f172a;
    --text-muted: #475569;
    --bg-light: #fafbfe;
    --card-border: rgba(9, 44, 116, 0.06);
    --radius-main: 24px;
    --transition-smooth: all 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--dark-slate);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- BRAND LOGO GLOBAL STRUCTURES --- */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.navbar-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.drawer-logo img, .footer-logo-wrap img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ----------------------------------------------------------------------
   STICKY HEADER & MAIN NAVIGATION
---------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(9, 44, 116, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-slate);
    text-decoration: none;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.menu-link:hover, .menu-item:hover .menu-link {
    color: var(--blue-bright);
}

.menu-link svg {
    transition: var(--transition-smooth);
}

.menu-item:hover .menu-link svg {
    transform: rotate(180deg);
}

/* --- MEGA DROPDOWN SYSTEM --- */
.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-main);
    box-shadow: 0 30px 60px rgba(9, 44, 116, 0.08);
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(2, 280px);
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 1010;
}

.mega-panel {
    grid-template-columns: repeat(4, 250px);
    left: auto;
    right: -200px;
    transform: translateY(15px);
}

.menu-item:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-item:hover .mega-panel {
    transform: translateY(0);
}

.dropdown-column h4 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy-deep);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(9, 44, 116, 0.06);
    padding-bottom: 8px;
}

.dropdown-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-column a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
}

.dropdown-column a:hover {
    color: var(--blue-bright);
    transform: translateX(4px);
}

.nav-cta {
    background: var(--navy-deep);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--blue-bright);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.2);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--dark-slate);
}

/* ----------------------------------------------------------------------
   MOBILE OFFCANVAS SYSTEM DRAWER
---------------------------------------------------------------------- */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(9, 44, 116, 0.05);
    z-index: 2000;
    padding: 32px 24px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-slate);
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(9, 44, 116, 0.05);
    padding-bottom: 12px;
}

.mobile-menu-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-slate);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.mobile-submenu.open {
    max-height: 1000px;
    margin-top: 12px;
}

.mobile-submenu h5 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-top: 8px;
}

.mobile-submenu a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    display: block;
}

.mobile-cta {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ----------------------------------------------------------------------
   PREMIUM FULL BACKGROUND HERO SECTION
---------------------------------------------------------------------- */

.hero-wrapper {
    position: relative;
    overflow: hidden;

    min-height: 92vh;

    padding: 120px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* HERO BACKGROUND IMAGE */
    background:
        linear-gradient(
            135deg,
            rgba(5, 18, 52, 0.92) 0%,
            rgba(5, 18, 52, 0.82) 35%,
            rgba(5, 18, 52, 0.65) 65%,
            rgba(5, 18, 52, 0.55) 100%
        ),
        url('../img/hero-bg.png');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* SOFT BLUE RADIAL GLOW */
.hero-wrapper::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top center,
            rgba(37, 99, 235, 0.18),
            transparent 40%
        );

    pointer-events: none;
}

/* ----------------------------------------------------------------------
   MAIN CONTAINER
---------------------------------------------------------------------- */

.hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* REMOVE IMAGE SIDE */
.hero-visual-side {
    display: none;
}

/* ----------------------------------------------------------------------
   CONTENT SIDE
---------------------------------------------------------------------- */

.hero-content-side {
    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;

    opacity: 0;
    transform: translateY(30px);

    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ----------------------------------------------------------------------
   HERO BADGE
---------------------------------------------------------------------- */

.hero-content-side .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(14px);

    color: #ffffff;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.4px;

    margin-bottom: 30px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-content-side .hero-badge i {
    color: #3b82f6;
}

/* ----------------------------------------------------------------------
   HERO HEADING
---------------------------------------------------------------------- */

.hero-content-side h1 {
    font-size: 68px;
    font-weight: 800;

    line-height: 1.08;
    letter-spacing: -3px;

    color: #ffffff;

    margin-bottom: 28px;

    max-width: 980px;
}

.hero-content-side h1 span {
    color: #3b82f6;
}

/* ----------------------------------------------------------------------
   HERO DESCRIPTION
---------------------------------------------------------------------- */

.hero-content-side p {
    font-size: 18px;
    line-height: 1.9;

    color: rgba(255,255,255,0.78);

    max-width: 760px;

    margin-bottom: 46px;
}

/* ----------------------------------------------------------------------
   ACTION BUTTONS
---------------------------------------------------------------------- */

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

/* PRIMARY CTA */

.hero-actions .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 32px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color: #ffffff;
    text-decoration: none;

    border-radius: 14px;

    font-size: 15px;
    font-weight: 700;

    transition: all 0.35s ease;

    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.hero-actions .nav-cta:hover {
    transform: translateY(-3px);

    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.38);
}

/* SECONDARY BUTTON */

/* ----------------------------------------------------------------------
   SECONDARY HERO BUTTON
---------------------------------------------------------------------- */

.hero-secondary-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 16px 28px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(14px);

    color: #ffffff;

    text-decoration: none;

    border-radius: 14px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);

    overflow: hidden;
}

/* ICON */
.hero-secondary-btn i {
    font-size: 18px;
    transition: transform 0.35s ease;
}

/* HOVER EFFECT */
.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.14);

    border-color: rgba(255, 255, 255, 0.24);

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.16);
}

/* ICON ANIMATION */
.hero-secondary-btn:hover i {
    transform: translateX(3px);
}

/* ACTIVE STATE */
.hero-secondary-btn:active {
    transform: translateY(0);
}

/* FOCUS ACCESSIBILITY */
.hero-secondary-btn:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 3px;
}

/* ----------------------------------------------------------------------
   ANIMATION
---------------------------------------------------------------------- */

@keyframes heroFadeUp {

    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------------- */

@media (max-width: 992px) {

    .hero-wrapper {
        padding: 100px 20px;
        min-height: auto;
    }

    .hero-content-side h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero-content-side p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {

    .hero-wrapper {
        padding: 90px 16px;
    }

    .hero-content-side h1 {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -1.5px;
    }

    .hero-content-side p {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .hero-actions .nav-cta {
        width: 100%;
    }
}
/* ----------------------------------------------------------------------
   ECOSYSTEM PORTFOLIOS (THE SERVICES ENGINE)
---------------------------------------------------------------------- */
.services-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--navy-deep);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--blue-bright);
    border-radius: 2px;
    margin: 12px auto 0;
}

.services-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-block {
    background: #ffffff;
    border: 1px solid rgba(9, 44, 116, 0.06);
    border-radius: var(--radius-main);
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(9, 44, 116, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.category-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(9, 44, 116, 0.06);
    border-color: rgba(0, 102, 255, 0.15);
}

.category-block h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-block h3 .icon-box {
    width: 44px;
    height: 44px;
    background: rgba(0, 102, 255, 0.06);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 20px;
    transition: all 0.3s ease;
}

.category-block:hover h3 .icon-box {
    background: var(--blue-bright);
    color: #ffffff;
}

.services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.services-list li {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
    transition: all 0.25s ease;
    cursor: default;
}

.services-list li i {
    color: var(--blue-bright);
    font-size: 14px;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.services-list li:hover {
    color: var(--dark-slate);
    transform: translateX(4px);
}

.services-list li:hover i {
    transform: scale(1.2);
}

/* ----------------------------------------------------------------------
   CONTACT DESK & ENQUIRY ARCHITECTURE
---------------------------------------------------------------------- */
.contact-section {
    background: #ffffff;
    padding: 90px 24px;
    border-top: 1px solid rgba(9, 44, 116, 0.05);
}

.contact-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.contact-subtitle {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--blue-bright);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.contact-info-panel h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.info-icon {
    font-size: 22px;
    color: var(--blue-bright);
    line-height: 1;
}

.info-details h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 4px;
}

.info-details p, .info-details a {
    font-size: 14.5px;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.4;
}

.info-details a:hover {
    color: var(--blue-bright);
}

/* --- THE ENQUIRY FORM CONSOLE --- */
.contact-form-panel {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 44px;
    border-radius: var(--radius-main);
    box-shadow: 0 20px 50px rgba(9, 44, 116, 0.03);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark-slate);
}

.form-group input, .form-group select, .form-group textarea {
    font-family: inherit;
    font-size: 14.5px;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid rgba(9, 44, 116, 0.08);
    border-radius: 12px;
    color: var(--dark-slate);
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue-bright);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.06);
}

.form-submit-btn {
    font-family: inherit;
    background: var(--navy-deep);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: var(--blue-bright);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
    transform: translateY(-1px);
}

/* ----------------------------------------------------------------------
   PRODUCTION CORE SITE FOOTER
---------------------------------------------------------------------- */
footer {
    background: #ffffff;
    border-top: 1px solid rgba(9, 44, 116, 0.05);
    padding: 80px 24px 40px;
}

.footer-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(9, 44, 116, 0.05);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--blue-bright);
}

.footer-bottom {
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.copyright-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
}

.developer-credit {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dev-anchor {
    color: var(--navy-deep);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.dev-anchor:hover {
    color: var(--blue-bright);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(9, 44, 116, 0.03);
    border-radius: 50%;
}

.footer-socials a:hover {
    color: var(--blue-bright);
    background: rgba(0, 102, 255, 0.08);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------------
   RESPONSIVE LAYOUT RESPONSIVENESS (MEDIA QUERIES)
---------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .desktop-menu, .nav-container .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .services-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    .services-section {
        padding: 50px 16px;
    }
    .services-grid-wrapper {
        grid-template-columns: 1fr;
    }
    .category-block {
        padding: 32px 24px;
    }
    .contact-section {
        padding: 60px 16px;
    }
    .contact-form-panel {
        padding: 32px 20px;
    }
    .form-row-dual {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .copyright-group {
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
}