:root {
    --primary-blue: rgb(0, 87, 255);
    --dark-text: rgb(13, 17, 38);
    --light-bg: rgb(243, 243, 243);
    --gray-border: rgb(215, 228, 240);
    --light-gray: rgb(243, 243, 243);
    --blue-gray: rgb(215, 228, 240);
    --sega-blue: rgb(0, 87, 255);
    --very-dark-blue: rgb(13, 17, 38);
    --dark-blue: rgb(0, 35, 102);
}

body {
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    background-color: white;
    color: var(--dark-text);
    position: relative;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.container-wide { 
    width: 95%; 
    margin: 0 auto; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    position: relative;
}

.top-bar-text {
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.top-links {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.top-links a {
    color: var(--primary-blue) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    background-color: white;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}

.top-links a:hover {
    opacity: 0.8;
}

/* MENU 1: Full Width */
.top-bar-full {
    background: var(--very-dark-blue);
    color: white;
    border-bottom: 1px solid var(--blue-gray);
    padding: 8px 0;
    font-size: 13px;
    width: 100%;
}

/* MENU 2: Within Margins */
.main-nav-contained {
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    min-height: 50px;
    background-color: var(--very-dark-blue);
    color: white;
    box-sizing: border-box;
}

.logo { 
    font-size: 20px; 
    font-weight: bold; 
    color: white;
    margin-left: 20px;
}
.logo span { 
    color: var(--primary-blue);
    margin-left: 5px;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Navigation Links */
.nav-links { 
    list-style: none; 
    display: flex;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out;
}

.nav-links > li {
    position: relative;
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    padding: 15px 20px;
    display: inline-block;
    transition: color 0.2s ease;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-image,
    .about-text {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 700px) {
    .top-bar-text {
        display: none;
    }
    
    .top-links {
        position: static;
        transform: none;
        margin-left: auto;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--very-dark-blue);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 80px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px;
        text-align: center;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--very-dark-blue);
    min-width: 220px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 0;
    border-top: 2px solid var(--primary-blue);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: white;
    padding-left: 25px;
}

/* Add arrow indicator */
.dropdown > a::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.7;
}

/* Hover effect for parent link */
.dropdown:hover > a {
    color: rgba(255, 255, 255, 0.9);
}

/* HERO SECTION */
.hero-section {
    display: flex;
    min-height: 40vh;
    position: relative;
    padding: 0;
    margin: 0;
    align-items: stretch;
    overflow: hidden;
    height: 70vh;
    max-height: 600px;
}

.hero-content {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    background-color: var(--light-gray);
    border-radius: 0;
    max-width: none;
    padding: 20px 5%;
    height: 100%;
}

.carousel-container {
    width: 45%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transform: scale(0.88);
    transform-origin: center center;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    padding: 8px 0;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-indicator:hover {
    transform: scale(1.2);
    opacity: 1;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
    opacity: 1;
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-content h1 { 
    font-size: 48px; 
    line-height: 1.2; 
    margin: 0 0 15px 0;
    color: var(--very-dark-blue);
    padding: 0;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    max-width: 100%;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* About Section */
.about-section {
    padding: 1.6% 4%;
    margin: 1.6% auto;
    max-width: 92%;
    width: 100%;
    box-sizing: border-box;
}

.about-content {
    display: flex;
    gap: 4%;
    align-items: center;
    margin: 3% 0;
    width: 100%;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: scale(0.9);
    transform-origin: center center;
    max-width: 100%;
    box-sizing: border-box;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
    max-width: 55%;
    box-sizing: border-box;
}

.about-text p {
    text-align: justify;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.05em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        margin: 0 0 30px 0;
        transform: none !important;
        max-width: 100%;
    }
    
    /* Specific styles for blog and news section on mobile */
    @media (max-width: 700px) {
        .about-section .about-content[style*="flex-direction: row-reverse"],
        .about-section .about-content[style*="flex-direction: row"] {
            flex-direction: column !important;
        }
        
        .about-section .about-image[style*="flex-direction: column"] {
            flex-direction: column !important;
            margin: 0 0 30px 0 !important;
            width: 100% !important;
            transform: none !important;
            gap: 20px !important;
        }
        
        .about-section .about-image img {
            width: 100% !important;
            height: auto !important;
            margin: 0 !important;
        }
    }
}

/* Solutions Section */
.solutions-section {
    padding: 50px 20px 60px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

.solution-item {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0,0,0,0.05);
}

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 170px;
    height: 170px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.solution-item h3 {
    color: var(--very-dark-blue);
    margin: 20px 0 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.solution-item p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

@media (max-width: 1200px) {
    .solutions-container {
        padding: 0 20px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .solution-icon {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .solution-item:not(:last-child)::after {
        display: none;
    }
    
    .solution-item:nth-child(3n)::after {
        display: none;
    }
    
    .solution-item {
        padding: 30px 0;
    }
    
    .solution-icon {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .solution-icon {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .solution-item {
        padding: 25px 0;
    }
    
    .solution-icon {
        width: 120px;
        height: 120px;
    }
}

/* Section Title with Decorative Lines */
.section-title {
    text-align: center;
    position: relative;
    margin: 0 0 30px 0;
    font-size: 28px;
    color: var(--very-dark-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title:before,
.section-title:after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background: var(--primary-blue);
    margin: 0 15px;
    vertical-align: middle;
}

/* PRODUCT GRID */
/* Footer Styles */
.site-footer {
    background-color: var(--very-dark-blue);
    color: white;
    padding: 60px 0 0;
    margin-top: 80px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 10px;
    margin-top: 5px;
    width: 16px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.newsletter h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0052cc;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #a0a0a0;
    font-size: 13px;
}

.footer-bottom a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 10px 15px;
    }
}

/* Grid styles */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.product-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--gray-border);
    transition: 0.3s;
}
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* BUTTONS */
.btn-primary { background: var(--primary-blue); color: white; padding: 15px 30px; border: none; cursor: pointer; border-radius: 5px; }
.btn-dark { background: #222; color: white; padding: 15px 30px; border: none; border-radius: 5px; }