/* ===== VARIABLES ===== */
:root {
    --primary-color: #232222;
    --secondary-color: #3a3939;
    --accent-color: #56ccf2;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 107, 168, 0.3);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* ===== HEADER & NAVIGATION ===== */
.top-bar {
    font-size: 0.85rem;
}

header .navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .btn.nav-link {
    border-radius: 25px;
}

.navbar-nav .btn.nav-link::after {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 100px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-carousel img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.4s ease;
    padding: 12px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 107, 168, 0.15);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6c757d;
    line-height: 1.8;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== PRODUCT SECTION ===== */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 107, 168, 0.15);
}

.product-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-icon i {
    font-size: 4rem;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.product-body {
    padding: 2rem;
}

.product-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card ul li {
    padding: 0.5rem 0;
    color: #6c757d;
}

.product-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--light-color);
}

.contact-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

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

.contact-card .btn-primary {
    color: var(--white) !important;
}

.contact-card .btn-primary:hover,
.contact-card .btn-primary:focus,
.contact-card .btn-primary:active {
    color: var(--white) !important;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links a {
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-img {
        height: 40px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        margin-top: 80px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .product-card {
        margin-bottom: 2rem;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    margin-bottom: 2rem;
}

.legal-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-page p,
.legal-page ul {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #6c757d;
}

.legal-page ul {
    padding-left: 2rem;
}

.legal-page ul li {
    margin-bottom: 0.5rem;
}
