* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fdf2ff 0%, #fce7ff 50%, #fbcfff 100%);
    min-height: 100vh;
}

/* Navigation */
nav {
    display: flex;
    padding: 20px 50px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(139, 0, 139, 0.1);
    border-bottom: 1px solid rgba(139, 0, 139, 0.1);
}

.logo img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.linkedin-icon i {
    color: #0077b5;
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.instagram-icon i {
    color: #E4405F;
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.facebook-icon i {
    color: #1877f3;
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.linkedin-icon:hover i,
.instagram-icon:hover i,
.facebook-icon:hover i {
    transform: scale(1.1);
}

.contact-btn {
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    color: #fff;
    border-radius: 25px;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 0, 139, 0.3);
    border: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 139, 0.4);
    background: linear-gradient(135deg, #4b0082 0%, #8b008b 100%);
}

/* Hero Section */
.intro {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(139, 0, 139, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 0, 139, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 50px;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.3rem;
    color: white;
    margin: 20px 0 40px;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.slide-content .contact-btn {
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    color: #fff;
    display: inline-block;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(139, 0, 139, 0.4);
    border: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.slide-content .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 139, 0.5);
    background: linear-gradient(135deg, #4b0082 0%, #8b008b 100%);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 4;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #8b008b;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    display: flex;
    background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%);
    padding: 80px 50px;
    gap: 60px;
    align-items: center;
    position: relative;
}
/* Remove the custom background shapes for .about on home page */
.about::before,
.about::after {
    content: none !important;
}
.about > * {
    position: static;
    z-index: auto;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4b0082;
    font-weight: 700;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b0082;
    line-height: 1.8;
    margin-bottom: 20px;
}

.img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.img-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 0, 139, 0.2);
    transition: transform 0.3s ease;
}

.img-container img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #fdf2ff 0%, #fce7ff 100%);
    padding: 80px 50px;
    position: relative;
}

.services h1 {
    margin-bottom: 60px;
    font-size: 2.5rem;
    text-align: center;
    color: #4b0082;
    font-weight: 700;
    position: relative;
}

.services h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(139, 0, 139, 0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 0, 139, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 139, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card img {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h2 {
    font-size: 1.4rem;
    margin: 15px 0 10px 0;
    color: #4b0082;
    font-weight: 600;
    text-align: center;
}

.service-card p {
    font-size: 1rem;
    color: #4b0082;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.service-card .slide-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #fdf2ff 0%, #fce7ff 100%);
    margin-top: 20px;
    border-radius: 15px;
    padding: 0 20px;
    border: 1px solid rgba(139, 0, 139, 0.1);
}

.service-card.active .slide-more {
    max-height: 2000px;
    opacity: 1;
    padding: 25px 20px;
}

.service-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 139, 0.25);
}

.service-card.active::before {
    transform: scaleX(1);
}

/* Footer Styles (keeping the existing improved footer) */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-section h4 {
    color: #8b008b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #8b008b;
    padding-bottom: 8px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo img {
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.footer-logo h3 {
    color: #8b008b;
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo p {
    color: #bdc3c7;
    font-style: italic;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.contact-item i {
    color: #8b008b;
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-item span {
    color: #ecf0f1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-services li {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.footer-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #8b008b;
    transition: width 0.3s ease;
    z-index: -1;
}

.footer-services li:hover {
    transform: translateX(5px);
}

.footer-services li:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #ecf0f1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
    z-index: -1;
}

.social-link.linkedin::before {
    background: #0077b5;
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook::before {
    background: #1877f3;
}

.social-link:hover {
    transform: translateX(5px);
    color: white;
}

.social-link:hover::before {
    width: 100%;
}

.social-link i {
    font-size: 1.2rem;
    min-width: 20px;
}

.cta-section {
    margin-top: 20px;
}

.cta-section .contact-btn {
    background: linear-gradient(135deg, #8b008b 0%, #4b0082 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 139, 0.3);
}

.cta-section .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 139, 0.4);
    background: linear-gradient(135deg, #4b0082 0%, #8b008b 100%);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .about {
        flex-direction: column;
        padding: 60px 30px;
        gap: 40px;
    }
    
    .img-container {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .about-text, .img-container {
        flex: unset;
        width: 100%;
    }
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .intro {
        min-height: 70vh;
    }
    
    .carousel-container {
        height: 70vh;
    }
    
    .slide-content {
        padding: 0 30px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .slide-content .contact-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 15px;
    }
    
    .carousel-btn.next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .about {
        padding: 40px 20px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .services {
        padding: 60px 20px;
    }
    
    .services h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .footer-section {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .contact-info {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-services {
        width: 100%;
        max-width: 400px;
    }
    
    .social-links {
        width: 100%;
        max-width: 400px;
    }
    
    .cta-section {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .cta-section .contact-btn {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 500px) {
    .intro {
        min-height: 60vh;
    }
    
    .carousel-container {
        height: 60vh;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content .contact-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .about {
        padding: 30px 15px;
    }
    
    .services {
        padding: 40px 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer-content {
        padding: 20px 15px;
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .footer-services li {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .social-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .cta-section .contact-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 180px;
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 10px 0;
    }
    
    .service-card img {
        max-width: 100%;
        height: 180px;
    }
}

/* Footer Quick Links Styling */
.footer-services a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, text-decoration 0.2s;
}
.footer-services a:hover {
    color: #8b008b;
    text-decoration: underline;
}

/* About Us Page Background */
.about.about-page {
    background: linear-gradient(135deg, #fdf2ff 0%, #e0c3fc 100%);
    position: relative;
    overflow: hidden;
}
.about.about-page::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, #8b008b33 0%, transparent 80%);
    z-index: 0;
}
.about.about-page::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 70% 70%, #4b008233 0%, transparent 80%);
    z-index: 0;
}
.about.about-page > * {
    position: relative;
    z-index: 1;
}