/* Aegis Medical JSC - Landing Page Styles */
/* Color Palette: #FFF3E6, #FFEED4, #E3BE80, #B9922E, #A07B1C */

/* CSS Variables for Color Palette */
:root {
    --cream-light: #FFF3E6;
    --cream-medium: #FFEED4;
    --gold-light: #E3BE80;
    --gold-medium: #B9922E;
    --gold-dark: #A07B1C;
    --text-dark: #2c2c2c;
    --text-medium: #666666;
    --white: #ffffff;
    --shadow-light: rgba(160, 123, 28, 0.1);
    --shadow-medium: rgba(160, 123, 28, 0.2);
    --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold-medium));
    --gradient-cream: linear-gradient(135deg, var(--cream-light), var(--cream-medium));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif!important;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold-medium);
}

.btn-outline:hover {
    background: var(--gold-medium);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 243, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold-medium);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-medium);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold-medium);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-cream);
    overflow: hidden;
}

.hero-background {
    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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23E3BE80" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 243, 230, 0.8), rgba(255, 238, 212, 0.6));
	background-image: url(https://aegis.vn/nen.jpg);
    background-size: cover;
    background-position-x: 105px;
    background-position-y: -210px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--gold-medium);
    display: block;
    font-size: 2rem;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-medium);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    background: var(--white);
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--gradient-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.play-button i {
    font-size: 1.5rem;
    color: var(--white);
    margin-left: 3px;
}

.video-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--cream-light);
    border-radius: 15px;
    border-left: 4px solid var(--gold-medium);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.highlight-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
}

/* Company Section */
.company-section {
    background: var(--cream-medium);
}

.company-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-description {
    margin-bottom: 2rem;
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1rem;
    color: var(--white);
}

.feature-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.feature-text p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

.company-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-cream);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--gold-medium);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-medium);
    font-weight: 500;
    margin: 0;
}

/* Partners Section */
.partners-section {
    background: var(--white);
}

.partners-grid {
    display: grid;
    gap: 3rem;
}

.partner-category {
    text-align: center;
}

.category-title {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partner-item {
    padding: 2rem;
    background: var(--cream-light);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
    border-color: var(--gold-light);
}

.partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.partner-logo i {
    font-size: 1.8rem;
    color: var(--white);
}

.partner-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--cream-medium);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-medium);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cream-medium);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--cream-light);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #cccccc;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
    
    .video-container,
    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .highlight {
        font-size: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .partners-logos {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.text-gold {
    color: var(--gold-medium);
}

.bg-cream {
    background-color: var(--cream-light);
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.p-2 {
    padding: 2rem;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--gold-medium);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-medium: #333333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}