/* Brand Colors */
:root {
    --primary-blue: #1d3d53;
    --secondary-blue: #516b8a;
    --accent-gray: #606060;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --dark: #2c3e50;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    pointer-events: none;
}

.logo-hero {
    max-width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.hero-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-image-grid img:first-child {
    grid-column: 1 / -1;
    height: 250px;
}

.hero-section h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-contact {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image-grid img {
    animation: fadeIn 1.5s ease-out 0.8s both;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg);
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-light:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    background: var(--white);
    border-color: var(--secondary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
}

.stat-number {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--accent-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(29, 61, 83, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-button {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 15px 35px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cta-button i {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .cta-card {
        padding: 40px 30px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .cta-card {
        padding: 30px 25px;
    }

    .cta-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    .cta-button {
        width: 100%;
        padding: 12px 25px;
    }
}

/* Products Section */
.products-section {
    background: var(--light-gray);
    position: relative;
    z-index: 10;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(29, 61, 83, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.product-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.product-content p {
    color: var(--accent-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

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

.product-features li {
    color: var(--accent-gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

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

/* Quality Section */
.quality-section {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.quality-image-stack img {
    transition: transform 0.3s ease;
}

.quality-image-stack img:hover {
    transform: scale(1.02);
}

.quality-item {
    display: flex;
    gap: 20px;
}

.quality-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.quality-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.quality-content p {
    margin-bottom: 0;
}

/* Applications Section */
.applications-section {
    position: relative;
    z-index: 10;
}

.application-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--primary-blue);
}

.application-icon {
    font-size: 3.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.application-card:hover .application-icon {
    color: var(--white);
    transform: scale(1.1);
}

.application-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.application-card:hover h4 {
    color: var(--white);
}

.application-card p {
    transition: color 0.3s ease;
}

.application-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#map {
    width: 100%;
    height: 450px;
}

@media (max-width: 767px) {
    #map {
        height: 300px;
    }
}

/* Footer */
.footer-section {
    background: var(--primary-blue);
    color: var(--white);
}

.footer-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

    .logo-hero {
        max-width: 250px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .product-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }

    .logo-hero {
        max-width: 200px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .product-content h3 {
        font-size: 1.2rem;
    }

    .application-icon {
        font-size: 2.5rem;
    }

    .quality-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .scroll-indicator {
        display: none;
    }

    .btn {
        display: block;
        width: 100%;
    }

    .btn.me-3 {
        margin-right: 0 !important;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .scroll-indicator {
        background: var(--white) !important;
        color: var(--dark) !important;
    }

    .btn,
    .map-container {
        display: none;
    }
}

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue);
}

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

.text-secondary-blue {
    color: var(--secondary-blue);
}

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