/* css/index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000;
    --secondary: #fff;
    --accent: #00a8ff;
    --gray: #f0f0f0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--secondary);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 168, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 168, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    left: -30%;
    margin-right: 250px;
    transform: translateX(15%);
}

.hero h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
}

.hero h2 span {
    color: var(--accent);
    position: relative;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333;
    max-width: 550px;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary);
}

.hero-image {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    height: 500px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 168, 255, 0.1) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 168, 255, 0.1) 50%, transparent 52%);
    background-size: 20px 20px;
    z-index: 1;
}

.hero-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
}

.hero-image-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.services {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.service {
    text-align: center;
    padding: 20px;
    width: 30%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.about-image {
    flex: 1;
    width: 400px;
    height: 400px;
    background: var(--gray);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 20%);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, 0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 0, 0, 0.05) 50%, transparent 52%);
    background-size: 10px 10px;
}

/* Timeline Section */
.timeline {
    padding: 100px 0;
    background: var(--gray);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: translateX(-50%);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--secondary);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent);
}

.timeline-content .date {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--secondary);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item, 
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-content::before {
        left: -30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h2 {
        font-size: 40px;
    }
    
    .services {
        flex-direction: column;
    }
    
    .service {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, 
    .footer-links {
        margin-bottom: 30px;
    }
}