@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}

header {
    background: white;
    padding: 20px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: rgba(255, 255, 255, 0.481); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 5%;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.08);
    height: 80px;
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 1000;
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 95px;
    width: auto;
}

.nav-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    gap: 15px;
    font-weight: bold;
    list-style: none;
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 18px;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

/* Hover & Focus Effects */
.nav-links a:hover,
.nav-links a:focus {
    background: #6c5ce7;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

/* Hamburger Button */
.hamburger {
    background: #6c5ce7;
    color: white;
    font-size: 20px;
    border: none;
    padding: 8px 12px;
    border-radius: 16px;
    position: absolute; 
    display: none;
    flex-direction: column;
    cursor: pointer;
    top: 20%;
    right: 20px;
    transform: translateY(-5%);
}

.nav-links a.apply {
    background: #186454;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

/* Style for active link */
.nav-links a.active {
    background: #6c5ce7;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

.hamburger span {
    height: 2px;
    width: 25px;
    background-color: black;
    margin: 4px;
    border-radius: 2px;
  }

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 50px 50px 50px;
    text-align: center;
}

.container-mirror {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px 0 50px;
    text-align: center;
    background-color: #f9f9f9;
}

/* Footer Styling */
footer {
    background-color: #fff; /* White background */
    color: #333;
    font-family: 'Poppins', sans-serif;
    padding: 50px 8%;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1); /* Subtle top shadow */
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* About Us Section */
.about-us {
    max-width: 350px;
    text-align: center;
}

.about-us h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.about-us p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #000;
}

/* Follow Us Section */
.follow-us h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.follow-us ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.follow-us ul li {
    margin-bottom: 8px;
}

.follow-us ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.follow-us ul li a:hover {
    color: #000;
}

/* Footer Bottom Section */
hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    width: 90px;
    height: 90px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-container img {
    width: 90px;
    height: 90px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #777;
}

/* EV Academy Button */
.ev-academy-button {
    background-color: #6c5ce7;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        text-align: left;
    }
    .text-content {
        width: 50%;
    }
    .image-content {
        width: 50%;
    }

    .container-mirror {
        flex-direction: row;
        text-align: left;
    }
    .text-content-mirror {
        width: 50%;
    }
    .image-content-mirror {
        width: 50%;
    }
}

.text-content {
    max-width: 500px;
}

.title {
    font-size: 3em;
    font-weight: 800;
    color: black;
    margin: 0px 10px;
    width: 700px;
}

.subtitle-image {
    width: 350px;
    height: auto;
    margin: 10px 0px 10px 10px;
}

.description {
    font-size: 1rem;
    color: #333;
    margin: 10px 10px 18px 10px;
}

.btn {
    background-color: #6c5ce7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0px 10px 10px 10px;
    font-weight: bold;
}

.btn:hover {
    background-color: #8c7ae6;
}

/* .image-content {
    width: 100%;
} */

.marquee-wrapper {
    width: 100%;
    background-color: #ffcc00; /* Eye-catching yellow */
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: bold;
    font-size: 18px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.highlight {
    color: red;
}

.illustration {
    width: 100%;
    height: auto;
    margin-top: 32px;
}

.text-content-mirror {
    max-width: 500px;
    position: relative;
}    .illustration {
        margin-top: 0;
    }
    
    .title-mirror {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 0px 10px;
    width: 100%;
}

.subtitle-image-mirror {
    width: 350px;
    height: auto;
    margin: 10px 0;
}

.description-mirror {
    font-size: 1rem;
    color: #333;
    margin: 10px 10px 18px 10px;
}

.btn-mirror {
    background-color: #6c5ce7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0px 10px 10px 10px;
    font-weight: bold;
}

.btn-mirror:hover {
    background-color: #8c7ae6;
}

.image-content-mirror {
    width: 80%;
}

.video-content-mirror {
    width: 50%;
    height: 348px;
}

.illustration-mirror {
    width: 80%;
    height: auto;
}

.features {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.features-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.features-image img {
    width: 450px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 16px;
}

.features-list {
    margin-top: 20px;
    text-align: left;
    display: flex;
    margin: 0px 64px;
    justify-content: flex-start;
}

.features-list-container {
    text-align: center;
    justify-items: center;
}

.features-list ul {
    list-style-type: disc;
    padding: 0;
    max-width: 600px;
}

.features-list li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.btn-features {
    background-color: #6c5ce7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
    margin: 32px 10px 0px 10px;
    font-weight: bold;
}

.btn-features:hover {
    background-color: #8c7ae6;
}

.placements {
    background: #fff;
    background-image: url('../images/Group110_3.png'); /* Ensure correct path */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 50px 32px;
}

.placements-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
}

.placements-description {
    font-size: 1rem;
    color: #333;
    margin: 20px 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.placements-gallery {
  text-align: center;
  padding: 40px 0;
  background-color: #f9f9f9;
}

.gallery-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: fit-content;
  animation: scrollLeft 30s linear infinite;
  gap: 20px;
  padding: 10px 0;
}

.marquee-content img {
  height: 240px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.marquee-content img:hover {
  transform: scale(1.05);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonials-section {
    padding: 60px 20px 0px 20px;
    background-color: #ffffff;
    text-align: center;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-track-container {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 40px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0;
    margin: 0;
    list-style: none;
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide .testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.testimonial-slide iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-caption {
    margin-top: 15px;
    color: #333;
    max-width: 560px;
}

.testimonial-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #6c5ce7;
}

.testimonial-caption p {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.carousel-btn {
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #5a4bcf;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .testimonial-slide iframe {
        height: 250px;
    }
    
    .testimonial-track-container {
        margin: 0 30px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
    border-radius: 20px;
    width: 850px;
    margin: 0 auto;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.1);
    height: 625px;
}

.contact-form label {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: -5px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    margin-top: 0;
    padding: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
    font-size: 16px;
}

.contact-heading {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: none;
}

.submit-btn {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 200px;
}

.submit-btn:hover {
    background: #8c7ae6;
}

.map-container {
    position: relative;
    width: 400px;
    height: 370px;
    border-radius: 20px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-section {
    display: flex;
    gap: 20px;
    padding: 60px 20px;
    justify-content: center;
    margin-bottom: -30px;
}

/* News Letter Section */
.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything */
    justify-content: center;
    text-align: center;
    color: #333;
    margin-top: 50px;
}

.newsletter-input {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: -2px;
    margin-top: 20px;
    margin-bottom: 100px;
    height: 45px;
    width: 500px; /* Adjusted for balance */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    gap: 10px; /* Adds spacing between elements */
}

.email-icon {
    font-size: 18px;
    color: #777;
    margin-left: 10px;
}

.newsletter-input input {
    border: none;
    background: none;
    padding: 15px;
    font-size: 16px;
    outline: none;
    flex: 1;
    width: 100%;
}

.newsletter-input button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0px 20px 20px 0px;
    cursor: pointer;
    height: auto;
    transition: 0.3s ease-in-out;
}

.newsletter-input button:hover {
    background: #8c7ae6;
}

/* Responsive Contact Section */
@media (max-width: 1024px) {
    .contact-container {
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .contact-form {
        width: 100%;
        font-size: 14px;
    }

    .map-container {
        width: 100%;
        height: 300px;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Responsive Title Size */
@media (max-width: 768px) {
    .container{
        padding: 32px;
    }

    .title {
        width: 100%;
        text-align: center;
        margin: 20px 0 0 0;
    }

    .title-mirror {
        width: 100%;
        text-align: center;
        margin: 20px 0 0 0;
    }

    .illustration {
        margin-top: 0;
    }

    .description{
        margin: 24px 0 18px 0;
    }

    .subtitle-image{
        content: url('../images/home1.jpg');
    }

    .image-content {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .container-mirror {
        padding: 0 32px 32px 32px;
    }

    .description-mirror{
        margin: 24px 0 18px 0;
    }

    .illustration-mirror{
        content: url('../image/home4.jpg');
        width: 100%;
    }
    
    .video-content-mirror {
        width: 100%;
        height: 240px;
    }

    .features {
        background: #fff;
        background-image: url('../images/Group110_1.png'); /* Ensure correct path */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .features-content {
        flex-direction: column;
    }
    .features-text {
        width: 80%;
    }
    .features-image {
        width: 50%;
        display: flex;
        justify-content: center;
    }

    .features-image img {
        width: 350px;
        height: auto;
    }

    .contact-container {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .map-container {
        height: 250px;
    }

    .newsletter-input {
        flex-direction: row;
        width: 78%;
        height: 38px;
    }
    .newsletter-container {
        margin-top: 90px;
    }
    .newsletter-input input {
        font-size: 14px;
        padding: 10px;
    }

    .newsletter-input button {
        padding: 10px 15px;
        font-size: 14px;
    }
    .newsletter-input button { 
        width: 110px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        flex-direction: column;
    }
}

/* Responsive Subtitle Image */
@media (max-width: 480px) {
    .subtitle-image {
        width: 100%;
        margin: 10px 0;
    }

    .subtitle-image-mirror {
        width: 100%;
    }

    .contact-container {
        padding: 20px;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .map-container {
        height: 200px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 10px;
    }
}


@media (max-width: 1200px) {
    .navbar{
        flex-direction: column;
        align-items: center;
        position: relative;
    }
        
    .logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        flex-grow: 0.7;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 90px;
        margin: 0px auto;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.974);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 2000;
    }
    
    .nav-links.show {
        max-height: 550px;
        min-width: 280px;
        transform: translateY(0);
        opacity: 1;
        padding: 0;
        border-radius: 8px;
        visibility: visible;
        z-index: 2000;
    }

    .nav-links li {
        margin: 12px 0;
        border-bottom: 1px solid #6c5ce7;
    }

}

.internship-testimonials {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
    overflow: hidden;
}

.internship-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.intern-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Default padding for desktop */
}

.intern-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    align-items: stretch; /* Ensure cards are same height */
}

.intern-track::-webkit-scrollbar {
    display: none;
}

/* Card Design */
.intern-card {
    flex: 0 0 350px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intern-quote-icon {
    color: #e0e0e0;
    font-size: 2rem;
    margin-bottom: 15px;
}

.intern-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.intern-author h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.intern-author p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    font-style: normal;
}

/* Scroll Buttons - Color #6c5ce7 */
.intern-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #6c5ce7;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    color: #6c5ce7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intern-nav-btn:hover {
    background: #6c5ce7;
    color: white;
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.intern-prev { left: 0; }
.intern-next { right: 0; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .internship-testimonials {
        padding: 40px 0; /* Remove side padding from the section container */
    }
    
    .intern-carousel-wrapper {
        padding: 0; /* Remove wrapper padding to allow full-width scroll */
        width: 100%;
    }

    .intern-track {
        gap: 15px;
        padding: 20px 20px; /* Add padding inside track for breathing room at edges */
    }

    .intern-card {
        flex: 0 0 280px; /* Reduce width slightly for mobile */
        padding: 25px;
    }

    .intern-nav-btn {
        display: none; /* Hide buttons on mobile (swipe only) */
    }
}

/* Consultancy Section */
.consultancy-wrapper {
    background-color: #f9f9f9;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}
.consultancy-container {
    max-width: 1200px;
    margin: 0 auto;
}
.consultancy-header {
    text-align: center;
    margin-bottom: 40px;
}
.consultancy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.consultancy-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
    min-height: 250px;
}
.consultancy-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.consultancy-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.consultancy-project-title {
    color: #222;
    font-size: 1.15rem;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    flex: 1;
}
.consultancy-domain-tag {
    background-color: #e3f2fd;
    color: #1976d2;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}
.consultancy-project-desc {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}
.consultancy-media {
    width: 250px;
    flex-shrink: 0;
    background: #000;
    height: auto;
    min-height: 250px;
    align-self: stretch;
}
.consultancy-media img, .consultancy-media video, .consultancy-media iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .consultancy-grid {
        grid-template-columns: 1fr;
    }
    .consultancy-card {
        max-height: 200px;
    }
    .consultancy-media {
        width: 150px;
        height: 200px;
    }
    .consultancy-project-title {
        font-size: 1rem;
    }
    .consultancy-project-desc {
        font-size: 0.75rem;
    }
}

/* Marquee Gallery */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: #f9f9f9;
    padding-bottom: 20px;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.marquee-content img {
    height: 150px;
    width: auto;
    margin: 0 10px;
    border-radius: 10px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 3D Coverflow Carousel */
.coverflow-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9;
    overflow: hidden;
}
.coverflow-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}
.coverflow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.coverflow-card {
    position: absolute;
    width: 320px;
    height: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s;
    opacity: 0;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.coverflow-card iframe {
    width: 100%;
    height: 200px;
    border: none;
    pointer-events: none;
    flex-shrink: 0;
}
.coverflow-card.active iframe {
    pointer-events: auto;
}
.coverflow-caption {
    padding: 20px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.coverflow-stars {
    color: #ffb400;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.coverflow-quote {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}
.coverflow-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.coverflow-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    object-fit: cover;
}
.coverflow-profile-info h4 {
    font-size: 0.95rem;
    color: #222;
    margin: 0 0 2px 0;
    font-weight: 700;
}
.coverflow-profile-info p {
    font-size: 0.75rem;
    color: #777;
    margin: 0;
}

/* Positions */
.coverflow-card.active {
    transform: translateX(0) scale(1.05);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.coverflow-card.prev-1 {
    transform: translateX(-380px) scale(0.85) translateZ(-100px);
    opacity: 0.85;
    z-index: 4;
}
.coverflow-card.next-1 {
    transform: translateX(380px) scale(0.85) translateZ(-100px);
    opacity: 0.85;
    z-index: 4;
}
.coverflow-card.prev-2 {
    transform: translateX(-700px) scale(0.7) translateZ(-250px);
    opacity: 0.6;
    z-index: 3;
}
.coverflow-card.next-2 {
    transform: translateX(700px) scale(0.7) translateZ(-250px);
    opacity: 0.6;
    z-index: 3;
}
.coverflow-card.hidden {
    transform: translateX(0) scale(0.5) translateZ(-400px);
    opacity: 0;
    z-index: 1;
}

/* Dots Navigation */
.coverflow-dots-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}
.coverflow-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}
.coverflow-dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.coverflow-dot.active {
    background-color: #f97316;
    width: 25px;
    border-radius: 10px;
}
.coverflow-arrow {
    cursor: pointer;
    font-size: 1.2rem;
    color: #aaa;
    user-select: none;
    transition: color 0.3s;
}
.coverflow-arrow:hover {
    color: #444;
}

/* Media Query for 3D Carousel on smaller screens */
@media (max-width: 900px) {
    .coverflow-container { height: 450px; perspective: 800px; }
    .coverflow-card { width: 280px; height: 380px; }
    .coverflow-card iframe { height: 160px; }
    .coverflow-card.prev-1 { transform: translateX(-200px) scale(0.85) translateZ(-100px); }
    .coverflow-card.next-1 { transform: translateX(200px) scale(0.85) translateZ(-100px); }
    .coverflow-card.prev-2 { transform: translateX(-350px) scale(0.7) translateZ(-250px); opacity: 0; }
    .coverflow-card.next-2 { transform: translateX(350px) scale(0.7) translateZ(-250px); opacity: 0; }
}

@media (max-width: 600px) {
    .coverflow-container { height: 400px; perspective: 600px; }
    .coverflow-card { width: 260px; height: 350px; }
    .coverflow-card iframe { height: 150px; }
    .coverflow-card.prev-1 { transform: translateX(-120px) scale(0.85) translateZ(-150px); opacity: 0; }
    .coverflow-card.next-1 { transform: translateX(120px) scale(0.85) translateZ(-150px); opacity: 0; }
}





