* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: #1a1a2e;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.logo img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: #6366f1;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-image {
    flex: 1;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.carousel-content {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    z-index: 10;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-content h1 span {
    color: #ffd700;
}

.carousel-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.carousel-content .btn-primary {
    background: #6366f1;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
}

.carousel-content .btn-secondary {
    background: transparent;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border: 1px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 0.75rem;
    display: inline-block;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    border-color: #fff;
    width: 24px;
    border-radius: 6px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-prev svg, .carousel-next svg {
    width: 20px;
    height: 20px;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-section .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.news-section .section-header p {
    color: #666;
    font-size: 0.95rem;
}

.news-section .view-all {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.news-section .view-all:hover {
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.news-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-info {
    padding: 1rem;
}

.news-category {
    display: inline-block;
    background: #e8f0fe;
    color: #1e40af;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 0.9rem;
    color: #1a1a2e;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.75rem;
    color: #999;
}

/* Services Section */
.services {
    padding: 5rem 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.services p {
    color: #666;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.service-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-card a {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.features p {
    color: #666;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    color: #666;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 3rem 0;
}

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

.footer-content h3 {
    margin-bottom: 1rem;
}

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

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

.footer-content ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-content p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-page {
    padding: 5rem 0;
}

.contact-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.85rem;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    background: #6366f1;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

.address-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.address-card h3 {
    margin-bottom: 1rem;
}

.address-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.address-card img {
    width: 100%;
    height: 150px;
    margin-top: 1rem;
    border-radius: 8px;
}

.faq-section {
    margin-top: 3rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Team Page */
.team-page {
    padding: 5rem 0;
}

.team-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-page p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

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

.team-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.team-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ddd;
    margin-bottom: 1rem;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card p {
    color: #6366f1;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team-card .tag {
    background: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #666;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-card .social-links img {
    width: 24px;
    height: 24px;
}

/* Careers Page */
.careers-page {
    padding: 5rem 0;
}

.careers-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.careers-page p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.careers-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-intro h2 {
    margin-bottom: 1rem;
}

.careers-intro .icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.careers-intro .icon-item {
    text-align: center;
}

.careers-intro .icon-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.careers-intro .icon-item p {
    font-size: 0.9rem;
}

.job-list {
    margin-top: 2rem;
}

.job-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.job-card .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-card h3 {
    margin-bottom: 0.25rem;
}

.job-card .job-type {
    color: #6366f1;
    font-size: 0.85rem;
}

.job-card .job-salary {
    color: #666;
    font-size: 0.9rem;
}

.job-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.job-card ul li {
    padding: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.job-card .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-card .job-footer span {
    font-size: 0.85rem;
    color: #666;
}

.job-card .btn-primary {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Services Detail Page */
.services-detail-page {
    padding: 5rem 0;
}

.services-detail-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-detail-page p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-info {
    padding: 2rem;
}

.service-detail-info img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.service-detail-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-detail-info ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-detail-info ul li {
    padding: 0.5rem 0;
    color: #666;
}

.service-detail-info .tech-stack {
    margin-bottom: 1rem;
}

.service-detail-info .tech-stack span {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.service-detail-info .price-range {
    color: #6366f1;
    font-weight: 500;
    margin-right: 1rem;
}

.service-detail-info .delivery-time {
    color: #666;
    font-size: 0.9rem;
}

.service-detail-image {
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-image img {
    width: 100px;
    height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid,
    .features-grid,
    .contact-cards,
    .contact-content,
    .faq-grid,
    .team-grid,
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
    }
}
