:root {
    --primary: #ff2d2d;
    --dark: #000;
    --light: #fff;
    --gray: #222;
    --main-gradient: linear-gradient(135deg, #1a237e 0%, #b71c1c 100%);
    --main-glow: radial-gradient(circle at 50% 50%, rgba(26, 35, 126, 0.2) 0%, rgba(183, 28, 28, 0.2) 100%);
    --section-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --card-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --footer-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--dark);
    color: var(--light);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--primary);
    border: none;
    color: var(--light);
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.sidebar-toggle:hover {
    background: #d91e1e;
    transform: scale(1.05);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -23vw;
    width: 23vw;
    height: 100vh;
    background: var(--main-gradient);
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    overflow-y: auto;
}
.sidebar.active {
    left: 0;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-logo {
    height: 40px;
    transition: transform 0.3s ease;
}
.nav-logo:hover {
    transform: scale(1.05);
}
.sidebar-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}
.sidebar-close:hover {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.1);
}
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.nav-link {
    color: var(--light);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: -1;
}
.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}
.nav-link i {
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.2);
}
.sidebar-hotline-download {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hotline {
    color: var(--light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}
.hotline:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}
.btn-primary {
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.btn-primary:hover {
    background: #d91e1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}
/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 20px;
    transition: margin-left 0.3s ease;
}
/* Footer */
.footer {
    background: linear-gradient(90deg, #18131d 0%, #2d0b0b 50%, #b71c1c 100%);
    color: #fff;
    padding: 48px 0 0 0;
    font-family: 'Montserrat', Arial, sans-serif;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 32px;
    justify-content: space-between;
}
.footer-section {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    max-width: 350px;
}
.footer-logo {
    height: 60px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 8px;
}
.footer-links-title {
    font-weight: bold;
    font-size: 20px;
    color: #ff2d2d;
    margin-bottom: 8px;
}
.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
    transition: color 0.2s;
}
.footer-section a:hover {
    color: #ff2d2d;
}
.footer-section i {
    color: #ff2d2d;
    margin-right: 8px;
}
.footer-book-btn {
    background: #ff2d2d;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 10px 24px;
    width: max-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: background 0.2s;
    margin-top: 12px;
}
.footer-book-btn:hover {
    background: #d91e1e;
}
.footer-bottom {
    border-top: 1px solid #444;
    margin: 32px 0 0 0;
    padding-top: 16px;
    text-align: center;
    color: #bbb;
    font-size: 15px;
}
.footer-bold {
    font-weight: bold;
    color: #fff;
}

/* Media Queries */
@media (max-width: 991px) {
    .sidebar-toggle {
        display: block;
    }
    .main-content {
        margin-left: 0;
    }
    .sidebar.active + .main-content {
        margin-left: 23vw;
    }
}
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        left: -280px;
    }
    .sidebar.active + .main-content {
        margin-left: 0;
    }
}

/* Home Page Main Section Styles */
.main-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1650px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    background: linear-gradient(90deg, #232b5a 0%, #b71c1c 100%);
    position: relative;
    min-height: calc(100vh - 93px);
}
.main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-glow);
    pointer-events: none;
}
.main-section .left, .main-section .right {
    flex: 1;
    padding: 8px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.main-section .left {
    align-items: flex-start;
    background: transparent;
    padding-left: 32px;
    margin-top: -280px;
    position: relative;
}
.main-section .left::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--main-gradient);
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}
.main-section .left img.qr {
    width: 320px;
    height: 320px;
    border-radius: 24px;
   
    margin-bottom: 2px;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.main-section .left h1 {
    font-size: 2.1rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.main-section .left p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}
.main-section .left .call-btn {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}
.main-section .left .call-btn:hover {
    background: #d91e1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.main-section .right {
    align-items: center;
    justify-content: center;
}
.main-section .right img {
    width: 720px;
    height: 720px;
    border-radius: 24px;
    background: #fff;
    display: block;
    margin: 0 auto 18px auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
@media (max-width: 1100px) {
    .main-section {
        flex-direction: column;
        max-width: 98vw;
    }
    .main-section .left, .main-section .right {
        border: none;
        padding: 24px 6px;
    }
    .main-section .right img {
        max-width: 90vw;
        height: auto;
    }
    .main-section .left {
        margin-top: 0;
        align-items: center;
    }
    .main-section .left img.qr {
        width: 280px;
        height: 280px;
    }
}
@media (max-width: 768px) {
    .main-section .left h1 {
        font-size: 1.8rem;
    }
    .main-section .left p {
        font-size: 1rem;
    }
    .main-section .left img.qr {
        width: 240px;
        height: 240px;
    }
}

/* --- HEADER (NAVBAR) --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 80px;
    background: linear-gradient(90deg, #232b5a 0%, #b71c1c 100%);
    box-shadow: none;
    gap: 0;
    white-space: nowrap;
    overflow: hidden;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex-shrink: 0;
    min-width: 100px;
    padding-right: 12px;
}
.logo img {
    height: 48px;
    margin-bottom: 0;
}
.logo-subtitle { display: none; }
.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
    white-space: nowrap;
}
.menu a {
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.05rem;
    padding: 8px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    background: transparent;
}
.menu a.active, .menu a:hover {
    background: #ff2d2d;
    color: #fff;
}
.nav-contact-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 24px;
    gap: 8px;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.nav-call-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-call-icon {
    background: #ff2d2d;
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.nav-call-number {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 6px;
}
.download-btn {
    margin-left: 0;
    margin-top: 0;
    font-size: 1.05rem;
    padding: 12px 32px;
    background: #ff2d2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.download-btn:hover {
    background: #d91e1e;
}

@media (max-width: 991px) {
    .navbar {
        display: none;
    }
}

@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        width: 100vw;
        max-width: 100vw;
    }
    .sidebar {
        left: 0 !important;
        top: -100vh;
        width: 100vw !important;
        height: 0;
        max-width: 100vw;
        max-height: 100vh;
        transition: top 0.3s ease, height 0.3s ease;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
        z-index: 1001;
        padding: 20px 10px;
    }
    .sidebar.active {
        top: 0;
        height: 100vh;
    }
}