@import './variables.css';
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Font';
}

body {
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    box-shadow: 0 3px 6px 0 rgba(40,40,40,0.20);
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: #ffffff;
  background-image: 
    linear-gradient(#e5e7eb 1px, transparent 1px),
    linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
  background-size: 30px 30px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo {
    font-size: 1.4rem;
    font-weight: 500;
    display: flex; 
    flex-direction: row;
    color: black;
    align-items: center;
    
}
.logo img {
    size: 10px;
    width: 70px;
    margin: auto 20px;
}

.logo span {
    margin: auto 6px;
    color: var(--primary-color);
    font-size: 1.7rem;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: #667eea;
}

/* Hero Section */
.hero {
    background: #F4F6FB;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 0 3px 0 rgba(40, 40, 40, 0.20);
    width: 1100px;
    max-width: 90%;
    z-index: 1;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content .text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 4rem 2rem 1rem;
}

.hero-content .image-box {
    text-align: left;
    height: 100%;
}

.hero-content img {
    width: 100%;
    height: 100%;
    border-radius: 1rem 0 0 1rem;
    object-fit: fill;
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background:
    repeating-linear-gradient(45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap)),
    repeating-linear-gradient(-45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap));
    background-color: var(--primary-color);
    
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}
.section-title.white {
    color: white;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* Features Section */

.features {
    padding: 3rem 5%;
    background: var(--primary-color);
    color: white !important;
}

.features .section-title, .section-subtitle {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: white;
    line-height: 1.8;
}

/* Products Section */
.products {
    padding: 3rem 5%;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 90%;
    margin: 0 auto;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 300px;
    background:
    repeating-linear-gradient(45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap)),
    repeating-linear-gradient(-45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap));
    background-color: rgb(5, 58, 77);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    object-fit: contain; 
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.product-specs li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    padding: 3rem 5%;
    background: var(--primary-color);
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content > div {
    max-width: 100%;
}
.about-text {
    padding: 30px;
    font-weight: 200;
    border-radius: 15px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    display: block;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 3rem 5%;
    background: #f8f9fa;
}

.contact-container {
    width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 90%;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.info-text h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.info-text p {
    color: #666;
}

/* Footer */
footer {
    color: white;
    padding: 3rem 5%;
    text-align: center;
    background:
    repeating-linear-gradient(45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap)),
    repeating-linear-gradient(-45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap));
    background-color: var(--dark-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: #667eea;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .logo {
        font-size: 1rem;
    }
    .logo span {
        font-size: 1.3rem;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content .text-box {
        align-items: center;
        padding: 2rem 0 1rem 0;
    }

    .hero-content .image-box {
        text-align: left;
        width: 100%;
    }

    .hero-content img {
        width: 100%;
        margin: 0 auto;
        border-radius: 0 0 1rem 1rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        max-width: 90%;
    }
    .contact-container {
        grid-template-columns: 1fr;
        
    }
    .about-stats {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* FIX: Consolidated and corrected responsive styles for Contact Info */
@media (min-width: 769px) {
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-info .info-card:first-child {
        grid-column: 1 / -1; /* This makes the first card (address) span the full width */
    }
}

.diamond-grid-red {
    background:
    repeating-linear-gradient(45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap)),
    repeating-linear-gradient(-45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap));
    background-color: var(--primary-color);
}

.diamond-grid-green {
    background:
    repeating-linear-gradient(45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap)),
    repeating-linear-gradient(-45deg, var(--line) 0 var(--stroke), transparent var(--stroke) var(--gap));
    background-color: var(--secondary-color);
}

.card {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.034);
}

.wave-pattern {
    background-color: #fcfcf6;
    background-image: 
        linear-gradient(#e5e7eb 1px, transparent 1px),
        linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
}

u {
    text-decoration-style: solid;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: red;
}