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

:root {
    --primary-color: #36404b;
    --secondary-color: #00adef;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0;
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 12px;
    padding: 5px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
}

.welcome-text {
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    padding-left: 20px;
}

.top-bar-links {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 20px;
}

.top-bar-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 11px;
    text-transform: uppercase;
}

.top-bar-links a:hover {
    opacity: 0.9;
}

.main-nav-wrap {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    position: relative;
}

.logo {
    flex: 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    margin-left: auto;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-links > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links > a i {
    margin-left: 5px;
    font-size: 11px;
}

.nav-links > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links > a:hover::before,
.nav-links > a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--secondary-color);
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item .dropdown-toggle {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-item .dropdown-toggle i {
    margin-left: 5px;
    font-size: 11px;
}

.nav-item .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item .dropdown-toggle:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item .dropdown-toggle:hover {
    color: var(--secondary-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
    padding: 10px 0;

}

.dropdown-menu a {
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    transition: background-color 0.2s ease;
    position: relative;
}

.dropdown-menu a:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}


@media (min-width: 1090px) and (hover: hover) and (pointer: fine) {
    .nav-item:hover .dropdown-menu {
        display: block;
    }
}


@media (max-width: 1089px), (hover: none), (pointer: coarse) {
    /* .nav-item:hover .dropdown-menu { display: none !important; } removed */
    
    .nav-item .dropdown-toggle:hover::before {
        transform: none !important;
    }
    
    .nav-item .dropdown-toggle:hover {
        color: var(--text-color) !important;
    }
    
    .nav-links > a:hover::before {
        transform: none !important;
    }
    
    .nav-links > a:hover {
        color: var(--text-color) !important;
    }
    
    /* Disable ALL hover effects on touch devices */
    .feature-item:hover,
    .product-card:hover,
    .calculator-card:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
    
    .feature-item:hover i {
        transform: none !important;
    }
    
    .product-card:hover i {
        transform: none !important;
        color: inherit !important;
    }
    
    .calculator-card:hover i {
        transform: none !important;
    }
    
    .calculator-card:hover::before {
        transform: none !important;
    }
}


/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 75, 132, 0.9), rgba(26, 75, 132, 0.9)),
                url('../images/hero-bg.jpg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    border-bottom: 1px solid #ddd;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,173,239,0.03) 0%, rgba(54,64,75,0.03) 100%);
    z-index: 0;
}

.about-content {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.about-heading {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.about-heading .blue-line {
    width: 4px;
    height: 40px;
    background-color: var(--secondary-color);
    margin-right: 20px;
    border-radius: 2px;
}

.about-heading h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.about-heading .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.about-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.about-content p:last-of-type {
    margin-bottom: 30px;
}

.about-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

.about-button {
    margin-top: 0;
    text-align: right;
}

.about-button .btn-dark {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(54,64,75,0.2);
}

.about-button .btn-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,173,239,0.3);
}

/* About Features Styles */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item span {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
}

/* Products Section Styles */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.03) 0%, rgba(0, 61, 130, 0.03) 100%);
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 32px;
    font-weight: 600;
}

.product-slider {
    padding: 20px 0;
    position: relative;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

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

.product-card i {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card:hover i {
    transform: scale(1.1);
    color: #003d82;
}

.product-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Swiper Navigation Styles */
.product-slider .swiper-button-next,
.product-slider .swiper-button-prev {
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-slider .swiper-button-next:after,
.product-slider .swiper-button-prev:after {
    font-size: 18px;
    color: #0056b3;
}

.product-slider .swiper-button-next:hover,
.product-slider .swiper-button-prev:hover {
    background-color: #0056b3;
}

.product-slider .swiper-button-next:hover:after,
.product-slider .swiper-button-prev:hover:after {
    color: #ffffff;
}

/* Swiper Pagination Styles */
.product-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #0056b3;
    opacity: 0.5;
}

.product-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #0056b3;
}

/* Calculators Section */
.calculators {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.calculators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 173, 239, 0.03) 0%, rgba(54, 64, 75, 0.03) 100%);
    z-index: 0;
}

.calculators .container {
    position: relative;
    z-index: 1;
}

.calculators h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    position: relative;
}

.calculators h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.calculator-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.calculator-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.calculator-card:hover i {
    transform: scale(1.1);
}

.calculator-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.calculator-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 25px;
}

.calculator-card .btn-primary {
    padding: 10px 25px;
    font-size: 0.95rem;
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer Styles */
.footer {
    background: linear-gradient(rgba(54, 64, 75, 0.97), rgba(54, 64, 75, 0.97)),
                url('../images/hero-bg.jpg') center/cover;
    color: var(--white);
    padding: 50px 0 0px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,173,239,0.1) 0%, rgba(0,173,239,0) 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.contact-info-footer p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
}

.contact-info-footer p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 15px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 1px;
}

.contact-info-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.contact-info-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.contact-info-footer a:hover::after {
    width: 100%;
}

.terms-apply {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-style: italic;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--secondary-color);
}

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

.product-list-footer li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
}

.product-list-footer li:hover {
    color: var(--white);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.product-list-footer li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.product-list-footer li:hover i {
    transform: scale(1.2);
}

.footer-column:last-child {
    display: flex;
    flex-direction: column;
}

.footer-column:last-child a {
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-column:last-child a::before {
    content: '›';
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.footer-column:last-child a:hover {
    color: var(--white);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.footer-column:last-child a:hover::before {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.website-designer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.website-designer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.website-designer a:hover::after {
    width: 100%;
}

/* Banner Slider */
.banner-slider {
    width: 100%;
    height: 92vh;
    position: relative;
    overflow: hidden;
}

.banner-slider .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-slider .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.banner-slider .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

.banner-slider .swiper-slide-active img {
    transform: scale(1);
}

.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-slider .swiper-button-next:hover,
.banner-slider .swiper-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.banner-slider .swiper-button-next:after,
.banner-slider .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.banner-slider .swiper-pagination {
    bottom: 30px !important;
}

.banner-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.banner-slider .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
    transform: scale(1.2);
}

/* Banner Content Styles */
.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    width: 95%;
    padding: 30px 20px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
}

.banner-content .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.banner-content .btn-primary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    font-size: 1rem;
}

.banner-content .btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.banner-content .btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    font-size: 1rem;
}

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

/* RESPONSIVE STYLES */

/* Desktop Navigation Adjustments */
@media (max-width: 1200px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-links > a,
    .nav-item .dropdown-toggle {
        font-size: 12px;
    }
}

/* MOBILE NAVIGATION FIXES - CRITICAL FOR PREVENTING FLICKERING */
@media (max-width: 1089px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Header Mobile Styles */
    .top-bar {
        display: none;
    }

    .main-nav-wrap {
        padding: 10px 0;
    }

    .navbar {
        flex-direction: row;
        height: 60px;
        padding: 10px 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
        margin-right: 0;
        flex: 0 0 auto;
    }

    .logo img {
        height: 40px;
    }

    /* Hide desktop navigation and show mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 0 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
        margin: 0;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    /* Style for direct nav links (like Home, Products, etc.) */
    .nav-links > a {
        padding: 15px 25px;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
        font-size: 1rem;
        letter-spacing: 0.8px;
        text-decoration: none;
        color: var(--text-color);
    }

    /* Style for nav items with dropdowns */
    .nav-item {
        width: 100%;
        height: auto;
    }

    .nav-item .dropdown-toggle {
        padding: 15px 25px;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        letter-spacing: 0.8px;
        text-decoration: none;
        color: var(--text-color);
    }

    /* Hide the hover underline effect in mobile */
    .nav-links > a::before,
    .nav-item .dropdown-toggle::before {
        display: none;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown-toggle.active i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
        background: #f8f8f8;
        display: none;
    }

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

    .dropdown-menu a {
        padding: 12px 35px;
        font-size: 0.95rem;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .cta-buttons {
        display: none;
    }

    /* Banner Mobile Styles */
    .banner-slider {
        height: 60vh;
        margin-top: 0;
    }

    .banner-content {
        padding: 20px 15px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .banner-content .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .banner-content .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    /* About Section Mobile Styles */
    .about-section {
        padding: 50px 0;
    }

    .about-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .about-heading .blue-line {
        width: 40px;
        height: 4px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .about-heading h3 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .about-button {
        text-align: center;
        margin-top: 25px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-item span {
        font-size: 14px;
    }

    /* Products Section Mobile Styles */
    .products {
        padding: 50px 0;
    }

    .products h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .product-card {
        padding: 25px 20px;
        min-height: 200px;
    }

    .product-card i {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .product-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .product-card p {
        font-size: 14px;
    }

    /* Calculators Section Mobile Styles */
    .calculators {
        padding: 50px 0;
    }

    .calculators h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calculator-card {
        padding: 25px 20px;
    }

    /* Footer Mobile Styles */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .contact-info-footer p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .product-list-footer li {
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .footer-column:last-child a {
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .dropdown-menu {
        display: none !important;
    }
    .dropdown-menu.active {
        display: block !important;
    }
}

/* ADDITIONAL TOUCH DEVICE FIXES - REMOVED (handled above) */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 80px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column h4 {
        margin-bottom: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .product-list-footer li,
    .footer-column:last-child a {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        max-width: none;
    }

    .nav-links > a {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .nav-item .dropdown-toggle {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .dropdown-menu a {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    /* Banner Mobile Styles */
    .banner-slider {
        height: 50vh;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.85rem;
    }

    .banner-content .hero-buttons .btn {
        width: 100%;
    }

    /* About Section Mobile Styles */
    .about-section {
        padding: 40px 0;
    }

    .about-heading h3 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    /* Products Section Mobile Styles */
    .products {
        padding: 40px 0;
    }

    .products h2 {
        font-size: 1.5rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    /* Calculators Section Mobile Styles */
    .calculators {
        padding: 40px 0;
    }

    .calculators h2 {
        font-size: 1.5rem;
    }

    .calculator-card h3 {
        font-size: 1.1rem;
    }

    .calculator-card p {
        font-size: 0.9rem;
    }

    /* Footer Mobile Styles */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }

    .contact-info-footer p,
    .product-list-footer li,
    .footer-column:last-child a {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Add touch-friendly styles for mobile */

 @media (hover: none) {
    .nav-links > a:active,
    .nav-item .dropdown-toggle:active,
    .product-card:active,
    .calculator-card:active,
    .footer-column:last-child a:active {
        opacity: 0.7;
    }

    .btn:active {
        transform: scale(0.98);
    }
    
    
} 

/* Hero Section Responsive Fix for 740px and below */

/* Ensure hero content doesn't get cut off on tablets and mobile */
@media (max-width: 740px) {
    .banner-slider {
        height: 70vh;
        min-height: 480px;
        padding-top: 80px; /* Add top padding to prevent header overlap */
        padding-bottom: 20px; /* Minimal bottom padding */
    }

    .banner-content {
        padding: 30px 20px 25px; /* Top, sides, bottom padding */
        margin: 0; /* Remove margins to save space */
        max-width: 100%;
        width: 90%;
    }

    .banner-content h1 {
        font-size: 2rem;
        margin-bottom: 18px; /* Minimal gap */
        line-height: 1.2;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 22px; /* Minimal gap */
        line-height: 1.4;
    }

    .banner-content .hero-buttons {
        gap: 15px; /* Minimal gap between buttons */
        margin-bottom: 15px; /* Small bottom margin */
    }
}

/* Mobile phones - even more compact */
@media (max-width: 480px) {
    .banner-slider {
        height: 65vh;
        min-height: 450px;
        padding-top: 70px; /* Adjust for smaller header */
        padding-bottom: 15px;
    }

    .banner-content {
        padding: 25px 15px 20px;
        width: 95%;
    }

    .banner-content h1 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .banner-content .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 10px;
    }

    .banner-content .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
    }
}

/* Very small screens - ultra compact */
@media (max-width: 360px) {
    .banner-slider {
        height: 60vh;
        min-height: 420px;
        padding-top: 50px;
        padding-bottom: 10px;
    }

    .banner-content {
        padding: 20px 12px 15px;
    }

    .banner-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .banner-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .banner-content .hero-buttons {
        gap: 10px;
        margin-bottom: 8px;
    }

    .banner-content .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1089px) {
    .dropdown-menu {
        display: none !important;
    }
    .dropdown-menu.active {
        display: block !important;
    }
}