/* ==========================================
   Modern Company Website - Custom CSS
   ========================================== */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==================== Global Styles ==================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white-color: #ffffff;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
    --topbar-bg: #1f2937;
    --navbar-bg: #ffffff;
    --footer-bg: #1f2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.3px;
    background-color: #f9fafb;
     /* topbar (40px) + navbar (55px approximately) */
}

/* Global Card Text Handling */
[class*="-card"] {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

[class*="-card"] h1,
[class*="-card"] h2,
[class*="-card"] h3,
[class*="-card"] h4,
[class*="-card"] h5,
[class*="-card"] h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

[class*="-card"] p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Container max-width setting */
.container {
    max-width: 1200px !important;
}

/* Section spacing to prevent overlap */
section {
    padding: 60px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

section .container {
    position: relative;
    z-index: 2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Link styling - Only apply to content area links */
.section-title a,
.intro-content a,
.post-content a,
.blog-content a,
.article-content a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.section-title a:hover,
.intro-content a:hover,
.post-content a:hover,
.blog-content a:hover,
.article-content a:hover {
    color: var(--accent-color);
}

/* Footer links should be white */
.footer a:not(.btn):not(.social-icon) {
    color: var(--white-color) !important;
    font-weight: 400;
}

.footer a:not(.btn):not(.social-icon):hover {
    color: var(--accent-color) !important;
}

.footer a:not(.btn):not(.nav-link):not(.navbar-brand):hover {
    color: var(--accent-color) !important;
}

/* Small text */
small {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Strong and bold text */
strong, b {
    font-weight: 600;
    color: #1f2937;
}

/* Em and italic text */
em, i:not([class]) {
    font-style: italic;
    color: #475569;
}

ul {
    list-style: none;
}

/* Content list items */
.intro-content ul li,
.service-card ul li,
section ul li {
    color: #475569;
    font-size: 16px;
    line-height: 2;
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.intro-content ul li::before,
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #ea661f;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 38px;
    font-weight: 700;
}

h3 {
    font-size: 30px;
    font-weight: 600;
}

h4 {
    font-size: 24px;
    font-weight: 600;
}

h5 {
    font-size: 20px;
    font-weight: 600;
}

h6 {
    font-size: 16px;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #f7f7f7 !important;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better paragraph spacing in sections */
section p {
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

/* Lead paragraphs (first paragraph in sections) */
.intro-content p:first-of-type,
.section-title + p {
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
    font-weight: 400;
}

/* ==================== Topbar ==================== */
.topbar {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 8px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

.topbar.hidden {
    transform: translateY(-100%);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white-color) !important;
}

.topbar-item i {
    color: var(--accent-color) !important;
    font-size: 13px !important;
}

.topbar-item span {
    color: var(--white-color) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.topbar-link {
    color: var(--white-color) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.topbar-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

.topbar-right {
    display: flex;
    gap: 15px;
}

/* Social Icons - Protected Styles */
.topbar .social-icon,
.footer .social-icon,
.contact-social-links a {
    color: var(--white-color) !important;
    font-size: 16px !important;
    transition: var(--transition) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.topbar .social-icon:hover,
.footer .social-icon:hover,
.contact-social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

.topbar .social-icon i,
.footer .social-icon i,
.contact-social-links a i {
    color: inherit !important;
}

/* ==================== Navbar ==================== */

.navbar {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: fixed !important;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 999;
    transition: top 0.3s ease-in-out;
}

.navbar.topbar-hidden {
    top: 0;
}

.navbar-brand {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    letter-spacing: 0.5px !important;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.navbar-brand img {
    height: 46px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 46px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Header Cart in Navbar - Protected Styles */
.header-cart {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: 10px !important;
    order: 2 !important;
}

.header-cart-link {
    position: relative !important;
    color: #000000 !important;
    font-size: 20px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    background: rgb(17, 134, 230) !important;
    border-radius: 8px !important;
    width: 42px !important;
    height: 42px !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.header-cart-link:hover {
    color: var(--white-color) !important;
    background: #000000 !important;
    transform: scale(1.1) !important;
}

.header-cart-link i {
    color: inherit !important;
}

.header-cart-link .cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: var(--accent-color) !important;
    color: var(--white-color) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 3px 6px !important;
    border-radius: 50% !important;
    min-width: 22px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4) !important;
}

.header-cart-link:hover .cart-count {
    background: var(--white-color) !important;
    color: var(--primary-color) !important;
}

/* Navbar Container Flex Layout */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.navbar-brand {
    order: 1 !important;
}

.navbar-toggler {
    order: 3 !important;
}

.navbar-collapse {
    order: 4 !important;
    flex-basis: 100% !important;
}

/* Desktop View - Cart on Same Line as Links */
@media (min-width: 992px) {
    .header-cart {
        order: 3 !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
    }
    
    .navbar-collapse {
        flex-basis: auto !important;
        order: 2 !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

/* Mobile View */
@media (max-width: 991px) {
    .header-cart {
        order: 2 !important;
        margin-right: 10px !important;
    }
    
    .header-cart-link {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

/* Navigation Links - Protected Styles */
.navbar-nav .nav-link {
    color: #1f2937 !important;
    font-weight: 500 !important;
    padding: 8px 15px !important;
    position: relative;
    transition: var(--transition) !important;
    letter-spacing: 0.3px;
    font-size: 14px !important;
    text-decoration: none !important;
}

.navbar-nav .nav-link.dropdown-toggle {
    color: #1f2937 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--accent-color) !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 5px;
    min-width: 220px;
    background: #ffffff !important;
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    color: #1f2937 !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
    background: #ffffff !important;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding-left: 25px;
}

.navbar-nav .dropdown-item:active {
    background: var(--secondary-color) !important;
    color: #ffffff !important;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 0.15em;
    border-width: 0.25em;
    color: #1f2937;
}

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .dropdown-menu {
        margin-top: 0;
        animation: fadeInDown 0.3s ease;
    }
    
    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-nav .nav-link.dropdown-toggle::after {
        margin-left: auto;
        transition: transform 0.3s ease;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }
    
    .navbar-nav .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .navbar-nav .nav-link.dropdown-toggle {
        position: relative;
    }
    
    .navbar-nav .nav-link.dropdown-toggle:active,
    .navbar-nav .nav-link.dropdown-toggle:focus {
        background: rgba(37, 99, 235, 0.05);
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: #ffffff !important;
        padding: 0;
        margin: 0;
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        border-radius: 0;
        display: none;
        overflow: hidden;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
        animation: slideDown 0.2s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 15px 10px 30px;
        font-size: 13px;
        white-space: normal;
        word-wrap: break-word;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        background: #ffffff !important;
        color: #1f2937 !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background: var(--primary-color) !important;
        color: #ffffff !important;
        padding-left: 35px;
    }
    
    .navbar-nav .dropdown-item:active {
        background: var(--secondary-color) !important;
        color: #ffffff !important;
    }
    
    /* Touch-friendly mobile items */
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
        cursor: pointer;
    }
    
    /* Fix mobile menu overflow */
    .navbar-collapse {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        margin-top: 10px;
    }
    
    .navbar-collapse.show {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        background: var(--white-color);
        padding: 0;
        border-radius: 8px;
    }
    
    /* Smooth scrolling for mobile menu */
    .navbar-collapse {
        -webkit-overflow-scrolling: touch;
    }
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    position: relative;
    height: 600px;
    margin-bottom: 0;
}

.carousel-item {
    height: 600px;
    position: relative;
}

/* Remove extra padding from sections */
section[style*="padding: 20px 0"] {
    padding: 0 0 !important;
    margin-bottom: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
    color: white !important;
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
    color: white !important;
}

/* Button Styles - Protected */
.btn-primary {
    background: var(--primary-color) !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    font-family: 'Poppins', sans-serif !important;
    color: var(--white-color) !important;
    text-decoration: none !important;
}

.btn-primary:hover {
    background: var(--secondary-color) !important;
    color: var(--white-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--white-color) !important;
    color: var(--white-color) !important;
    padding: 12px 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    border-radius: 5px !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
}

.btn-outline:hover {
    background: var(--white-color) !important;
    color: var(--primary-color) !important;
}

/* ==================== Section Styles ==================== */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: #f9fafb;
    margin-bottom: 0;
}

.page-header .container {
    background-size: cover;
    background-position: center;
    padding: 60px 30px;
    border-radius: 10px;
    color: white;
    margin-top: 50px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white !important;
}

.page-header p {
    font-size: 18px;
    color: white !important;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: bold;
    color: var(--dark-color) !important;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-title p {
    color: #64748b !important;
    margin-top: 15px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Company Intro ==================== */
.company-intro {
    background: #f9fafb;
    padding: 60px 0;
    position: relative;
    margin-bottom: 0;
}

.company-intro .container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.company-intro .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.company-intro .container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.intro-content h3 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--dark-color) !important;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.intro-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.intro-content p {
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.8;
    font-weight: 400;
    color: #475569 !important;
    letter-spacing: 0.3px;
}

.intro-content p.lead {
    font-size: 19px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.intro-content p strong {
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    padding: 2px 6px;
    border-radius: 3px;
}

.intro-content p a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    transition: var(--transition);
    padding-bottom: 2px;
}

.intro-content p a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.intro-image-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    flex: 1;
}

.intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.intro-image:hover::before {
    opacity: 1;
}

.intro-image img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: var(--transition);
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Intro Stats Boxes */
.intro-stats {
    display: flex;
    gap: 15px;
}

.stat-box {
    flex: 1;
    background: var(--white-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
    flex-shrink: 0;
}

.stat-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

.stat-info p {
    font-size: 13px;
    color: #64748b;
    margin: 3px 0 0 0;
    line-height: 1.2;
}

/* Intro Highlight Box */
.intro-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 25px 0;
}

.intro-highlight h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-highlight h5 i {
    color: var(--accent-color);
    font-size: 20px;
}

.intro-highlight p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* Intro CTA */
.intro-cta {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.intro-cta p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.intro-cta .btn {
    margin-top: 5px;
}

.intro-cta .btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.intro-cta .btn:hover i {
    transform: translateX(5px);
}

/* ==================== Services ==================== */
.services-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.services-section .row {
    row-gap: 30px;
}

.services-section .container {
    padding: 0 15px;
}

/* Service Cards - Protected Styles */
.service-card {
    background: var(--white-color) !important;
    padding: 30px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;
    transition: var(--transition) !important;
    margin-bottom: 30px !important;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    word-wrap: break-word;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.service-icon {
    width: 80px !important;
    height: 80px !important;
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    font-size: 32px !important;
    transition: var(--transition) !important;
}

.service-icon i {
    color: var(--white-color) !important;
}

.service-card:hover .service-icon {
    background: var(--accent-color) !important;
    transform: rotate(360deg) !important;
}

.service-card h4 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
    color: var(--dark-color) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: #64748b !important;
    margin-bottom: 20px !important;
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

/* Service Detail Cards */
.service-card.service-detail {
    text-align: left;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    overflow: hidden;
}

.service-card.service-detail .service-icon {
    margin: 0 0 12px 0;
    flex-shrink: 0;
}

.service-card.service-detail h4 {
    text-align: left;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.service-card.service-detail p {
    text-align: left;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.service-card.service-detail ul {
    text-align: left;
    padding-left: 0;
    margin-bottom: 8px;
    margin-top: 8px;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.service-card.service-detail ul li {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    padding-left: 25px;
    color: #475569;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    list-style: none;
}

.service-card.service-detail ul li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

.service-card.service-detail .btn {
    margin-top: 10px;
    align-self: flex-start;
    flex-shrink: 0;
}

.btn-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.btn-link:hover {
    color: var(--accent-color) !important;
}

/* ==================== Products ==================== */
.products-section {
    background: #f9fafb;
    padding: 60px 0;
    margin-bottom: 0;
}

.products-section .container {
    background: transparent;
    padding: 0 15px;
}

.products-section .row {
    row-gap: 30px;
}

.product-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-btn {
    color: var(--white-color);
    font-size: 24px;
    margin: 0 10px;
    transition: var(--transition);
}

.product-overlay-btn:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Product Card Link - Protected */
.product-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    flex: 1;
    font-weight: 400 !important;
}

.product-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.product-info {
    padding: 15px 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-color) !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 47px;
}

.product-info p {
    color: #64748b !important;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    min-height: 42px;
}

/* Product Actions */
.product-actions {
    padding: 0 20px 15px;
    margin-top: 0;
}

.btn-add-cart {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-add-cart i {
    font-size: 16px;
}

.product-price {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    margin-bottom: 0;
    margin-top: 10px;
}

/* ==================== Projects ==================== */
.projects-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.projects-section .container {
    padding: 0 15px;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

/* Project Detail Page */
.project-detail-image {
    position: relative;
}

.project-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-detail-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.project-meta {
    padding: 20px;
    background: var(--light-color);
    border-radius: 8px;
    margin-bottom: 25px;
}

.project-description h4,
.project-services h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-highlights {
    margin-top: 25px;
}

@media (max-width: 768px) {
    .project-detail-info {
        padding: 20px;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 15px !important;
    }
}

.filter-btn {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    color: var(--dark-color);
    padding: 10px 25px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 300px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: var(--white-color) !important;
    font-size: 24px !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.project-overlay p {
    color: var(--white-color) !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* ==================== Testimonials ==================== */
.testimonials-section {
    background: #f9fafb;
    padding: 60px 0;
    margin-bottom: 0;
}

.testimonials-section .container {
    background: transparent;
    padding: 40px 30px;
    border-radius: 10px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    margin: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: #475569 !important;
    margin-bottom: 20px;
    font-size: 16.5px;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: relative;
    padding-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: var(--accent-color);
    opacity: 0.3;
    font-style: normal;
    font-weight: 700;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color) !important;
    font-size: 17px;
    letter-spacing: 0.3px;
}

.testimonial-position {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--accent-color) !important;
}

/* ==================== Clients Logo ==================== */
.clients-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.clients-section .container {
    background: transparent;
    padding: 40px 30px;
    border-radius: 10px;
}

.client-logo {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ==================== Stats Counter ==================== */
.stats-section {
    background: #f9fafb;
    color: var(--white-color);
    padding: 60px 0;
    margin-bottom: 0;
}

.stats-section .container {
    background: linear-gradient(115deg, #12063b, #09555c);
    padding: 50px 30px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    color: var(--white-color) !important;
}

.stat-label {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--white-color) !important;
}

/* ==================== Timeline & Business Scope ==================== */
.timeline-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.timeline-section .container {
    background: #f3f4f6;
    padding: 50px 30px;
    border-radius: 10px;
}

/* Business Scope Cards */
.timeline-section .service-card {
    height: 100%;
}

.timeline-section .service-card.scope-mechanical {
    border-left: 4px solid #2563eb;
}

.timeline-section .service-card.scope-electrical {
    border-left: 4px solid #f59e0b;
}

.timeline-section .service-card.scope-civil {
    border-left: 4px solid #10b981;
}

.timeline-section .service-card.scope-supply {
    border-left: 4px solid #8b5cf6;
}

.timeline-section .service-icon.icon-mechanical {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.timeline-section .service-icon.icon-electrical {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.timeline-section .service-icon.icon-civil {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.timeline-section .service-icon.icon-supply {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.timeline-section h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.timeline-section .scope-mechanical h4 {
    color: #2563eb;
}

.timeline-section .scope-electrical h4 {
    color: #f59e0b;
}

.timeline-section .scope-civil h4 {
    color: #10b981;
}

.timeline-section .scope-supply h4 {
    color: #8b5cf6;
}

.timeline-section ul {
    text-align: left;
    padding-left: 20px;
    color: #4b5563;
    line-height: 2;
}

.timeline-section ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.timeline-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: inherit;
    font-weight: 700;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-date {
    position: absolute;
    top: 20px;
    width: 80px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -40px;
}

/* ==================== Team & Partners ==================== */
.team-section .service-card {
    text-align: center;
    min-height: 220px;
}

.team-section .service-card h5 {
    color: #2563eb;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.team-section .service-card p {
    color: #6b7280;
    line-height: 1.6;
}

.team-section .service-card small {
    color: #9ca3af;
}

.team-section .service-icon.icon-partner-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-section .service-icon.icon-partner-2 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.team-section .service-icon.icon-partner-3 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.team-section .service-icon.icon-partner-4 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-section .service-icon.icon-partner-5 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.team-section .service-icon.icon-partner-6 {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.team-section .service-icon.icon-partner-7 {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.team-section .service-icon.icon-partner-8 {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.team-section .service-icon.icon-partner-9 {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.team-section .service-icon.icon-partner-10 {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(37, 99, 235, 0.95);
    padding: 15px;
    transition: var(--transition);
}

.team-member:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--white-color);
    margin: 0 10px;
    font-size: 18px;
}

.team-social a:hover {
    color: var(--accent-color);
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.team-position {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ==================== Contact Form ==================== */
.contact-section {
    background: #f9fafb;
    padding: 60px 0;
    margin-bottom: 0;
}

.contact-section .container {
    background: transparent;
    padding: 40px 30px;
    border-radius: 10px;
}

.contact-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.contact-info h4 {
    color: #1f2937;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

.contact-info h5 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.contact-info p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

/* Social Media Icons on Contact Page */
.contact-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    color: white;
    flex-shrink: 0;
}

.contact-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-form {
    background: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h4 {
    color: #1f2937;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #475569;
    font-weight: 400;
    letter-spacing: 0.2px;
    border-radius: 5px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    line-height: 1.8;
}

/* Form labels */
label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 15px;
    letter-spacing: 0.3px;
}

/* Placeholder text */
::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
    font-size: 14px;
}

:-ms-input-placeholder {
    color: #94a3b8;
}

::-ms-input-placeholder {
    color: #94a3b8;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-section {
    padding: 60px 0;
    margin-bottom: 0;
}

/* Fix for inline styled sections */
section[style*="padding"] {
    margin-bottom: 0 !important;
}

section[style*="padding"] .container[style*="padding"] {
    box-sizing: border-box;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer h5 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer p {
    color: var(--white-color) !important;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
}

.footer p i {
    color: var(--white-color) !important;
    margin-right: 8px;
}

.footer p strong {
    color: var(--white-color) !important;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    margin-top: 10px;
}

.footer p:first-of-type strong {
    margin-top: 0;
}

.footer ul {
    padding-left: 0;
    margin-bottom: 0;
}

.footer ul li {
    margin-bottom: 8px;
    list-style: none;
}

.footer ul li:last-child {
    margin-bottom: 0;
}

.footer ul li a {
    color: var(--white-color) !important;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.6;
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: var(--white-color);
}

.footer-bottom p {
    color: var(--white-color) !important;
}

.footer-bottom a {
    color: var(--accent-color) !important;
}

/* ==================== Back to Top - Protected Styles ==================== */
#backToTop {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--accent-color) !important;
    color: var(--white-color) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    z-index: 999 !important;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4) !important;
}

#backToTop:hover {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5) !important;
}

#backToTop i {
    color: var(--white-color) !important;
    font-size: 20px !important;
}

/* ==================== WhatsApp Button - Protected Styles ==================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25d366 !important;
    color: var(--white-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
    z-index: 999 !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.whatsapp-float:hover {
    background: #128c7e !important;
    color: var(--white-color) !important;
    transform: scale(1.1) !important;
}

.whatsapp-float i {
    color: var(--white-color) !important;
}

/* ==================== Animations ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s;
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    body {
        padding-top: 90px; /* Proper padding for tablet/mobile */
    }
    
    .topbar {
        position: fixed;
        padding: 8px 0;
    }
    
    .topbar-content {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }
    
    .topbar-left {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .topbar-item {
        font-size: 11px;
    }
    
    .topbar-item span {
        display: inline-block;
    }
    
    .topbar-right {
        gap: 8px;
    }
    
    .social-icon {
        font-size: 13px;
    }
    
    .navbar {
        position: fixed;
        top: 40px;
        padding: 8px 0;
    }
    
    .navbar.topbar-hidden {
        top: 0;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .header-cart-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
    }
    
    .hero-slider,
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 32px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .company-intro {
        padding: 50px 0;
    }
    
    .company-intro .container {
        padding: 30px 20px;
    }
    
    .intro-content h3 {
        font-size: 28px;
    }
    
    .intro-content p.lead {
        font-size: 17px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .stat-info h4 {
        font-size: 16px;
    }
    
    .intro-image img {
        min-height: 300px;
    }
    
    .intro-highlight,
    .intro-cta {
        padding: 20px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px !important;
    }
    
    .timeline-date {
        left: 0 !important;
    }
    
    section {
        padding: 50px 0;
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    /* Adjust zoom for tablets */
    .zoom-lens {
        width: 120px !important;
        height: 120px !important;
    }
    
    .zoom-level-indicator {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 85px; /* Proper padding for mobile */
    }
    
    .topbar {
        position: fixed;
        font-size: 10px;
        padding: 6px 0;
    }
    
    .topbar-item {
        font-size: 10px;
    }
    
    .navbar {
        position: fixed;
        top: 36px;
        padding: 6px 0;
    }
    
    .navbar.topbar-hidden {
        top: 0;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .navbar-brand img {
        height: 36px;
    }
    
    .header-cart-link {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    /* Disable zoom lens on mobile but keep wheel zoom */
    .zoom-lens {
        display: none !important;
    }
    
    .main-image {
        cursor: default !important;
    }
    
    .thumbnail {
        min-width: 60px;
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .topbar-left {
        font-size: 12px;
    }
    
    .hero-slider,
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        display: none;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    section {
        padding: 40px 0;
        margin-bottom: 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header .container {
        padding: 40px 20px;
    }
    
    /* Card Responsive Fixes */
    .service-card,
    .product-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .service-card h4,
    .product-info h4 {
        font-size: 18px;
    }
    
    .service-card p,
    .product-info p {
        font-size: 14px;
    }
    
    .service-card.service-detail {
        padding: 20px;
    }
    
    .service-card.service-detail h4 {
        margin-bottom: 8px;
    }
    
    .service-card.service-detail p {
        margin-bottom: 6px;
        font-size: 14px;
    }
    
    .service-card.service-detail ul {
        max-height: 300px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    
    .service-card.service-detail ul li {
        font-size: 13px;
        margin-bottom: 3px;
        line-height: 1.4;
    }
    
    /* Mobile Navigation */
    .navbar-collapse.show {
        background: var(--white-color);
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        margin: 0;
    }
    
    .navbar-nav .nav-item:first-child .nav-link {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .navbar-nav .nav-item:last-child .nav-link,
    .navbar-nav .nav-item:last-child .dropdown-item:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 80px; /* Adjusted for very small screens */
    }
    
    .topbar {
        font-size: 9px;
        padding: 5px 0;
    }
    
    .topbar-left {
        gap: 6px;
    }
    
    .topbar-item {
        font-size: 9px;
    }
    
    .social-icon {
        font-size: 12px;
    }
    
    .navbar {
        padding: 6px 0;
        top: 32px;
    }
    
    .navbar-brand {
        font-size: 16px;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .footer-logo img {
        height: 38px;
    }
    
    .header-cart-link {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .carousel-caption h1 {
        font-size: 20px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .contact-social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .page-header .container {
        padding: 30px 20px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .company-intro,
    .services-section,
    .products-section,
    .projects-section,
    .stats-section,
    .testimonials-section,
    .contact-section {
        padding: 30px 0;
    }
    
    .company-intro .container,
    .services-section .container,
    .testimonials-section .container {
        padding: 20px 15px;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .topbar,
    .navbar,
    .footer,
    #backToTop,
    .whatsapp-float {
        display: none;
    }
}

/* ==================== E-Commerce Styles ==================== */

/* Cart Icon in Navbar */
/* Breadcrumb Section */
.breadcrumb-section {
    padding: 20px 0;
    background: #f9fafb;
}

.breadcrumb-section .container {
    background: var(--light-color);
    padding: 15px 20px;
    border-radius: 8px;
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.breadcrumb-item.active {
    color: #64748b !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Product Details Page */
.product-details-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.product-images {
    position: sticky;
    top: 130px;
    transition: top 0.3s ease;
}

.topbar-hidden .product-images,
body.topbar-hidden .product-images {
    top: 80px;
}

/* Main Image with Zoom */
.main-image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: crosshair;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease-out;
    transform-origin: center center;
    will-change: transform;
}

/* Zoom Lens - Rectangular Cursor */
.zoom-lens {
    position: absolute;
    border: 3px solid var(--primary-color);
    width: 150px;
    height: 150px;
    pointer-events: none;
    display: none;
    background: rgba(37, 99, 235, 0.15);
    z-index: 10;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(1px);
}

.main-image:hover .zoom-lens {
    display: block;
}

/* Zoom Level Indicator */
.zoom-level-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 11;
    display: none;
    pointer-events: none;
}

.main-image:hover .zoom-level-indicator {
    display: block;
}

/* Hide zoom result (not needed anymore) */
.zoom-result {
    display: none !important;
}

/* Thumbnail Slider */
.thumbnail-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumbnail-images-container {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

/* Thumbnail Navigation Buttons */
.thumbnail-nav {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--dark-color);
}

.thumbnail-nav:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.thumbnail-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbnail-nav:disabled:hover {
    background: var(--white-color);
    color: var(--dark-color);
}

.thumbnail {
    min-width: 80px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-details-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-rating {
    margin-bottom: 20px;
}

.product-rating i {
    color: var(--accent-color);
}

.rating-count {
    color: var(--text-color);
    margin-left: 10px;
}

.product-price-detail {
    margin-bottom: 25px;
}

.current-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.old-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
}

.discount-badge {
    background: #dc2626;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 10px;
}

.product-description ul {
    list-style: none;
    padding: 0;
}

.product-description ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-description ul li i {
    position: absolute;
    left: 0;
    color: #10b981;
}

.product-options {
    margin: 30px 0;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.color-option:hover,
.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--white-color);
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin: 2px 0;
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    background: var(--white-color);
    border-radius: 5px;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-wishlist:hover,
.btn-wishlist.active {
    background: #dc2626;
    color: var(--white-color);
    border-color: #dc2626;
}

.product-meta {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0;
}

.meta-item {
    margin-bottom: 10px;
}

.meta-item a {
    color: var(--primary-color);
}

.in-stock {
    color: #10b981;
}

.product-guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guarantee-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.product-tabs {
    margin-top: 60px;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.product-tabs .nav-link {
    border: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 15px 25px;
    border-bottom: 3px solid transparent;
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.product-tabs .tab-content {
    padding: 40px;
    background: var(--light-color);
    border-radius: 10px;
    margin-top: -1px;
}

.review-item {
    padding: 20px;
    background: var(--white-color);
    border-radius: 10px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.review-rating i {
    color: var(--accent-color);
    font-size: 14px;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.related-products h3 {
    margin-bottom: 30px;
}

/* Shopping Cart Page */
.cart-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.section-heading {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.empty-cart-message {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-message i {
    font-size: 100px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.cart-table {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-table thead {
    background: var(--light-color);
}

.cart-table th {
    padding: 20px;
    font-weight: 600;
    border: none;
}

.cart-table td {
    padding: 20px;
    vertical-align: middle;
    font-size: 15px;
    color: #475569;
    letter-spacing: 0.2px;
    font-weight: 400;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-control .qty-input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px;
}

.cart-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.coupon-section {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    max-width: 100%;
}

.cart-summary {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 130px;
    transition: top 0.3s ease;
}

.topbar-hidden .cart-summary,
body.topbar-hidden .cart-summary {
    top: 80px;
}

.summary-item,
.total-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 20px;
}

.shipping-options {
    margin-top: 20px;
}

.shipping-options .form-check {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: var(--transition);
}

.shipping-options .form-check:hover {
    background: var(--light-color);
}

.payment-methods {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 32px;
    color: var(--text-color);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ecfdf5;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

.security-badge i {
    font-size: 32px;
    color: #10b981;
}

/* Checkout Page */
.checkout-progress {
    padding: 40px 0;
    background: var(--light-color);
    margin-bottom: 0;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
    transition: var(--transition);
}

.step-icon.active {
    background: var(--primary-color);
}

.step-icon.completed {
    background: #10b981;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 10px;
}

.progress-line.completed {
    background: #10b981;
}

.checkout-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.checkout-block {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkout-block h4 {
    margin-bottom: 25px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-option {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    background: var(--light-color);
}

.payment-option input:checked + label {
    color: var(--primary-color);
}

.payment-details {
    margin-top: 20px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 5px;
}

.order-summary {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 130px;
    transition: top 0.3s ease;
}

.topbar-hidden .order-summary,
body.topbar-hidden .order-summary {
    top: 80px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.checkout-item .item-details {
    flex: 1;
}

.order-totals {
    margin: 20px 0;
}

.total-amount {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.secure-payment {
    text-align: center;
    padding: 15px;
    background: #ecfdf5;
    border-radius: 5px;
    margin-top: 20px;
}

.secure-payment i {
    color: #10b981;
    margin-right: 10px;
}

.payment-methods-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 32px;
    color: var(--text-color);
}

/* Order Success Page */
.order-success-section {
    padding: 60px 0;
    background: #f9fafb;
    margin-bottom: 0;
}

.success-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    font-size: 100px;
    color: #10b981;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-content h1 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.order-info-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.order-info-box > div {
    text-align: center;
}

.confirmation-message {
    background: #ecfdf5;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    margin: 30px 0;
}

.confirmation-message i {
    font-size: 32px;
    color: #10b981;
    margin-right: 15px;
}

.next-steps {
    margin: 50px 0;
    text-align: center;
}

.step-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.order-details-section,
.ordered-items-section,
.payment-info-section {
    margin: 40px 0;
    text-align: left;
}

.detail-box {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
}

.order-items-table {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}

.order-items-table thead {
    background: var(--light-color);
}

.total-row {
    background: var(--light-color);
    font-size: 18px;
}

.payment-status {
    margin-top: 15px;
}

.action-buttons {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.customer-support {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

.customer-support i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.support-contacts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 120px;
    right: -300px;
    background: var(--white-color);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: right 0.3s ease, top 0.3s ease;
}

.cart-notification.topbar-hidden {
    top: 70px;
}

.cart-notification.show {
    right: 30px;
}

.cart-notification.success i {
    color: #10b981;
    font-size: 24px;
}

.cart-notification.info i {
    color: var(--primary-color);
    font-size: 24px;
}

/* Responsive E-Commerce Styles */
@media (max-width: 768px) {
    .product-details-info h1 {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cart-table {
        font-size: 14px;
    }
    
    .cart-item-product {
        flex-direction: column;
        text-align: center;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-line {
        width: 2px;
        height: 30px;
    }
    
    .order-info-box {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    /* Contact page responsive */
    .contact-info {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        margin-bottom: 20px;
        align-items: flex-start;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 17px;
    }
    
    .contact-info h5 {
        font-size: 15px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
}

/* ==================== Privacy Policy Page Styles ==================== */
.privacy-content {
    padding: 60px 0;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-section h2::before {
    content: '';
    width: 6px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 3px;
}

.privacy-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #374151;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-section p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section ul {
    padding-left: 30px;
    margin-bottom: 20px;
}

.privacy-section ul li {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 10px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e5e7eb;
}

.privacy-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.privacy-header .last-updated {
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
}

.privacy-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
}

.privacy-content .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.privacy-content .highlight-box p {
    margin: 0;
    color: #1e40af;
}

.privacy-content .contact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.privacy-content .contact-box h3 {
    color: white;
    margin-bottom: 20px;
}

.privacy-content .contact-box p {
    color: white;
    margin-bottom: 25px;
}

/* Quick Navigation - Privacy Policy Specific */
.privacy-content .quick-nav {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.privacy-content .quick-nav h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.privacy-content .quick-nav ul {
    list-style: none;
    padding: 0;
}

.privacy-content .quick-nav ul li {
    margin-bottom: 12px;
}

.privacy-content .quick-nav ul li a {
    color: #1f2937 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500 !important;
    font-size: 15px;
}

.privacy-content .quick-nav ul li a:hover {
    background: #f0f9ff !important;
    color: var(--primary-color) !important;
    padding-left: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.privacy-content .quick-nav ul li a.active {
    background: #f0f9ff !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.privacy-content .quick-nav ul li a i {
    font-size: 12px !important;
    color: inherit !important;
}

/* ==================== Order Success Page - Print Styles ==================== */
@media print {
    /* Hide everything except print content */
    .topbar,
    .navbar,
    .breadcrumb-section,
    .success-icon,
    .lead,
    .order-info-box,
    .confirmation-message,
    .next-steps,
    .order-details-section,
    .payment-info-section,
    .action-buttons,
    .customer-support,
    .newsletter-section,
    .footer,
    #backToTop,
    .whatsapp-float,
    body > section:not(.order-success-section),
    .no-print {
        display: none !important;
    }
    
    /* Show only ordered items for print */
    .order-success-section {
        padding: 20px 0 !important;
    }
    
    .success-content h1 {
        display: none !important;
    }
    
    /* Print header */
    .print-header {
        display: block !important;
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 3px solid #2563eb;
        padding-bottom: 20px;
    }
    
    .print-header img {
        max-height: 60px;
        margin-bottom: 10px;
    }
    
    .print-header h2 {
        color: #1f2937;
        margin: 10px 0 5px 0;
        font-size: 24px;
    }
    
    .print-header p {
        color: #6b7280;
        margin: 0;
        font-size: 14px;
    }
    
    /* Print order info */
    .print-order-info {
        display: flex !important;
        justify-content: space-between;
        margin-bottom: 30px;
        padding: 15px;
        background: #f9fafb;
        border-radius: 8px;
    }
    
    .print-order-info div {
        font-size: 14px;
    }
    
    .print-order-info strong {
        color: #1f2937;
    }
    
    /* Ordered items styling for print */
    .ordered-items-section {
        display: block !important;
    }
    
    .ordered-items-section h4 {
        color: #1f2937;
        font-size: 20px;
        margin-bottom: 20px;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 10px;
    }
    
    .order-items-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .order-items-table th {
        background: #f3f4f6;
        padding: 12px;
        text-align: left;
        font-weight: 600;
        color: #1f2937;
        border-bottom: 2px solid #2563eb;
    }
    
    .order-items-table td {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
        color: #4b5563;
    }
    
    .order-items-table tfoot tr {
        border-top: 2px solid #2563eb;
    }
    
    .order-items-table tfoot td {
        padding: 10px 12px;
        font-weight: 600;
    }
    
    .total-row td {
        font-size: 16px;
        color: #2563eb !important;
    }
    
    /* Print footer */
    .print-footer {
        display: block !important;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 2px solid #e5e7eb;
        text-align: center;
        font-size: 12px;
        color: #6b7280;
    }
    
    /* Remove box shadows and adjust colors for print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Hide print-only elements on screen */
@media screen {
    .print-header,
    .print-order-info,
    .print-footer {
        display: none;
    }
}

/* ==================== Component Isolation & Protection ==================== */
/* 
 * This section ensures all components maintain their specific styles
 * and prevents global CSS rules from overriding component-specific designs.
 * 
 * Strategy:
 * 1. All critical UI components use !important to prevent cascade overrides
 * 2. Icons inherit color from parent containers
 * 3. Links are scoped to specific contexts
 * 4. Each major component (navbar, footer, buttons, cards) is isolated
 * 
 * This prevents issues where changing one component's color
 * inadvertently affects other unrelated components.
 */

/* Protect all icon colors within specific components */
.topbar i,
.navbar i,
.footer i {
    color: white !important;
}

/* Protect all links within specific components */
.navbar a,
.topbar a,
.footer a {
    text-decoration: none !important;
}

/* Protect dropdown items */
.dropdown-menu .dropdown-item {
    color: #1f2937 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.dropdown-menu .dropdown-item:hover {
    color: #ffffff !important;
}

/* Ensure product info text colors are protected */
.product-info h4 {
    color: var(--dark-color) !important;
    min-height: 47px !important;
}

.product-info p {
    color: #64748b !important;
    min-height: 42px !important;
}

.product-info .product-price {
    color: var(--primary-color) !important;
    margin-top: 10px !important;
}

/* Protect testimonial text */
.testimonial-text {
    color: #4b5563 !important;
}

.testimonial-author {
    color: var(--dark-color) !important;
}

.testimonial-position {
    color: #6b7280 !important;
}

/* Protect section titles */
.section-title h2 {
    color: var(--dark-color) !important;
}

.section-title p {
    color: #6b7280 !important;
}

/* Protect footer headings and text */
.footer h5 {
    color: var(--white-color) !important;
}

.footer p {
    color: var(--white-color) !important;
}

.footer ul li a {
    color: var(--white-color) !important;
}

/* Protect breadcrumb */
.breadcrumb-item a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.breadcrumb-item.active {
    color: #6b7280 !important;
}

/* Protect form controls */
.form-control,
.form-select {
    color: #1f2937 !important;
    background: var(--white-color) !important;
}

/* Protect stat numbers and labels */
.stat-number {
    color: #f59e0b !important;
}

.stat-label {
    color: #ffffff !important;
}

/* Protect team member info */
.team-name {
    color: var(--dark-color) !important;
}

.team-position {
    color: #6b7280 !important;
}

/* Final override protection for critical UI elements */
.navbar-toggler-icon,
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none !important;
}


/* Main Content 1 */
.service-detail-content {
    padding: 80px 0;
    background: #f9fafb;
    top: 0px;
}

/* Main Content 2 - Overview Section */
.overview-section {
    margin-bottom: 50px;
}

/* Main Content 3 - Overview Image */
.overview-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* Main Content 4 - Overview Image Inner */
.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content 5 - Overview Heading */
.overview-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

/* Main Content 6 - Overview Paragraph */
.overview-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}


