/* 
   Genexia Modern Styles 
   Description: Clean, scientific, and responsive design.
*/

/* --- Variables & Reset --- */
:root {
    --primary-color: #0056b3;
    /* Deep Scientific Blue */
    --secondary-color: #00a8cc;
    /* Cyan/Teal Accent */
    --dark-color: #1a1a2e;
    /* Dark Navy for text */
    --light-color: #f4f7f9;
    /* Soft gray/blue background */
    --white: #ffffff;
    --gray: #6c757d;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

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

.text-left {
    text-align: left;
}

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

.badge-sub {
    display: inline-block;
    background: rgba(0, 168, 204, 0.1);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 168, 204, 0.2);
    z-index: -1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #004494);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.6);
}

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

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

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

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

.btn-block {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links .btn-contact {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-links .btn-contact:hover {
    transform: translateY(-2px);
}

.nav-links .btn-contact::after {
    display: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-menu li a::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 86, 179, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 168, 204, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 50px;
    display: inline-flex;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* --- About Preview --- */
.about-image-wrapper {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.rounded-shadow {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.experience-badge .text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.feature-list h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-list p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* --- Products Section --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.btn-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .btn-icon {
    transform: translateY(0);
}

.card-content {
    padding: 25px;
    position: relative;
}

.card-icon {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.card-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* --- Services --- */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eef2f5;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* --- Brands --- */
.brands-grid-simple {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0.6;
}

.brands-grid-simple span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray);
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info>p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h5 {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.social-links-big {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

.social-links-big a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links-big a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-form-wrapper {
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo-img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

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

    .hamburger {
        display: block;
        z-index: 2000;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        display: none;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .row {
        flex-direction: column;
    }

    .col-lg-6 {
        width: 100%;
    }
}

/* --- Original Design Restoration for About Section --- */

.about {
    padding: 80px 0;
    background: #f7fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

/* Specific overrides for About section to match original look */
.about .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: left;
}

.about .section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: #3182ce;
    margin-top: 0.25rem;
}

.feature h3 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature p {
    color: #718096;
    font-size: 0.95rem;
}

.about-image {
    text-align: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about .section-title,
    .about-text {
        text-align: center;
    }

    .feature {
        justify-content: center;
        text-align: left;
    }
}