/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Colors derived from Ytal Tech logo */
    --primary-color: #00AEEF; /* Cyan / Blue */
    --secondary-color: #EC008C; /* Magenta / Pink */
    --accent-green: #39B54A; /* Green from logo */
    --accent-yellow: #FFF200; /* Yellow from logo */
    
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container img {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-ytal { color: var(--secondary-color); }
.logo-tech { color: var(--primary-color); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

/* Alternating Menu Colors (Pink/Blue) */
.nav-links li:nth-child(odd) a {
    color: var(--secondary-color); /* Pink */
}

.nav-links li:nth-child(even) a {
    color: var(--primary-color); /* Blue */
}

/* Hover effect */
.nav-links a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f6ff 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   Sections General
   ========================================================================== */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* ==========================================================================
   Grid Layouts (Team & Products)
   ========================================================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.card ul li {
    margin-bottom: 8px;
}

/* ==========================================================================
   Contact Form & Footer
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
}

footer {
    background-color: #0A192F; /* Dark Blue */
    color: #FFFFFF; /* White Text */
    text-align: center;
    padding: 15px 20px; /* Reduced Height */
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}