/* 
   AMDM Technologies OPC
   Corporate Website Styles
*/

:root {
    /* Color Palette */
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.1);
    --white: #ffffff;
    --nav-bg: rgba(10, 25, 47, 0.85);

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

section {
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #00b4d8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-glow);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-white {
    background-color: var(--white);
    color: var(--bg-dark);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.block-btn {
    width: 100%;
    text-align: center;
}

.sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.logo-img {
    height: 60px;
    width: auto;
}

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

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 63, 114, 0.4) 0%, rgba(10, 25, 47, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.hero-stats {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: var(--text-secondary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--accent);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.value-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
}

.value-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.visual-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-card.highlight {
    border-bottom: 3px solid var(--accent);
}

.visual-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Services Seection */
.services-section {
    background: #0d1e3a;
    /* Slightly lighter than bg-dark */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 6px;
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #152a4d;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Solutions / Industries */
.solutions-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.solutions-content {
    padding: 4rem;
    flex: 1;
}

.industry-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.industry-list i {
    color: var(--accent);
    font-size: 0.9rem;
}

.solutions-image {
    flex: 1;
    min-height: 400px;
    background: linear-gradient(135deg, #1d3f72 0%, #112240 100%);
    position: relative;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(100, 255, 218, 0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent);
    bottom: -50px;
    left: -50px;
    top: auto;
    right: auto;
    opacity: 0.2;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, #112240 0%, #1d3f72 100%);
    padding: 5rem 0;
    text-align: center;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-item {
    margin-top: 2rem;
    display: flex;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.text-link {
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent);
}

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0a192f;
    border: 1px solid #233554;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: #020c1b;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #233554;
    padding-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: #5d6d8d;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .solutions-wrapper {
        flex-direction: column;
    }

    .solutions-image {
        width: 100%;
        min-height: 250px;
    }

    .solutions-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: #112240;
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}