/* SSD Polymers - Main Stylesheet */

/* ============ Variables ============ */
:root {
    --primary-color: #0a1a2d;
    --secondary-color: #01a1d9;
    --accent-color: #01a1d9;
    --text-color: #0a1a2d;
    --light-gray: #f8f9fa;
    --dark-gray: #666;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

/* ============ Reset & Base Styles ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

/* ============ Top Bar ============ */
.top-bar {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-info span {
    margin-right: 20px;
}

.top-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ============ Header ============ */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    min-width: 70px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 20px rgba(26, 189, 248, 0.4), 0 8px 30px rgba(1, 161, 217, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.logo:hover .logo-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(58, 196, 247, 0.5), 0 12px 40px rgba(1, 161, 217, 0.3);
}

.logo-icon img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h3 {
    font-size: 24px;
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 12px;
    color: var(--primary-color);
    margin: 3px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ============ Navigation ============ */
.main-nav {
    text-align: right;
    position: relative;
}

.nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 161, 217, 0.3);
}

.nav-link:hover::after,
.nav-link:hover {
    color: var(--secondary-color);
    width: 100%;
}

.dropdown-toggle-icon {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0;
    padding: 10px 0;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.navbar-toggle {
    display: none;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px 12px;
    z-index: 1001;
    position: relative;
    margin-right: 15px;
    margin-left: auto;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.navbar-toggle:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ============ Hero Section ============ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 161, 217, 0.3);
}

.btn-primary:hover {
    background-color: #0089ad;
    box-shadow: 0 8px 25px rgba(1, 161, 217, 0.5);
}

.btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(1, 161, 217, 0.4), 0 15px 40px rgba(1, 161, 217, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .section-title p {
        font-size: 14px;
    }
}

/* ============ Product Cards ============ */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-animated {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 204, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(0.95);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(1, 161, 217, 0.2), 0 20px 60px rgba(1, 161, 217, 0.15);
    transform: translateY(-8px);
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.product-card:hover .product-card-title {
    color: var(--accent-color);
}

.product-card-text {
    color: var(--dark-gray);
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 14px;
}

.category-card {
    position: relative;
}

.category-card .product-image {
    height: 260px;
    padding: 5px;
}

.product-col,
.category-col,
.feature-col {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

@media (max-width: 768px) {
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-card-title {
        font-size: 18px;
    }
    
    .category-card .product-image {
        height: 200px;
    }
}

/* ============ Footer ============ */
.main-footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding-top: 60px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-widget h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-about {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    color: #aaa;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    padding: 20px 0;
    background-color: #111;
}

.footer-bottom p {
    margin: 0;
    color: #777;
}

/* ============ WhatsApp Float ============ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ Back to Top ============ */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    z-index: 999;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ============ Enhanced Hero Slider ============ */
.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: auto;
}

.hero-slider-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.slide-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 204, 0.5);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-text {
    color: white;
    text-align: center;
    max-width: 800px;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slide-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.slide-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.6s;
    transition-timing-function: ease-in-out;
    position: absolute;
    width: 100%;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: white;
}

/* ============ Stats Section ============ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    z-index: 10;
}

.stats-section.overlap {
    margin-top: -50px;
}

.stat-box {
    padding: 30px 20px;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    margin: 0;
}

/* ============ About Section ============ */
.about-section {
    position: relative;
    z-index: 9;
}

.about-image-wrapper {
    position: relative;
}

.about-image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image-hover {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(1, 161, 217, 0.2);
    transition: all 0.4s ease;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.about-image-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(1, 161, 217, 0.35), 0 25px 60px rgba(1, 161, 217, 0.2);
}

.about-image-hover:hover .about-image {
    transform: scale(1.08);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 161, 217, 0.1) 0%, rgba(10, 26, 45, 0.1) 100%);
    border-radius: 15px;
}

.about-content {
    padding: 20px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ============ Products Section ============ */
.products-section {
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.premium-card {
    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.3s ease;
}

.premium-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 204, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.premium-card:hover .product-overlay {
    opacity: 1;
}

.product-card-body {
    flex-grow: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.product-card-text {
    font-size: 14px;
    color: var(--dark-gray);
    flex-grow: 1;
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ============ Categories Section ============ */
.categories-section {
    position: relative;
}

.category-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.category-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 204, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-body {
    flex-grow: 1;
    padding: 20px;
    text-align: center;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.category-description {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0;
}

/* ============ Features Section ============ */
.features-section {
    position: relative;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 68, 204, 0.1);
}

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

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

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

.feature-number {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-description {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
    flex-grow: 1;
}

/* ============ Feature Box Icon Alignment ============ */
.feature-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid #e8e8e8;
}

.feature-box-animated {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 40px;
    box-shadow: 0 6px 20px rgba(1, 161, 217, 0.3), 0 10px 30px rgba(1, 161, 217, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-box:hover {
    box-shadow: 0 15px 40px rgba(1, 161, 217, 0.15), 0 20px 50px rgba(1, 161, 217, 0.1);
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(1, 161, 217, 0.02) 0%, rgba(10, 26, 45, 0.02) 100%);
}

.feature-box:hover .feature-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 12px 30px rgba(1, 161, 217, 0.4), 0 16px 40px rgba(1, 161, 217, 0.2);
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 10px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.feature-box:hover h4 {
    color: var(--primary-color);
}

.feature-box p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============ CTA Section ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: slideInDown 0.6s ease-out;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 0;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

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

.btn-white:hover {
    background-color: var(--light-gray);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ============ Responsive Design ============ */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-right: 0;
        margin-left: 0;
        order: 1;
    }
    
    .main-nav {
        order: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 20px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        gap: 5px;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        z-index: -1;
        transition: background 0.3s ease;
        pointer-events: none;
    }
    
    .nav-menu.active::before {
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        pointer-events: auto;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        color: var(--text-color) !important;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--primary-color) !important;
        padding-left: 10px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        background: transparent;
        border: none;
        margin: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle-icon {
        float: right;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 12px 0;
        color: var(--text-color) !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-item:hover {
        background: transparent;
        color: var(--primary-color) !important;
        padding-left: 10px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .logo-icon {
        min-width: 60px;
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .logo-icon img {
        height: 45px;
        width: 45px;
    }
    
    .logo-text h3 {
        font-size: 20px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .category-card .product-image {
        height: 180px;
    }
    
    .about-content {
        padding: 15px 0;
        margin-top: 20px;
    }
    
    .feature-box {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
.carousel-item{
        min-height: 300px;
        display: none !important;
    }
    
    .carousel-item.active {
        display: flex !important;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .logo {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .logo-icon {
        min-width: 50px;
        width: 50px;
        height: 50px;
        margin-right: 12px;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .logo-icon img {
        height: 38px;
        width: 38px;
    }
    
    .logo-text h3 {
        font-size: 14px;
        margin: 0;
    }
    
    .logo-text p {
        font-size: 9px;
    }
    
    .navbar-toggle {
        top: auto;
        right: auto;
        padding: 6px 10px;
        font-size: 20px;
        transform: none;
        margin-right: 8px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 70px;
        right: 15px;
        font-size: 18px;
    }
    
    .carousel-item{
        min-height: 250px;
    }
    
    .carousel-caption h1 {
        font-size: 18px;
    }
    
    .carousel-caption p {
        font-size: 12px;
    }
    
    .carousel-caption .btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .section-title p {
        font-size: 13px;
    }
    
    .feature-box {
        padding: 20px 12px;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .feature-box h4 {
        font-size: 16px;
        margin: 10px 0 8px 0;
    }
    
    .feature-box p {
        font-size: 12px;
    }
    
    .cta-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .row {
        margin-right: -8px;
        margin-left: -8px;
    }
    
    .col-lg-4, .col-md-6, .col-sm-6 {
        padding-right: 8px;
        padding-left: 8px;
    }
}

/* ============ Form Styles ============ */
.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(1, 161, 217, 0.25), 0 0 15px rgba(1, 161, 217, 0.2);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

/* ============ Table Styles ============ */
.table {
    background-color: var(--white);
}

.table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.table thead th {
    border: none;
    font-weight: 600;
}

/* ============ Utility Classes ============ */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.text-center {
    text-align: center !important;
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 320px;
    }
    
    .hero-slider-wrapper {
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 200px;
    }
}

/* ============ Carousel/Slider Enhancements ============ */
.hero-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider .carousel {
    width: 100%;
    margin: 0;
    position: relative;
}

.hero-slider .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 68, 204, 0.4) 0%, rgba(0, 51, 153, 0.4) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.carousel-item {
    position: relative;
    display: none !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    min-height: 600px;
}

.carousel-item.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.carousel-item h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    font-size: 3.5rem;
    margin: 0;
}

.carousel-item p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-size: 1.25rem;
    margin: 1rem 0;
}

.carousel-item .btn {
    font-size: 1rem;
    padding: 12px 30px;
}

/* Carousel Controls Responsive */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    opacity: 0.7;
    z-index: 3;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 2.5rem;
    }
    
    .carousel-item p {
        font-size: 1rem;
    }
    
    .carousel-item .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .carousel-item {
        min-height: 300px;
    }
    
    .carousel-item h1 {
        font-size: 1.8rem;
        margin-bottom: 12px !important;
    }
    
    .carousel-item p {
        font-size: 0.9rem;
        margin-bottom: 16px !important;
    }
    
    .carousel-item .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-caption {
        padding: 0 15px;
    }
}

/* Extra small (320px and below) */
@media (max-width: 380px) {
    .carousel-item {
        min-height: 250px;
    }
    
    .carousel-item h1 {
        font-size: 1.5rem;
    }
    
    .carousel-item p {
        font-size: 0.8rem;
    }
}

/* ============ COMPREHENSIVE MOBILE RESPONSIVENESS ============ */

/* ----------- Top Bar Mobile ----------- */
@media (max-width: 992px) {
    .top-bar .row {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .col-md-6 {
        width: 100%;
    }
    
    .top-bar .col-md-6.text-end {
        text-align: center !important;
        margin-top: 8px;
    }
    
    .top-info span {
        display: inline-block;
        margin: 3px 10px;
        font-size: 12px;
    }
}

/* ----------- Header Mobile ----------- */
@media (max-width: 992px) {
    .main-header {
        padding: 10px 0;
    }
    
    .main-header .row {
        flex-wrap: nowrap;
    }
    
    .main-header .col-md-4 {
        flex: 1;
        max-width: 100%;
    }
    
    .main-header .col-md-8 {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 8px 0;
    }
}

/* ----------- Page Header Mobile ----------- */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header .lead {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header .lead {
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

/* ----------- Footer Mobile ----------- */
@media (max-width: 992px) {
    .main-footer {
        padding-top: 40px;
    }
    
    .footer-top {
        padding-bottom: 30px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-logo img {
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .footer-widget h3 {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-about {
        font-size: 14px;
    }
    
    .contact-info li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .main-footer .social-links {
        margin-top: 15px;
    }
    
    .main-footer .social-links a {
        font-size: 18px;
        margin-right: 15px;
    }
}

@media (max-width: 576px) {
    .footer-widget {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
        text-align: left;
        display: inline-flex;
        width: 100%;
    }
}

/* ----------- About Section Mobile ----------- */
.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-content {
        padding: 20px 0;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-image img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 1.5rem;
        text-align: center !important;
    }
    
    .about-content p {
        font-size: 14px;
    }
    
    .about-content .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    .about-image img {
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .about-content h2 {
        font-size: 1.3rem;
    }
    
    .about-image img {
        max-height: 200px;
        border-radius: 8px;
    }
}

/* ----------- Mission Vision Box Mobile ----------- */
.mission-vision-box {
    height: 100%;
}

@media (max-width: 768px) {
    .mission-vision-box {
        padding: 20px !important;
    }
    
    .mission-vision-box h3 {
        font-size: 1.2rem;
    }
    
    .mission-vision-box p {
        font-size: 14px;
    }
}

/* ----------- Value Card Mobile ----------- */
@media (max-width: 768px) {
    .value-card {
        padding: 20px !important;
        margin-bottom: 15px;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 14px;
    }
}

/* ----------- Product Cards Mobile ----------- */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 15px;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-card-body {
        padding: 15px;
    }
    
    .product-card-title {
        font-size: 16px;
    }
    
    .product-card-text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .product-card .btn {
        width: 100%;
        padding: 10px 15px;
    }
    
    .category-card .product-image {
        height: 160px;
    }
}

/* ----------- Sidebar Mobile ----------- */
.sidebar-widget {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    background: white;
    border-radius: 5px;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .sidebar-widget {
        margin-bottom: 30px;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-list li {
        flex: 1 1 calc(50% - 10px);
        margin-bottom: 0;
    }
    
    .category-list a {
        text-align: center;
        padding: 12px 10px;
    }
    
    .category-list a:hover,
    .category-list a.active {
        transform: none;
    }
}

@media (max-width: 576px) {
    .category-list li {
        flex: 1 1 100%;
    }
}

/* ----------- Contact Page Mobile ----------- */
.contact-info-card {
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details p {
    margin: 0;
    font-size: 14px;
    color: var(--dark-gray);
}

.contact-details a {
    color: var(--dark-gray);
}

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

@media (max-width: 992px) {
    .contact-info-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 20px !important;
    }
    
    .contact-info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 20px !important;
    }
    
    .contact-item {
        margin-bottom: 20px !important;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
}

/* ----------- Contact Form Mobile ----------- */
@media (max-width: 768px) {
    .contact-form .form-label {
        font-size: 14px;
    }
    
    .contact-form .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-form textarea.form-control {
        min-height: 120px;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ----------- Feature Boxes Mobile ----------- */
@media (max-width: 768px) {
    .feature-box {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    
    .feature-box h4 {
        font-size: 16px;
        margin: 12px 0 8px;
    }
    
    .feature-box p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .feature-box {
        padding: 18px 12px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .feature-box h4 {
        font-size: 15px;
    }
    
    .feature-box p {
        font-size: 12px;
    }
}

/* ----------- CTA Section Mobile ----------- */
@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .cta-subtitle {
        font-size: 13px;
    }
}

/* ----------- General Mobile Utilities ----------- */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .text-justify {
        text-align: left !important;
    }
    
    .section-title {
        padding: 0 10px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    /* Hide elements on mobile */
    .d-mobile-none {
        display: none !important;
    }
    
    /* Show elements only on mobile */
    .d-mobile-block {
        display: block !important;
    }
    
    /* Alert styling */
    .alert {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    /* Table responsiveness */
    .table-responsive {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .section-title p {
        font-size: 13px;
    }
    
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .row > * {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    
    p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ----------- WhatsApp & Back to Top Mobile ----------- */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
    }
    
    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 65px;
        right: 12px;
        font-size: 16px;
    }
}

/* ----------- Awards & Case Studies Mobile ----------- */
@media (max-width: 768px) {
    .awards-section .card,
    .case-study-card {
        margin-bottom: 20px;
    }
    
    .awards-section .card img,
    .case-study-card img {
        height: 180px;
        object-fit: cover;
    }
    
    .awards-section .card-body,
    .case-study-card .card-body {
        padding: 15px;
    }
    
    .awards-section .card-title,
    .case-study-card .card-title {
        font-size: 1rem;
    }
}

/* ----------- Projects Page Mobile ----------- */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-card img {
        height: 200px;
        object-fit: cover;
    }
    
    .project-card .card-body {
        padding: 15px;
    }
}

/* ----------- Product Detail Mobile ----------- */
@media (max-width: 768px) {
    .product-detail-image {
        max-height: 300px;
        margin-bottom: 20px;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-description {
        font-size: 14px;
    }
    
    .product-specifications table td,
    .product-specifications table th {
        padding: 10px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .product-detail-image {
        max-height: 250px;
    }
    
    .product-detail-title {
        font-size: 1.3rem;
    }
}

/* ----------- Breadcrumb Mobile ----------- */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
}

/* ----------- Pagination Mobile ----------- */
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ----------- Cards General Mobile ----------- */
@media (max-width: 576px) {
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 13px;
    }
}

/* ----------- Form Controls Mobile ----------- */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group .btn {
        margin-top: 10px;
        width: 100%;
    }
}

/* ----------- Modal Mobile ----------- */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .modal-footer .btn {
        flex: 1;
    }
}

/* ============ PAGE-SPECIFIC RESPONSIVE STYLES ============ */

/* ----------- Projects Page Mobile ----------- */
.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.project-client {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 14px;
}

.project-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-date {
    color: var(--dark-gray);
    font-size: 14px;
}

@media (max-width: 768px) {
    .project-image img {
        height: 200px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-content {
        padding: 20px !important;
    }
    
    .project-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .project-image img {
        height: 180px;
    }
    
    .project-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .project-content {
        padding: 15px !important;
    }
    
    .project-client,
    .project-date {
        font-size: 13px;
    }
    
    .project-description {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* ----------- Awards Page Mobile ----------- */
.award-card {
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.award-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.award-title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.award-description {
    color: var(--dark-gray);
    line-height: 1.6;
}

.certification-card {
    transition: all 0.3s ease;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .award-card {
        padding: 20px !important;
    }
    
    .award-image img {
        max-height: 150px;
    }
    
    .award-icon i {
        font-size: 2.5rem !important;
    }
    
    .award-title {
        font-size: 18px;
    }
    
    .award-description {
        font-size: 14px;
    }
    
    .certification-card {
        padding: 20px !important;
    }
    
    .certification-card h4 {
        font-size: 16px;
    }
    
    .certification-card p {
        font-size: 13px;
    }
    
    .cert-icon i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .award-card {
        padding: 15px !important;
        margin-bottom: 15px;
    }
    
    .award-image img {
        max-height: 120px;
    }
    
    .award-icon i {
        font-size: 2rem !important;
    }
    
    .award-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .award-description {
        font-size: 13px;
    }
    
    .certification-card {
        padding: 15px !important;
    }
    
    .certification-card h4 {
        font-size: 15px;
    }
}

/* ----------- Case Studies Page Mobile ----------- */
.case-study-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-study-header img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-study-title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-section {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.case-section h5 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.case-section p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .case-study-header img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .case-study-header img {
        height: 200px;
    }
    
    .case-study-body {
        padding: 20px !important;
    }
    
    .case-study-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .case-study-meta .badge {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .case-section {
        padding: 12px;
        margin-bottom: 10px !important;
    }
    
    .case-section h5 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .case-section p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .case-study-header img {
        height: 180px;
    }
    
    .case-study-body {
        padding: 15px !important;
    }
    
    .case-study-title {
        font-size: 16px;
    }
    
    .case-study-meta {
        gap: 5px;
    }
    
    .case-study-meta .badge {
        font-size: 10px;
    }
    
    .case-section {
        padding: 10px;
    }
    
    .case-section h5 {
        font-size: 13px;
    }
    
    .case-section p {
        font-size: 12px;
    }
}

/* ----------- Product Detail Page Mobile ----------- */
.product-detail-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.product-gallery-thumbnails img {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-gallery-thumbnails img:hover {
    opacity: 0.8;
    border-color: var(--secondary-color);
}

.product-description,
.specifications-section,
.features-section {
    line-height: 1.8;
}

.product-description ul,
.specifications-section ul,
.features-section ul {
    padding-left: 20px;
}

.product-description li,
.specifications-section li,
.features-section li {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .product-detail-image img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail-image img {
        max-height: 350px;
        margin-bottom: 20px;
    }
    
    .product-gallery-thumbnails .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .product-gallery-thumbnails img {
        height: 60px;
        object-fit: cover;
    }
    
    .product-detail-image + .col-lg-6 h1 {
        font-size: 1.5rem;
    }
    
    .product-description,
    .specifications-section,
    .features-section {
        font-size: 14px;
    }
    
    .product-description h5,
    .specifications-section h5,
    .features-section h5 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .product-detail-image img {
        max-height: 280px;
    }
    
    .product-gallery-thumbnails img {
        height: 50px;
    }
    
    .product-detail-image + .col-lg-6 h1 {
        font-size: 1.3rem;
    }
    
    .product-detail-image + .col-lg-6 .lead {
        font-size: 14px;
    }
    
    .product-description,
    .specifications-section,
    .features-section {
        font-size: 13px;
    }
    
    .product-description h5,
    .specifications-section h5,
    .features-section h5 {
        font-size: 15px;
    }
    
    /* Action buttons stack on mobile */
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .d-flex.gap-2 .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ----------- About Page Stats Mobile ----------- */
.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stat-item {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 30px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

/* ----------- Value Cards Mobile ----------- */
.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 68, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .value-card {
        padding: 20px !important;
    }
    
    .value-card h4 {
        font-size: 16px;
    }
    
    .value-card p {
        font-size: 14px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .value-card {
        padding: 15px !important;
        margin-bottom: 10px;
    }
    
    .value-card h4 {
        font-size: 15px;
    }
    
    .value-card p {
        font-size: 13px;
    }
    
    .value-icon {
        width: 45px;
        height: 45px;
    }
}

/* ----------- Mission Vision Box Mobile ----------- */
.mission-vision-box {
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .mission-vision-box {
        padding: 20px !important;
        margin-bottom: 15px;
    }
    
    .mission-vision-box h3 {
        font-size: 1.2rem;
    }
    
    .mission-vision-box p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .mission-vision-box {
        padding: 15px !important;
        border-left-width: 3px;
    }
    
    .mission-vision-box h3 {
        font-size: 1.1rem;
    }
    
    .mission-vision-box h3 i {
        font-size: 1rem;
    }
    
    .mission-vision-box p {
        font-size: 13px;
    }
}

/* ----------- Contact Page Map Mobile ----------- */
.map-container {
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .map-container iframe {
        height: 250px;
    }
}

/* ----------- Contact Form Card Mobile ----------- */
.contact-form-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 20px !important;
    }
    
    .contact-form-card h3 {
        font-size: 1.3rem;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    .contact-form-card {
        padding: 15px !important;
    }
    
    .contact-form-card h3 {
        font-size: 1.2rem;
    }
}

/* ----------- Products Page Grid Mobile ----------- */
@media (max-width: 768px) {
    .products-section .product-card img {
        height: 150px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .products-section .product-card img {
        height: 130px;
    }
    
    .products-section .product-card-body {
        padding: 12px;
    }
    
    .products-section .badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ----------- Breadcrumb Mobile ----------- */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-bottom: 15px;
    }
    
    .breadcrumb-item {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-item {
        font-size: 12px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
}

/* ----------- Alert Boxes Mobile ----------- */
.alert {
    border-radius: 8px;
}

.alert h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.alert p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .alert {
        padding: 15px;
    }
    
    .alert h4 {
        font-size: 1.1rem;
    }
    
    .alert p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .alert {
        padding: 12px;
    }
    
    .alert h4 {
        font-size: 1rem;
    }
    
    .alert p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .alert .btn {
        width: 100%;
    }
}

/* ----------- Lead Text Mobile ----------- */
@media (max-width: 768px) {
    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .lead {
        font-size: 0.9rem;
    }
}

/* ----------- Badge Mobile ----------- */
@media (max-width: 576px) {
    .badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* ----------- Text Utilities Mobile ----------- */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
    
    .mb-mobile-3 {
        margin-bottom: 1rem !important;
    }
    
    .mb-mobile-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* ----------- Image Responsiveness ----------- */
.img-fluid {
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .about-image img {
        max-height: 200px;
        object-fit: cover;
    }
}