/* Global Styles - Common across all pages */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #1a3a6e;
    --secondary-color: #c41230;
    --accent-color: #c41230;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-family: 'Open Sans', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    position: relative;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background-color: #1A3E80;
}

.nav-link.active::after {
    display: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    color: #ffffff;
    background-color: #1A3E80;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: var(--font-size-xs);
    transition: var(--transition);
    margin-left: 4px;
    display: inline-block;
    color: inherit;
}

.dropdown-toggle.active::after,
.nav-item.dropdown .nav-link.active + .dropdown-toggle::after,
.nav-item.dropdown.active .dropdown-toggle::after {
    color: #ffffff;
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover,
.dropdown-link.active {
    background-color: #1A3E80;
    color: #ffffff;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: #1A3E80;
    border: none;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    padding: 10px;
    gap: 5px;
}

.nav-toggle .bar {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
}

.nav-toggle-fallback {
    display: none;
    position: fixed;
    top: 15px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #1A3E80;
    border: none;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    padding: 10px;
    gap: 5px;
}

.nav-toggle-fallback .bar {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
}

.bar {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
}

/* Footer Styles - Dark Theme */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 150px 0 0;
}

.footer-top {
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-item-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #aaa;
}

.icon-small {
    width: 16px;
    height: 16px;
    color: #c41230;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    flex: 0 0 200px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 12px;
    color: #aaa;
}

.footer-links-group {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.footer-link {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c41230;
}

.footer-nav {
    flex: 0 0 150px;
}

.footer-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-link {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-link:hover,
.footer-nav-link.active {
    color: #c41230;
}

.footer-social {
    flex: 0 0 200px;
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-social-list li {
    margin-bottom: 10px;
}

/* Footer Dropdown Styles */
.footer-dropdown {
    position: relative;
}

.footer-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-dropdown.active .footer-dropdown-arrow {
    transform: rotate(180deg);
}

.footer-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 15px;
    margin-top: 0;
    list-style: none;
}

.footer-dropdown.active .footer-dropdown-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-dropdown-menu li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-dropdown.active .footer-dropdown-menu li {
    opacity: 1;
    transform: translateX(0);
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.footer-dropdown-link {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-dropdown-link::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #c41230;
    transition: transform 0.3s ease;
}

.footer-dropdown-link:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-dropdown-link:hover::before {
    transform: translateX(5px);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subscribe-section {
    margin-top: 20px;
}

.subscribe-text {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 10px;
}

.btn-subscribe {
    background-color: #c41230;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-subscribe:hover {
    background-color: #a00f28;
    transform: translateX(3px);
}

.footer-bottom {
    background-color: #c41230;
    text-align: center;
    padding: 15px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: #fff;
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   RESPONSIVE STYLES - NAVBAR & FOOTER
   ============================================ */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .navbar .container {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .nav-brand .logo {
        height: 40px;
    }
    
    .footer-main {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-brand {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-links-group {
        flex: 0 0 100%;
        justify-content: center;
        gap: 40px;
    }
    
    .footer-nav {
        flex: 0 0 45%;
    }
    
    .footer-social {
        flex: 0 0 45%;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-toggle,
    .nav-toggle-fallback {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #1A3E80;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 999;
        max-height: none;
        overflow: visible;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 8px 8px;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        color: #fff;
        font-size: 1rem;
        border-radius: 0;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: #c41230;
        color: #fff;
    }
    
    /* Mobile Dropdown */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: center;
        width: 100%;
        color: #fff;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        display: none;
        width: 100%;
        min-width: auto;
        background-color: #153070;
        border-radius: 0;
        border: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        text-align: center;
        color: #fff;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown-link:hover,
    .dropdown-link.active {
        background-color: #c41230;
        color: #fff;
    }
    
    /* Mobile Footer */
    .footer {
        padding-top: 80px;
    }
    
    .footer-top {
        padding: 15px 0;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .footer-brand,
    .footer-links-group,
    .footer-nav,
    .footer-social {
        flex: none;
        width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 10px;
        display: block;
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav-list li {
        margin-bottom: 10px;
    }
    
    /* Mobile Footer Dropdown */
    .footer-dropdown-toggle {
        justify-content: center;
    }
    
    .footer-dropdown-menu {
        padding-left: 0;
    }
    
    .footer-dropdown.active .footer-dropdown-menu {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .footer-dropdown-link {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-dropdown-link::before {
        display: none;
    }
    
    .footer-dropdown-link:hover {
        padding-left: 0;
        color: #c41230;
    }
    
    .footer-social-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-social-list li {
        margin-bottom: 0;
    }
    
    .subscribe-section {
        margin-top: 20px;
    }
    
    .btn-subscribe {
        margin: 0 auto;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    .navbar .container {
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .nav-brand .logo {
        height: 35px;
    }
    
    .nav-menu {
        top: 60px;
        padding: var(--spacing-md);
    }
    
    .footer-contact {
        padding: 0 15px;
    }
    
    .contact-item-footer {
        font-size: 12px;
    }
    
    .footer-main {
        padding: 25px 15px;
    }
    
    .footer-nav-title {
        font-size: 13px;
    }
    
    .footer-nav-link,
    .footer-social-link,
    .footer-link {
        font-size: 12px;
    }
    
    .subscribe-text {
        font-size: 11px;
    }
    
    .btn-subscribe {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* ========================================
   LEGAL PAGES STYLES - Privacy Policy & Disclaimer
   ======================================== */

/* Privacy Policy Page Styles */
.legal-page-privacy {
    padding: 40px 0 60px;
    background: #fff;
}

.legal-container-privacy {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-title-privacy {
    color: #c41e3a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 20px;
}

.legal-section-privacy {
    margin-bottom: 20px;
}

.legal-section-privacy h2 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-section-privacy p {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.legal-section-privacy ul {
    margin-left: 25px;
    margin-bottom: 10px;
}

.legal-section-privacy li {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Disclaimer Notice Page Styles */
.legal-page-disclaimer {
    padding: 40px 0 60px;
    background: #fff;
}

.legal-container-disclaimer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-title-disclaimer {
    color: #c41e3a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 20px;
}

.legal-section-disclaimer {
    margin-bottom: 20px;
}

.legal-section-disclaimer h2 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-section-disclaimer p {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.legal-section-disclaimer ul {
    margin-left: 25px;
    margin-bottom: 10px;
}

.legal-section-disclaimer li {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.legal-warning-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.85rem;
    line-height: 1.6;
}
