
/* =========================================
ROOT VARIABLES
Global colors and fonts
========================================= */

:root {

  /* Brand Colors */
  --primary-blue: #0c63cd;
  --dark-navy: #21313b;

  /* Base Colors */
  --white: #ffffff;
  --black: #000000;

  /* Font */
  --font-primary: "Inter", sans-serif;

}



/* =========================================
GLOBAL RESET
========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* =========================================
HTML SETTINGS
========================================= */

html {

  font-size: 16px;

  scroll-behavior: smooth;

}



/* =========================================
BODY GLOBAL SETTINGS
========================================= */

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top:120px;
  overflow-x: hidden;
}

/* =====================================
    HEADER WRAPPER
===================================== */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0;
    transition: all 0.3s ease;
}

/* =====================================
    NAV CONTAINER
===================================== */
.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
}

/* =====================================
   SCROLL EFFECT
===================================== */
.custom-header.scrolled {
    top: 0;
}

.custom-header.scrolled .nav-container {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(33, 49, 59, 0.12);
}

/* =====================================
   LOGO
===================================== */
.logo img {
    height: 90px;
    display: block;
}

/* =====================================
   NAV MENU
===================================== */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-navy);
    font-size: 14px;
    font-weight: 300;
    padding: 16px 15px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

/* =====================================
   DROPDOWN
===================================== */

.dropdown,
.sub-dropdown {
    position: relative;
}

.dropdown-content,
.sub-dropdown-content {
    position: absolute;
    background: var(--white);
    min-width: 260px;
    border-radius: 16px;
    padding: 12px 0;
    list-style: none;
    box-shadow: 0 20px 40px rgba(33, 49, 59, 0.14);
    border: 1px solid #f1f3f6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.dropdown-content {
    top: calc(100% + 10px);
    left: 0;
}

.sub-dropdown-content {
    top: 0;
    left: 100%;
    margin-left: 8px;
}

.dropdown-content li a,
.sub-dropdown-content li a {
    padding: 12px 20px;
    margin: 0 10px;
    border-radius: 10px;
    color: var(--dark-navy);
    transition: all 0.2s ease;
}

.dropdown-content li a:hover,
.sub-dropdown-content li a:hover {
    background-color: #0c63cd;
    color: #ffffff !important;
}

.dropdown-content li a:hover .side-arrow,
.dropdown-content li a:hover .arrow {
    color: #ffffff;
}

@media (min-width: 1101px) {
    .dropdown:hover > .dropdown-content,
    .sub-dropdown:hover > .sub-dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.sub-dropdown::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 15px;
    height: 100%;
}

.arrow,
.side-arrow {
    font-size: 10px;
    pointer-events: none;
}

/* =====================================
   BUTTONS
===================================== */

.header-btns {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-btn {
    background-color: #0c63cd;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.login-btn:hover {
    background-color: #21313b;
}

.mobile-login {
    display: none;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 1100px) {

    .nav-container {
        padding: 10px 20px;
        background: transparent;
        box-shadow: none;
    }

    .logo img {
        height: 80px;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-login {
        display: block;
        padding: 15px 24px;
    }

    .mobile-btn {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        position: absolute;
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        width: 95%;
        padding: 20px 0;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(33, 49, 59, 0.18);
        display: none;
        max-height: 75vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        padding: 16px 24px;
        border-bottom: 1px solid #f4f4f4;
        justify-content: space-between;
    }

    .dropdown-content,
    .sub-dropdown-content {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        width: 100%;
        background: #fafcff;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-blue);
        border-radius: 0;
        padding-left: 12px;
        margin: 0;
    }

    .dropdown.active > .dropdown-content,
    .sub-dropdown.active > .sub-dropdown-content {
        display: block;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .bar {
        width: 24px;
        height: 3px;
        background: var(--dark-navy);
        transition: 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}

/* =========================================
   CLASSIC FOOTER REDESIGN
========================================= */

.balanced-footer {
    background-color: #ffffff;
    font-family: var(--font-primary);
    padding: 30px 0 0 0; /* MORE CLASSIC DEPTH */
    border-top: 1px solid #f0f3f5;
    color: #444;
}

.footer-main-container {
    max-width: 1400px; /* WIDER FOR CLASSIC REACH */
    margin: 0 auto;
    padding: 0 60px 10px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* CLASSIC COLUMN SKEW */
    gap: 60px;
}

.brand-col {
    padding-right: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 25px;
    display: block;
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 800;
    color: #0c63cd; /* BRAND NAVY */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-list a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-link {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    display: flex;
    gap: 12px;
    line-height: 1.6;
    transition: 0.3s;
}

.info-link i {
    color: var(--primary-blue);
    margin-top: 5px;
    font-size: 16px;
}

.info-link:hover {
    color: #000;
}

.social-icon-group {
    display: flex;
    gap: 12px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e5eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-legal-bar {
    background: #f9fbff; /* SUBTLE CONTRAST FOR LEGAL */
    padding: 5px 60px;
    border-top: 1px solid #f0f3f5;
}

.legal-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888;
}

.copyright-tag strong {
    color: #0e2a47;
}

.developer-tag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.developer-tag a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.designer-logo {
    height: 18px; /* SMALL AND CLEAN */
    width: auto;
    max-width: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: brightness(1) contrast(1);
    vertical-align: middle;
}

.designer-logo:hover {
    filter: brightness(1.1);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        padding: 0 40px 40px;
    }
}

@media (max-width: 768px) {
    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .brand-col {
        padding-right: 0;
    }
    .footer-legal-bar {
        text-align: center;
    }
    .legal-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}