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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-left, .logo-right {
    flex: 0 0 auto;
}

.logo-right {
    margin-left: auto;
    padding-right: 0;
    position: relative;
    right: -20px;
}

.iit-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.iit-logo:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    transform: translateY(-2px);
}

.iar-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.iar-logo:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    transform: translateY(-2px);
}

.header-title {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.header-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    position: relative;
}

.header-title h1::after {
    content: '';
    display: block;
    margin: 16px auto 0 auto;
    width: 80px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #f1c40f 60%, #f9e79f 100%);
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.15);
}

.header-title p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Hero Slider Styles - SAC Inspired */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

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

.slide-image {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.slide.active .slide-image img {
    transform: scale(1);
}

.slide-content {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.slide-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 4px;
    background: linear-gradient(to bottom, #f1c40f, #e67e22);
    border-radius: 2px;
}

/* Yellow Stripes for Celebrating Success */
.yellow-stripes-top, .yellow-stripes-bottom {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.yellow-stripes-top {
    top: 20px;
}

.yellow-stripes-bottom {
    bottom: 20px;
}

.stripe {
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, #f1c40f, #f39c12);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
    animation: stripeGlow 2s ease-in-out infinite alternate;
}

.stripe:nth-child(2) {
    animation-delay: 0.3s;
    height: 35px;
}

.stripe:nth-child(3) {
    animation-delay: 0.6s;
    height: 45px;
}

@keyframes stripeGlow {
    0% {
        box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
        transform: scaleY(1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(241, 196, 15, 0.6);
        transform: scaleY(1.1);
    }
}

.slide-text {
    max-width: 500px;
    text-align: left;
}

.slide-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: #f1c40f;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(241, 196, 15, 0.3);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Progress Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: #f1c40f;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(241, 196, 15, 0.8);
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1c40f, #e67e22);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    color: #f1c40f;
    margin-bottom: 24px;
    opacity: 0.8;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f1c40f;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide {
        flex-direction: column;
    }
    
    .slide-image {
        height: 50%;
    }
    
    .slide-content {
        height: 50%;
        padding: 40px;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-title h1 {
        font-size: 2rem;
    }
    
    .header-title p {
        font-size: 1rem;
    }
    
    .iit-logo, .iar-logo {
        height: 50px;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
    
    .slide-text {
        text-align: center;
    }
    
    .slide-text h2 {
        font-size: 1.8rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonials-section {
        padding: 80px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-title h1 {
        font-size: 1.8rem;
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-content {
        padding: 20px 15px;
    }
    
    .slide-text h2 {
        font-size: 1.5rem;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

/* Animation Enhancements */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

/* Loading States */
.slide-image img {
    transition: opacity 0.3s ease, transform 8s ease-out;
}

.slide-image img[data-loaded="false"] {
    opacity: 0;
}

.slide-image img[data-loaded="true"] {
    opacity: 1;
}

.horizontal-stripes {
    position: absolute;
    left: 50%; /* Start at the end of the image (assuming image and content are 50% each) */
    right: 0;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}
.horizontal-stripes-top {
    top: 32px;
}
.horizontal-stripes-bottom {
    bottom: 32px;
}
.horizontal-stripes::before,
.horizontal-stripes::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #f1c40f 60%, #f9e79f 100%);
    border-radius: 2px;
    margin: 3px 0;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.15);
}
.horizontal-stripes::after {
    background: linear-gradient(90deg, #f9e79f 0%, #f1c40f 100%);
}

/* Remove old yellow stripes styles */
.yellow-stripes-top, .yellow-stripes-bottom, .stripe { display: none !important; }