
/* =========================================
ROOT VARIABLES
Global colors and fonts
========================================= */

:root {

  /* Brand Colors */
  --primary-color: #cc252e;
  --secondary-color: #eea81f;
  --primary-blue: #cc252e;
  --secondary-gold: #eea81f;
  --dark-navy: #000000;

  /* 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: 99999;
    padding: 0;
    transition: all 0.3s ease;
}

/* =====================================
    NAV CONTAINER
===================================== */
.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
    border-radius: 0;
    transition: all 0.4s ease;
}

/* =====================================
   SCROLL EFFECT
===================================== */
.custom-header.scrolled {
    top: 0;
}

.custom-header.header-hidden {
    transform: translateY(-100%);
}

/* =====================================
   LOGO
===================================== */
.logo img {
    height: 90px;
    display: block;
}

/* =====================================
   NAV MENU
===================================== */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0 40px 0 auto;
    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: 4px 10px;
    border-radius: 4px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.nav-menu li a:hover,
.nav-menu li:hover > a,
.nav-menu li.active > a,
.nav-menu li a.active {
    background-color: var(--primary-color, #cc252e);
    color: #ffffff !important;
}

.nav-menu li:hover > a .arrow,
.nav-menu li a:hover .arrow {
    color: #ffffff !important;
}

/* =====================================
   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: 5px 10px;
    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: var(--primary-color);
    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: #cc252e;
    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: #eea81f;
}

.mobile-login {
    display: none;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 1100px) {

    .nav-container {
        padding: 10px 20px;
    }

    .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 {
    position: relative;
    background-color: #c81d28;
    background-image: radial-gradient(circle at 50% 30%, rgba(255, 190, 0, 0.22) 0%, rgba(245, 158, 11, 0.08) 45%, rgba(200, 29, 40, 0) 80%);
    font-family: var(--font-primary);
    padding: 0 0 0 0;
    color: #ffffff;
    overflow: hidden;
}

/* Background texture image ft_bg.png with low opacity */
.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/ft_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

/* Halftone Dot Matrix Pattern on Corners (Subtle, Small & Low Opacity) */
.balanced-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    mask-image: radial-gradient(circle at bottom left, black 15%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at bottom left, black 15%, transparent 65%);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

.balanced-footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    mask-image: radial-gradient(circle at top right, black 15%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at top right, black 15%, transparent 65%);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

/* Top Yellow Accent Line */
.footer-top-line {
    width: 100%;
    height: 3.5px;
    background: linear-gradient(90deg, #ca8a04 0%, #facc15 50%, #ca8a04 100%);
    display: block;
    margin-bottom: 25px;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
    position: relative;
    z-index: 5;
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px 10px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.4fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 4;
}

.brand-col {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: inline-block;
    width: fit-content;
}

.footer-logo img {
    height: 70px;
    width: auto;
    display: block;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
}

.footer-heading {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 6px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #facc15;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 6px;
}

.footer-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    display: flex;
    gap: 10px;
    line-height: 1.5;
    transition: 0.3s;
    align-items: flex-start;
}

.info-link i {
    color: #ffffff;
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

.info-link:hover {
    color: #ffffff;
}

.social-icon-group {
    display: flex;
    gap: 10px;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    background-color: #ffffff;
    color: var(--primary-color, #cc252e);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.footer-legal-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 4;
}

.legal-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.copyright-tag strong {
    color: #ffffff;
}

.developer-tag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.developer-tag a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.designer-logo {
    height: 18px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.designer-logo:hover {
    filter: brightness(0) invert(1) opacity(0.85);
}

/* 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;
    }
}