/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #2c5f6f;
    --dark-blue: #1e3a5f;
    --light-blue: #87CEEB;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --red: #ff0000;
    --footer-bg: #0a1929;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== HEADER / NAVIGATION ==================== */
/* Header */
    .main-header-t{
      position:absolute;
      top:20px;
      left:50%;
      transform:translateX(-50%);
      width:65%;
      background:#fff;
      border-radius:50px;
      padding:10px 30px;
      box-shadow:0 10px 30px rgba(0,0,0,0.08);
      z-index:50;
    }
    .navbar-brand img{ width: 191px; }
    .nav-link-t{ color:#000 !important; font-weight:600; margin:0 12px; }
    .nav-link-t:hover{ color:#0d6efd !important; }

    /* HERO */
    .hero-slide-tr-t{ height:100vh; position:relative; overflow:hidden; }
    .hero-slide-t{
      height:100vh;
      display:flex;
      align-items:center;
      position:relative;
      background-size:cover;
      background-position:center;
      background-repeat:no-repeat;
      transition: background 0.6s ease;
    }

    /* Overlay (editable) */
    .hero-slide-t::before{
      content:'';
      position:absolute;
      inset:0;
      /* use the CSS variable above to quickly change overlay */
      /* background: var(--overlay-color); */
      z-index:1;
      pointer-events:none;
    }
    /* If you want no overlay, set --overlay-color: transparent; in :root */

    .hero-content-t{ padding-left:8%; max-width:600px; position:relative; z-index:2; }
    .hero-content-t h1{
      font-size:48px;
      font-weight:700;
      color:#000c60; /* white looks good on dark overlay */
      line-height:1.15;
      margin:0 0 18px 0;
      text-shadow: 0 2px 6px rgba(0,0,0,0.45);
      margin-top: 75px;
    }

    .icon-row{ margin-top:28px; }
    .icon-box{
      width:60px; height:60px; border-radius:50%;
      border:2px solid #154fc5;
      display:inline-flex; align-items:center; justify-content:center;
      margin-right:12px; color:#154fc5; font-size:22px; background: rgba(255,255,255,0.06);
      backdrop-filter: blur(2px);
    }

    .hero-image-t{
      position:absolute; right:5%; bottom:0; max-height:85%; z-index:2;
      transform: translateZ(0);
    }

    .badge-circle-t{
      position:absolute; bottom:120px; left:55%; transform:translateX(-50%);
      width:120px; z-index:2;
      border-radius: 66px;
    }

    .carousel-indicators [data-bs-target]{
      background-color: #ffffff;
      width:10px; height:10px; border-radius:50%;
      opacity:0.85;
    }

    /* Responsiveness */
    @media (max-width:991px){
      .hero-content-t h1{ font-size:32px; }
      .hero-image-t{ position:relative; max-width:80%; margin:30px auto 0; display:block; right:auto; }
      .badge-circle-t{ display:none; }
      .main-header-t{ width:95%; padding:8px 18px; }
    }

     @media (max-width:768px){
        .main-header-t{
        width: 90%;
        }
     }
/* ==================== ABOUT US SECTION ==================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.section-label {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-images {
    position: relative;
}

.about-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover {
    transform: translateY(-10px);
}

.about-img-wrapper img {
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.1);
}

/* Scroll Animation */
.about-section [class*="col"] {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

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

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-icon {
    margin-bottom: 1.5rem;
}

.product-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon img {
    transform: scale(1.1) rotate(5deg);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-read-more:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* ==================== STATISTICS SECTION ==================== */
.statistics-section {
    padding: 80px 0;
    background: var(--white);
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== FOOTER SECTION ==================== */
.footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 10px;
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact .contact-item span {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b0b0b0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet Devices */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .about-section,
    .products-section {
        padding: 60px 0;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-icons {
        justify-content: center;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 1.2rem;
    }
    
    .years-badge {
        width: 100px;
        height: 100px;
        font-size: 0.75rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
    
    .hero-section,
    .carousel-inner,
    .carousel-item {
        min-height: auto;
    }
    
    .hero-content {
        padding: 40px 0;
        min-height: auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

/* Animation Classes for JavaScript */
.fade-in {
    animation: fadeIn 1s ease;
}

.slide-in-left {
    animation: fadeInLeft 1s ease;
}

.slide-in-right {
    animation: fadeInRight 1s ease;
}

.slide-in-up {
    animation: fadeInUp 1s ease;
}

/* Smooth Scroll Behavior */
section {
    scroll-margin-top: 80px;
}
