/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    scroll-behavior: smooth;
}

/* New Features Section Styles */
.features-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e0f7fa 0%, #bbdefb 100%); /* Light blue gradient */
    text-align: center;
}

.features-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.features-section h2,
.youtube-section h2,
.team-section h2,
.testimonials-section h2,
.contact-section h2 {
    animation-name: bounceIn;
    animation-duration: 2s; /* Increased duration for slower animation */
    animation-fill-mode: both;
    animation-delay: 0.2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 10px 10px 20px #d9d9d9, -10px -10px 20px #ffffff;
    transition: all 0.4s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.2), -15px -15px 30px rgba(255, 255, 255, 0.8);
}

.services-grid .service-item:nth-child(1):hover {
    background: linear-gradient(145deg, #ff6347, #ff4500);
}

.services-grid .service-item:nth-child(2):hover {
    background: linear-gradient(145deg, #4CAF50, #8BC34A);
}

.services-grid .service-item:nth-child(3):hover {
    background: linear-gradient(145deg, #2196F3, #03A9F4);
}

.services-grid .service-item:nth-child(4):hover {
    background: linear-gradient(145deg, #9C27B0, #E040FB);
}

.services-grid .service-item:nth-child(5):hover {
    background: linear-gradient(145deg, #FFEB3B, #FFC107);
}
.services-grid .service-item:nth-child(6):hover {
    background: linear-gradient(145deg, #ec0505, #2c1d2b);
}

.service-item i {
    font-size: 3em;
    color: #ff6347;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* Dark Theme Styles */
body.dark-theme {
    background-color: #1a1a1a;
    color: #f8f8f8;
}

body.dark-theme .main-header {
    background: linear-gradient(135deg, #2c003e 0%, #00004d 100%); /* Deep purple to dark blue */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

body.dark-theme .main-nav li a {
    color: #f8f8f8;
}

body.dark-theme .hero-section h1,
body.dark-theme .hero-section p {
    color: #f8f8f8;
}

body.dark-theme .features-section,
body.dark-theme .youtube-section,
body.dark-theme .team-section,
body.dark-theme .testimonials-section {
    background-color: #2a2a2a;
}

body.dark-theme h2,
body.dark-theme h3 {
    color: #f8f8f8;
}

body.dark-theme .service-item {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    box-shadow: 10px 10px 20px #1a1a1a, -10px -10px 20px #4a4a4a;
}

body.dark-theme .service-item:hover {
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.4), -15px -15px 30px rgba(255, 255, 255, 0.1);
}

body.dark-theme .service-item p {
    color: #ccc;
}

body.dark-theme .contact-section {
    background: linear-gradient(135deg, #2c003e 0%, #00004d 100%); /* Deep purple to dark blue */
}

body.dark-theme .contact-form-container form label,
body.dark-theme .contact-form-container form input,
body.dark-theme .contact-form-container form textarea {
    color: #f8f8f8;
}

body.dark-theme .contact-form-container form input[type="text"],
body.dark-theme .contact-form-container form input[type="email"],
body.dark-theme .contact-form-container form textarea {
    background-color: #3a3a3a;
    border: 1px solid #555;
    color: #f8f8f8;
}

body.dark-theme .contact-form-container form input[type="text"]::placeholder,
body.dark-theme .contact-form-container form input[type="email"]::placeholder,
body.dark-theme .contact-form-container form textarea::placeholder {
    color: #aaa;
}

body.dark-theme footer {
    background: linear-gradient(135deg, #2c003e 0%, #00004d 100%); /* Deep purple to dark blue */
    box-shadow: 0 -4px 15px rgba(255, 255, 255, 0.1);
}

body.dark-theme footer p,
body.dark-theme footer a {
    color: #f8f8f8;
}



@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
        color: #ff6347; /* Start color */
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
        color: #4CAF50; /* Color at 20% */
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
        color: #2196F3; /* Color at 40% */
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
        color: #9C27B0; /* Color at 60% */
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
        color: #FFEB3B; /* Color at 80% */
    }

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        color: #ff6347; /* End color, back to start */
    }
}

.animated-heading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s; /* Adjust delay as needed */
}

/* Responsive adjustments for Features Section */
@media (max-width: 768px) {
    .features-section h2 {
        font-size: 2em;
    }
    .service-item {
        padding: 20px;
    }
}


/* New Header Styles */
.main-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.site-logo {
    max-width: 80px;
    height: auto;
    margin-right: 10px;
    transition: max-width 0.3s ease;
}

.main-header.shrink .site-logo {
    max-width: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6347, #ff8c00);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.main-nav li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav li a.active-link {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-nav li a.active-link::before {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle-btn {
    background-color: #ff6347;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-toggle-btn:hover {
    background-color: #e05c3e;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.6);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1100;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.menu-toggle.open .hamburger {
    background-color: transparent;
}

.menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}

.sriraz-photo {
    filter: brightness(1.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/music\ background.jpg');
    filter: brightness(0.8);
    z-index: -1;
    animation: pan 20s infinite alternate linear;
}

@keyframes pan {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    background: linear-gradient(45deg, #ff6347, #ff8c00);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    margin: 0 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #ff8c00, #ff6347);
}

/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        margin: 0;
    }
}

/* YouTube Section */
.youtube-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f2f5 0%, #e0e4e8 100%); /* Light gray gradient */
    text-align: center;
}

.youtube-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.video-container iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-radius: 20px;
    box-shadow: 10px 10px 20px #d9d9d9, -10px -10px 20px #ffffff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px #d9d9d9, -15px -15px 30px #ffffff;
}

.team-member h3 {
    color: #333;
    margin: 15px 0 10px;
    font-size: 1.4em;
}

.team-member p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: all 0.4s ease;
    border: 4px solid #fff;
}

.team-member img:hover {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #f0f2f5;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.testimonials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.testimonial {
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 10px 10px 20px #d9d9d9, -10px -10px 20px #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(255, 99, 71, 0.1);
    font-family: Georgia, serif;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px #d9d9d9, -15px -15px 30px #ffffff;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.testimonial h4 {
    color: #ff6347;
    font-size: 1em;
    font-weight: 600;
    text-align: right;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #fff;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-container label {
    font-weight: 600;
    color: #fff;
    font-size: 1.1em;
    text-align: left;
}

.contact-form-container input,
.contact-form-container textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-color: #ff6347;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.4);
    transform: translateY(-2px);
}

.contact-form-container textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-container button {
    background: linear-gradient(45deg, #ff6347, #ff8c00);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-form-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #ff8c00, #ff6347);
}

/* Responsive adjustments for Contact Section */
@media (max-width: 768px) {
    .contact-section h2 {
        font-size: 2em;
    }

    .contact-form-container {
        padding: 20px;
        margin: 0 15px;
    }
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

footer p {
    margin-bottom: 10px;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    display: inline-block;
    margin: 0 15px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icons img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-icons img:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

footer p:last-child {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}