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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #1a1a1a;
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
}

.logo {
    color: #d3d3d3;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 1rem;
    justify-self: center;
}

.nav-links a {
    color: #d3d3d3;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: #fff;
    background-color: #333;
    border-color: #667eea;
}

.nav-links a.active {
    background-color: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: moveBackground 15s ease infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0%, 100% {
        background-position: 0% 50%, 100% 100%, 0% 0%, 100% 0%;
    }
    25% {
        background-position: 100% 50%, 0% 100%, 100% 0%, 0% 100%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 100% 100%, 0% 0%;
    }
    75% {
        background-position: 0% 100%, 100% 0%, 0% 100%, 100% 100%;
    }
}

.rings-container {
    position: absolute;
    width: 750px;
    height: 750px;
    top: 50%;
    left: 50%;
    margin-top: -375px;
    margin-left: -375px;
    z-index: 0;
}

.center {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 125px;
    left: 125px;
    transform-style: preserve-3d;
}

.ring {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform-origin: 50% 50%;
}

.ring-1 { animation: rotate-1 5s ease-in-out infinite; }
.ring-2 { animation: rotate-2 5s ease-in-out infinite; }
.ring-3 { animation: rotate-3 5s ease-in-out infinite; }
.ring-4 { animation: rotate-4 5s ease-in-out infinite; }
.ring-5 { animation: rotate-5 5s ease-in-out infinite; }
.ring-6 { animation: rotate-6 5s ease-in-out infinite; }
.ring-7 { animation: rotate-7 5s ease-in-out infinite; }
.ring-8 { animation: rotate-8 5s ease-in-out infinite; }
.ring-9 { animation: rotate-9 5s ease-in-out infinite; }
.ring-10 { animation: rotate-10 5s ease-in-out infinite; }

@keyframes rotate-1 {
    4% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-2 {
    8% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-3 {
    12% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-4 {
    16% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-5 {
    20% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-6 {
    24% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-7 {
    28% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-8 {
    32% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-9 {
    36% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

@keyframes rotate-10 {
    40% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(-360deg) rotateZ(0); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
}

.hero-line {
    display: block;
}

.hero-text-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background-color: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* About Section */
.about {
    background-color: #f8f9fa;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about p {
    font-size: 1.1rem;
    color: #555;
}

/* Services Section */
.services {
    background-color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.service-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

#contact-form button {
    background-color: #667eea;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #764ba2;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #d3d3d3;
    text-align: center;
    padding: 2rem;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8rem 2rem 4rem;
    text-align: center;
    margin-top: 7rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.mission-section {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 4rem;
}

.mission-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.mission-section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.values-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.value-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.value-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: #555;
    line-height: 1.6;
}

/* Services Page Styles */
.services-content {
    padding: 4rem 0;
}

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

.service-detail {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-detail h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-detail p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
}

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

.contact-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.info-item h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: #555;
    margin: 0;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-button {
    background-color: #667eea;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

.submit-button:hover {
    background-color: #764ba2;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    header {
        padding: 1rem 0;
    }

    nav {
        gap: 1rem;
    }
}
