:root {
    --bg-base: #020617;
    --bg-surface: #0a1128;
    --bg-card: #0f1c3a;
    --primary: #00ffff;
    --primary-glow: rgba(0, 255, 255, 0.4);
    --accent: #0072ff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 255, 255, 0.3);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 70%, rgba(0, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 114, 255, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;

    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0px;

    text-shadow: 0 0 10px var(--primary-glow);
}

.logo span {
    color: var(--primary);
}

.logo .logo-img {
    width: 30px;
    height: 35px;

    margin-right: 5px;

    background-size: 30px;
    background-image: url(./images/logo-symbol.svg);
    background-repeat: no-repeat;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent), #00c6ff);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
}

@media (max-width: 400px) {
    .btn-cta {
        display: none;
    }
}

/* Container helper */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 20px;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;

    background-image: url('images/hero-img.jpg');
    background-size: cover;
    background-repeat: no-repeat;

}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a2d2fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-base);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #ffffff;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 255, 0.03);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Section Header styling */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.service-icon {
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Counters */
.stats-section {
    background: rgba(10, 17, 40, 0.4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    padding: 60px 0;
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.stat-item p {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Materials Grid Section */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.material-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1/1;

    position: relative;
}

.material-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.15);
}

.material-img {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    background: linear-gradient(45deg, rgba(2, 6, 23, 0.6), rgba(15, 28, 58, 0.6));

    background-size: cover;
}

.material-img.material-01 {
    background-image: url('./images/engineering-materials.jpg');
}

.material-img.material-02 {
    background-image: url('./images/composite-materials.jpg');
}

.material-img.material-03 {
    background-image: url('./images/special-materials.jpg');
}

.material-img.material-04 {
    background-image: url('./images/profiles-materials.jpg');
}

.material-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: default;
}

.material-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.material-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Industries & Contact Section Area */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 400px) {
    .industry-list {
        grid-template-columns: 1fr;
    }
}

.industry-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: default;
}

.industry-item:hover {
    border-color: var(--border-glow);
    color: var(--text-main);
    transform: translateX(3px);
    background: rgba(0, 255, 255, 0.03);
    text-shadow: 0 0 8px var(--primary-glow);
}

.industry-item svg {
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Contacts */
.direct-contacts {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.direct-contacts h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.contact-info-item strong {
    color: #ffffff;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--primary-glow);
}

.contact-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Form styling */
.contact-form-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 15px var(--primary-glow);
}


#ajaxContactForm input::placeholder,
#ajaxContactForm textarea::placeholder {
    color: #444;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #00c6ff);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: #01040a;
    padding: 40px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .materials-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .materials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}