:root {
    --primary: #003366;
    --secondary: #00509E;
    --accent: #FF6B00;
    --light: #F5F7FA;
    --dark: #000000;
    --gray: #6C757D;
    --training-blue: #2C7BE5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: max-content;
    margin-right: 15px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 1000;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 80, 158, 0.9)), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #E55A00;
}

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

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

.btn-product {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
}

.btn-product:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Training Button Style - Blue Theme */
.btn-training {
    background-color: var(--training-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.btn-training:hover {
    background-color: #1A6BC7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Product Details Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.product-modal-content {
    background-color: white;
    margin: 50px auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-header {
    background-color: var(--primary);
    color: white;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-body {
    padding: 30px;
}

/* Product Navigation */
.product-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-nav-btn {
    background-color: var(--light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--dark);
}

.product-nav-btn:hover,
.product-nav-btn.active {
    background-color: var(--primary);
    color: white;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.product-image {
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.product-info h4 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-features {
    margin-top: 20px;
}

.product-features li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Product Cards Grid - Three Columns */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-cards-grid h4 {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.8rem;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-img img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-content p {
    font-size: 0.9rem;
    color: var(black);
    line-height: 1.5;
}

/* Main Page Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Training Service Card - Blue Theme */
.training-service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--training-blue);
}

.training-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.training-header {
    background-color: var(--training-blue);
    color: white;
    padding: 20px;
    text-align: center;
}

.training-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.training-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.training-details {
    flex-grow: 1;
}

.training-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.training-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.training-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.training-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--training-blue);
    font-weight: bold;
}

.training-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--training-blue);
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background-color: rgba(44, 123, 229, 0.1);
    border-radius: 5px;
    border-left: 4px solid var(--training-blue);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text ul {
    list-style: none;
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-text li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* SIMPLE SPACING FIX */
.services-grid { gap: 50px; margin: 30px 0; }
.service-card, .training-service-card { margin: 15px 0; }

/* Partners Section */
.partners {
    background-color: var(--light);
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background-color: white;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 120px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* Image Box Styles */
.image-box {
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
    width: 100%;
    max-width: 400px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.image-box img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    display: block;
    margin-bottom: 0.75rem;
}

.image-box .caption {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
    margin-top: 0.5rem;
}

.image-box .date {
    font-size: 0.85rem;
    color: black;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for partner logos */
@media (max-width: 768px) {
    .partner-logo {
        min-width: 140px;
        padding: 20px 25px;
        height: 100px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
}
@media (max-width: 768px) {
    .nav-links {
        padding: 5px 15px !important;
    }
    
    .nav-links li {
        margin: 5px 0 !important;
    }
    
    .nav-links a {
        padding: 6px 0 !important;
    }
}

@media (max-width: 480px) {
    .partner-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .partner-logo {
        width: 80%;
        max-width: 250px;
    }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: black;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: -4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

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

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #F5F7FA;;
}
/* Mobile Menu Fixes */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 45%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix header on mobile */
    nav {
        padding: 12px 0;
        min-height: 60px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        max-width: 150px;
    }
}

/* Button Fixes for Mobile */
@media (max-width: 768px) {
    .btn, .btn-outline {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 300px;
        margin-left: 0 !important;
    }
    
    .hero .btn, .hero .btn-outline {
        margin-bottom: 15px;
    }
    
    /* Fix product buttons */
    .btn-product {
        width: 100%;
        margin: 10px 0;
    }
    
    /* Fix training button */
    .btn-training {
        width: 100%;
        margin: 15px 0;
    }
    
    /* Fix PDF buttons container */
    .pdf-buttons-container {
        padding: 0 10px;
    }
    
    .pdf-btn {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 70px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero p {
        padding: 0 15px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* General Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .product-modal-content {
        margin: 20px;
    }
    
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 40px;
        margin-right: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .product-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cards-grid h4 {
        font-size: 1.5rem;
    }
    
    .image-box {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix for product lists */
    .products-grid ul[style*="font-size: 0.9rem"] {
        padding-left: 25px !important;
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .product-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .product-nav-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .training-service-card {
        margin: 0 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
}

/* Technical Information Section */
.technical-info-section {
    background-color: var(--light);
    border-radius: 12px;
    padding: 50px;
    margin: 60px 0;
}

.tech-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-button {
    display: flex;
    align-items: center;
    background-color: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.tech-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15);
}

.tech-button:active {
    transform: translateY(-2px);
}

.tech-button-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-button-text {
    flex-grow: 1;
    line-height: 1.4;
}

.tech-button-arrow {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.tech-button:hover .tech-button-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Simple one-by-one PDF buttons */
.pdf-btn {
    display: block;
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: all 0.3s;
}

.pdf-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Center them */
.pdf-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

/* Add to your existing logo styles */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Fix mobile spacing */
@media (max-width: 768px) {
    .technical-info-section {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .tech-buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-button {
        min-height: 70px;
        padding: 18px 20px;
    }
    
    .tech-section-title h2 {
        font-size: 1.8rem;
    }
}
/* FIX FOR MOBILE MENU - Add this at the end of your existing CSS */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 999;
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        display: none; /* Start hidden */
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        display: flex; /* Show when active */
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix header on mobile */
    nav {
        padding: 12px 0;
        min-height: 60px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        max-width: 150px;
    }
}
/* Add to your existing CSS */
.hero {
    padding-top: 120px; /* Increase from 100px */
    padding-bottom: 100px; /* Keep bottom padding */
}
html {
    scroll-padding-top: 120px;
}
@media (max-width: 768px) {
    .nav-links {
        width: 45% !important;
        max-width: 150px;
    }
}
@media (max-width: 768px) {
    .nav-links a {
        text-align: left !important;
        justify-content: flex-start !important;
        padding-left: 20px !important;
    }
}
/* QUICK FIX - REDUCE HEADER WHITE SPACE */
header {
    padding: 5px 0 !important;
}

nav {
    padding: 5px 0 !important;
}

.logo img {
    height: 100px !important;
}

.nav-links li {
    margin-left: 40px !important;
}
/* Apply to all screens */
header {
    padding: 5px 0 !important;
}

nav {
    padding: 5px 0 !important;
}

/* Desktop logo */
.logo img {
    height: 100px !important;
}

/* Desktop nav spacing */
.nav-links li {
    margin-left: 40px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo img {
        height: 60px !important; /* Smaller on mobile */
    }
    
    .nav-links {
        width: 45% !important;
        max-width: 150px !important;
    }
    
    .nav-links li {
        margin-left: 0 !important; /* Remove left margin on mobile */
    }
}
.copyright a {
    color: white;
}
/* Center align ALL buttons in mobile view */
@media (max-width: 768px) {
    /* Center all buttons */
    .btn,
    .btn-outline,
    .btn-product,
    .btn-training,
    .pdf-btn,
    #contactForm .btn {
        display: block !important;
        margin: 15px auto !important;
        width: 90% !important;
        max-width: 300px !important;
        text-align: center !important;
    }
    
    /* Specifically for product cards */
    .product-card .btn-product {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px auto !important;
    }
    
    /* For PRODUCT ENQUIRY button */
    .products-grid + div .btn {
        display: block !important;
        margin: 20px auto !important;
        width: 90% !important;
        max-width: 300px !important;
    }
    
    /* For CALIBRATION / REPAIR FORM button */
    #services > .container > div:last-child .btn {
        display: block !important;
        margin: 20px auto !important;
        width: 90% !important;
        max-width: 350px !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        padding: 12px 15px !important;
    }
    
    /* For Send Message button in contact form */
    #contactForm .btn {
        display: block !important;
        margin: 20px auto !important;
        width: 90% !important;
        max-width: 300px !important;
    }
}
/* Fix product card bullet alignment */
.product-content ul {
    padding-left: 25px !important;
    text-align: left !important;
    margin: 15px 0 !important;
}

.product-content ul li {
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin-bottom: 8px !important;
    padding-left: 5px !important;
    line-height: 1.5 !important;
}

/* Remove any ::before pseudo-elements if added */
.product-content ul li::before {
    content: none !important;
}
/* Social Media Links Styles */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.social-link.linkedin {
    background-color: #0077B5;
    color: white;
}

.social-link.linkedin:hover {
    background-color: #005582;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.social-link.instagram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(193, 53, 132, 0.3);
}

/* Make sure contact items display properly with social links */
.contact-item .social-links {
    margin-top: 8px;
}

/* Responsive adjustments for social links */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .social-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}
/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-social-links a {
    color: #ddd;
    font-size: 1.3rem;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-social-links a {
        font-size: 1.5rem;
        margin: 0 10px;
    }
}
/* Center align product modal navigation */
.product-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This centers the buttons */
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-nav-btn {
    background-color: var(--light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--dark);
    min-width: 180px; /* Give buttons consistent width */
    text-align: center;
}

/* Mobile view - keep buttons stacked but centered */
@media (max-width: 768px) {
    .product-nav {
        flex-direction: column;
        align-items: center; /* This centers buttons in column */
    }
    
    .product-nav-btn {
        width: 100%;
        max-width: 280px; /* Set max width for mobile buttons */
        margin-bottom: 10px;
    }
}

/* For tablet screens, adjust button width */
@media (min-width: 769px) and (max-width: 992px) {
    .product-nav-btn {
        min-width: 150px;
        padding: 10px 15px;
    }
}
/* Make partner logos display one by one in a single column */
.partner-logos {
    display: flex;
    flex-direction: column; /* Stack logos vertically */
    align-items: center; /* Center align them */
    gap: 30px;
    max-width: 500px; /* Limit the width */
    margin: 0 auto; /* Center the whole container */
}

.partner-logo {
    background-color: white;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    width: 100%; /* Take full width of container */
    max-width: 300px; /* Set max width for logos */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 120px;
}

/* Keep desktop view as is (if you want to change only mobile) */
@media (min-width: 769px) {
    .partner-logos {
        flex-direction: row; /* Horizontal on desktop */
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .partner-logo {
        width: auto;
        min-width: 180px;
        max-width: none;
    }
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .partner-logo {
        max-width: 280px;
        padding: 20px 30px;
        height: 110px;
    }
}
/* Center align footer columns for mobile only */
@media (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center all columns */
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column h3 {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: 100%;
    }
    
    .footer-links li {
        text-align: center;
        margin-bottom: 12px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        display: inline-block;
        text-align: center;
        padding: 5px 0;
    }
    
    /* Contact Info specific alignment */
    .footer-column:last-child .footer-links li {
        align-items: center;
        text-align: center;
    }
    
    .footer-column:last-child .footer-links i {
        margin: 0 auto 8px auto;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    /* Remove left margin from all icons */
    .footer-links i[style*="margin-right: 10px"] {
        margin-right: 0 !important;
        margin-bottom: 8px;
        display: block;
    }
    
    /* Specific fix for address line */
    .footer-column:last-child .footer-links li:first-child {
        text-align: center;
        padding: 0 20px;
    }
    
    /* Align social media links in Contact Info */
    .footer-social-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-social-links {
        justify-content: center;
        margin-top: 10px;
    }
}
/* Footer social media alignment for mobile */
@media (max-width: 768px) {
    .footer-social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .footer-social-link {
        font-size: 1.3rem;
        margin: 0 8px;
    }
}
.mobile, .email {
    color: black;
    text-decoration: none;
}

.mobile:hover, .email:hover, div.copyright p a:hover{
    color: #E55A00 !important; /* Darker orange */
    text-decoration: none;
}
