/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f0f2f5 0%, #e0e5ec 100%);
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffeb3b, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: #ffeb3b;
    transition: width 0.3s ease-out;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(45deg, #2575fc 0%, #6a11cb 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    animation: moveShape 10s infinite alternate;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 60% 40% 30% 70% / 60% 60% 40% 40%;
    animation: moveShape 12s infinite alternate-reverse;
}

@keyframes moveShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(360deg); }
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#hero p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Article Section */
#article-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

#article-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #ff9800, #ffeb3b);
}

#article-section h2 {
    font-size: 2.5rem;
    color: #6a11cb;
    margin-bottom: 1.5rem;
    text-align: center;
}

#article-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

#article-section p a {
    color: #2575fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#article-section p a:hover {
    color: #6a11cb;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
    }

    #article-section {
        margin: 2rem auto;
        padding: 2rem;
    }

    #article-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        font-size: 1rem;
    }

    #hero {
        padding: 6rem 1rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #article-section {
        padding: 1.5rem;
    }

    #article-section h2 {
        font-size: 1.8rem;
    }

    #article-section p {
        font-size: 0.95rem;
    }
}

/* Services Page Specific Styles */
#services-hero, #about-hero, #contact-hero {
    background: linear-gradient(to right, #2575fc 0%, #6a11cb 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#services-hero h1, #about-hero h1, #contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#services-hero p, #about-hero p, #contact-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

#services-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    flex: 1 1 calc(33% - 4rem);
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: ">";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: rgba(106, 17, 203, 0.1);
    font-weight: bold;
    transform: rotate(-20deg);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.8rem;
    color: #6a11cb;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.05rem;
    color: #666;
}

/* About Page Specific Styles */
#about-content {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Contact Page Specific Styles */
#contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.contact-info, .contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    flex: 1 1 calc(50% - 3rem);
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    color: #6a11cb;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
    text-align: center;
}

.contact-form input, .contact-form textarea {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(106, 17, 203, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.2);
    outline: none;
}

.contact-form button {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for other pages */
@media (max-width: 768px) {
    #services-content, #contact-content {
        flex-direction: column;
        align-items: center;
    }

    .service-card, .contact-info, .contact-form {
        flex: 1 1 90%;
        max-width: 500px;
    }

    #services-hero, #about-hero, #contact-hero {
        padding: 4rem 1rem;
    }

    #services-hero h1, #about-hero h1, #contact-hero h1 {
        font-size: 2.5rem;
    }

    #services-hero p, #about-hero p, #contact-hero p {
        font-size: 1.1rem;
    }

    #about-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .service-card, .contact-info, .contact-form {
        padding: 1.5rem;
    }

    .service-card h3, .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        font-size: 0.95rem;
        padding: 10px;
    }
}

/* Advanced CSS Elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #6a11cb;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: #2575fc;
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #ff9800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.divider {
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, transparent, #6a11cb, #2575fc, transparent);
    margin: 2rem 0;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Neumorphism for inputs and buttons */
.contact-form input, .contact-form textarea {
    background: #e0e5ec;
    border: none;
    box-shadow: inset 4px 4px 8px #bec3c9, inset -4px -4px 8px #ffffff;
}

.contact-form button {
    box-shadow: 6px 6px 12px #bec3c9, -6px -6px 12px #ffffff;
}

.contact-form button:active {
    box-shadow: inset 4px 4px 8px #bec3c9, inset -4px -4px 8px #ffffff;
    transform: translateY(0);
}
