/* ===================================
   REDLOGS - Premium Corporate Styles
   =================================== */

:root {
    --primary: #DC143C;
    --primary-dark: #B01030;
    --primary-light: #FF4D6D;
    --navy: #0A1F44;
    --navy-dark: #050F22;
    --navy-light: #1A3A6B;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-900: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ===================================
   NAVIGATION
   =================================== */

#mainNav {
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    background: rgba(10, 31, 68, 1);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand .logo-img {
    height: 65px;
    transition: all 0.3s ease;
}

#mainNav.scrolled .logo-img {
    height: 55px;
}

.company-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.company-name .full-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .company-name {
        font-size: 1.1rem;
    }
    .company-name .full-name {
        font-size: 0.65rem;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

.btn-contact {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    background-image: url('../assets/img/WhatsApp Image 2025-12-17 at 12.25.12 PM (35).jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 58, 107, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .text-primary {
    color: var(--primary) !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: #fff;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   STATS SECTION
   =================================== */

.stats-section {
    background: #fff;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.stat-item {
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===================================
   SECTION STYLES
   =================================== */

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   ABOUT PREVIEW SECTION
   =================================== */

.about-preview {
    background: #fff;
}

.feature-box {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--gray-900);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h4 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.service-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    color: #fff;
}

.service-link i {
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Read More Button (btn-slide) */
.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: transparent;
    padding: 0;
    border: none;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-slide:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.btn-slide i {
    transition: all 0.3s ease;
    order: 2;
    font-size: 0.85rem;
}

.btn-slide span {
    order: 1;
    position: relative;
}

.btn-slide span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.btn-slide:hover span::after {
    width: 100%;
}

.btn-slide:hover i {
    transform: translateX(3px);
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */

.why-choose-section {
    background: var(--gray-100);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    background: #fff;
}

.image-grid img {
    width: 100%;
    object-fit: cover;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 5rem 0;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: #000;
    color: #fff;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* ===================================
   MOBILE SIDEBAR NAVIGATION
   =================================== */

@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 1rem;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: rgba(10, 31, 68, 0.98) !important;
    }
    
    .navbar.scrolled {
        background: rgba(10, 31, 68, 1) !important;
    }
    
    .navbar .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .navbar-brand {
        max-width: calc(100% - 60px);
        overflow: hidden;
    }
    
    .navbar-brand .logo-img {
        height: 45px;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .company-name .full-name {
        font-size: 0.6rem;
    }
    
    /* Ensure content doesn't hide under fixed navbar */
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    .page-header {
        margin-top: 70px !important;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        padding: 80px 0 20px;
        transition: right 0.4s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-contact {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 10000;
        border: 2px solid #fff;
        padding: 8px 12px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Overlay when sidebar is open */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded {
    border-radius: 15px !important;
}
