/* ==================== ROOT VARIABLES ==================== */
:root {
    --orange-primary: #FF6600;
    --orange-hover: #E55A00;
    --orange-light: #FFF0E5;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F4F4F4;
    --medium-gray: #E8E8E8;
    --dark-gray: #333333;
    --text-muted: #666666;
    --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

p {
    line-height: 1.7;
}

/* ==================== UTILITY CLASSES ==================== */
.text-orange {
    color: var(--orange-primary) !important;
}

.bg-orange {
    background-color: var(--orange-primary) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

/* ==================== BUTTONS ==================== */
.btn-orange {
    background: var(--orange-primary) !important;
    border: 2px solid var(--orange-primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-orange:hover {
    background: var(--orange-hover) !important;
    border-color: var(--orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.btn-outline-white {
    background: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-outline-white:hover {
    background: var(--white) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
}

.btn-black {
    background: var(--black) !important;
    border: 2px solid var(--black) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-black:hover {
    background: #333 !important;
    border-color: #333 !important;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}



/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--black) !important;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .navbar-brand h2 {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.navbar .navbar-brand .fw-light {
    font-weight: 300;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    transition: var(--transition-fast);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--orange-primary) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--orange-primary);
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* ==================== HERO CAROUSEL ==================== */
#header-carousel {
    position: relative;
}

.hero-img {
    height: 90vh;
    object-fit: cover;
    filter: brightness(0.5);
}

.carousel-caption {
    background: transparent;
    padding: 2rem;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h5 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    line-height: 1.15;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

#header-carousel:hover .carousel-control-prev,
#header-carousel:hover .carousel-control-next {
    opacity: 1;
}

/* ==================== TITLES ==================== */
.title {
    position: relative;
}

.title h5 {
    color: var(--orange-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.title h1 {
    color: var(--black);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.title-center {
    text-align: center;
}

.title-center::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--orange-primary);
    margin: 0 auto 1.5rem;
}

.title-left {
    text-align: left;
}

.title-left::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--orange-primary);
    margin-bottom: 1.5rem;
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--medium-gray);
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-circle {
    background: var(--orange-primary);
}

.service-icon-circle i {
    font-size: 2rem;
    color: var(--orange-primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-circle i {
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
}

/* ==================== HOW IT WORKS ==================== */
.step-number {
    width: 70px;
    height: 70px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.4);
}

/* ==================== SECURITY SECTION ==================== */
.security-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--orange-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.security-illustration {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ==================== BANNER CTA ==================== */
.bg-orange .form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none;
    border-radius: 50px;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.bg-orange .form-control:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    outline: none;
}

.bg-orange .form-control::placeholder {
    color: #999;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--medium-gray);
}

.testimonial-stars i {
    font-size: 1rem;
}

/* Owl Carousel Customization */
.owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc !important;
    transition: var(--transition-smooth);
}

.owl-dot.active span {
    background: var(--orange-primary) !important;
    width: 30px;
    border-radius: 6px;
}

/* ==================== PARTNERS ==================== */
.partner-logo-box {
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.partner-logo-box:hover {
    background: var(--light-gray);
    border-color: var(--medium-gray);
}

.partner-logo-box i {
    transition: var(--transition-smooth);
}

.partner-logo-box:hover i {
    color: var(--orange-primary) !important;
    transform: scale(1.1);
}

.partner-logo-box:hover p {
    color: var(--orange-primary) !important;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black) !important;
}

.footer a {
    transition: var(--transition-fast);
}

.footer a:hover {
    color: var(--orange-primary) !important;
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--white) !important;
}

.btn-outline-white:hover {
    background: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: none;
    background: var(--orange-primary) !important;
    border: none !important;
    color: var(--white) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.3);
    transition: var(--transition-smooth);
}

.back-to-top:hover {
    background: var(--orange-hover) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
}

/* ==================== ANIMATIONS ==================== */
.wow {
    visibility: hidden;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199.98px) {
    .hero-img {
        height: 70vh;
    }
    
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .hero-img {
        height: 60vh;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .navbar .navbar-collapse {
        background: var(--black);
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
    }
    
    .title h1 {
        font-size: 2rem;
    }
    
    .security-illustration i {
        font-size: 8rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-img {
        height: 50vh;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
    }
    
    .carousel-caption .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .carousel-caption .btn {
        width: 100%;
    }
    
    .title h1 {
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .hero-img {
        height: 45vh;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 2rem !important;
    }
    
    .bg-orange .btn-black {
        position: static !important;
        width: 100%;
        margin-top: 0.5rem !important;
    }
}

/* ==================== SMOOTH SCROLL ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== FOCUS STATES ==================== */
a:focus,
button:focus,
input:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--orange-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==================== SELECTION ==================== */
::selection {
    background: var(--orange-primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--orange-primary);
    color: var(--white);
}