/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c41e3a;          /* Bold Red */
    --primary-dark: #a0172e;     /* Darker Red */
    --primary-light: #fce4e8;    /* Light Red */
    --secondary: #0a1628;        /* Navy Blue */
    --secondary-light: #1a2a4a;  /* Lighter Navy */
    --dark: #0a1628;             /* Navy as dark */
    --text: #1a2a3a;             /* Dark blue-gray */
    --text-light: #5a6a7a;       /* Muted blue-gray */
    --white: #ffffff;
    --off-white: #f5f7fa;
    --gray: #e8ecf1;
    --shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
    --shadow-hover: 0 20px 60px rgba(10, 22, 40, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(196, 30, 58, 0.10);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== SECTION ==================== */
.section {
    padding: 80px 0;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ==================== HEADER / NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(10, 22, 40, 0.15);
    padding: 10px 0;
}

.header.scrolled .logo-text {
    color: var(--white);
}

.header.scrolled .logo-text span {
    color: var(--primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo-text span {
    color: var(--primary);
}

.header.scrolled .logo-text {
    color: var(--white);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-list a {
    color: rgba(255, 255, 255, 0.8);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
    background: rgba(196, 30, 58, 0.2);
}

.header.scrolled .nav-list a:hover,
.header.scrolled .nav-list a.active {
    color: var(--white);
    background: rgba(196, 30, 58, 0.25);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--white);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col .logo .logo-text {
    color: var(--white);
}

.footer-col p {
    margin: 16px 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.35);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.45);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: var(--secondary);
        padding: 80px 32px 32px;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-list a {
        color: rgba(255, 255, 255, 0.7);
        padding: 12px 16px;
        width: 100%;
        font-size: 1rem;
    }

    .nav-list a:hover,
    .nav-list a.active {
        color: var(--white);
        background: rgba(196, 30, 58, 0.15);
    }

    .header.scrolled .nav-list a {
        color: rgba(255, 255, 255, 0.7);
    }

    .header.scrolled .nav-list a:hover,
    .header.scrolled .nav-list a.active {
        color: var(--white);
        background: rgba(196, 30, 58, 0.15);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}
/* ==================== LOGO STYLES ==================== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Header Logo Image */
.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

/* Footer Logo Image */
.logo-image-footer {
    height: 35px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Makes logo white for dark footer */
}

/* If you want only the logo without text */
.logo-image-only {
    height: 45px;
    width: auto;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-image-footer {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 28px;
    }
    
    .logo-image-footer {
        height: 24px;
    }
}