/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #2D1B69;
    --primary-orange: #F7931E;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#FBB03B 16% , #23194D 10%, #604CA4 80%, #FBB03B -4%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    
}
.hero-content h1{
    margin-top: 30PX !important;

}
.highlight1{
    color: #FBB03B !important;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
  
    
}



/* Filter Section */
.filter-section {
    background: var(--white);
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

/* Projects Section */
.projects-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.project-category {
    margin-bottom: 60px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-category.hidden {
    display: none;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 30px;
    text-align: center;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    display: flex;
    overflow: hidden;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card {
    flex: 0 0 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.project-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 27, 105, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.view-details-btn {
    padding: 12px 30px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.view-details-btn:hover {
    background: #ff9f1a;
    transform: scale(1.05);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-purple);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* Explore More Section */
.explore-more-section {
    padding: 80px 20px;
    background: var(--white);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.grid-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.grid-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-card.hidden-filter {
    display: none;
}

.grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 27, 105, 0.2);
}

.grid-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.grid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-card:hover .grid-card-image img {
    transform: scale(1.1);
}

.grid-card-content {
    padding: 25px;
}

.grid-card-content h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.grid-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: var(--white);
}

.section-title1 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card.prev {
    transform: translateX(-100%);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-orange);
}

.testimonial-author h4 {
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-purple);
}

.slider-btn.prev {
    left: -60px;
}

.slider-btn.next {
    right: -60px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-orange);
    width: 30px;
    border-radius: 6px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #4a3399 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 100px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: #ff9f1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-orange);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.modal-link:hover {
    background: var(--primary-purple);
}

.modal-link.hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .slider-btn.prev {
        left: -20px;
    }

    .slider-btn.next {
        right: -20px;
    }

    .section-title1 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .project-card img {
        height: 300px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .filter-section {
        padding: 20px;
    }

    .projects-section {
        padding: 40px 20px;
    }

    .testimonials-section {
        padding: 40px 20px;
    }

    .cta-section {
        padding: 60px 20px;
       
    }

    .project-card img {
        height: 250px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .explore-more-section {
        padding: 40px 20px;
    }
}
