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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #343a40;
    line-height: 1.7;
    margin: 0;
    padding-top: 70px; /* Add padding to offset fixed navbar */
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #10b981;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-main {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center 10%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroFade 18s infinite;
}

.hero-bg-1 { background-image: url('../images/Home/TTCC.jpg'); animation-delay: 0s; }
.hero-bg-2 { background-image: url('../images/Home/TTCC M.jpg'); animation-delay: 6s; }
.hero-bg-3 { background-image: url('../images/Home/TTCC W.jpg'); animation-delay: 12s; }

/* Adjust framing: move TTCC and TTCC W slightly downward */
.hero-bg-1 { background-position: center 90%; }
.hero-bg-2 { background-position: center 20%; }
.hero-bg-3 { background-position: center 60%; }

@keyframes heroFade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-content-main {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0 1rem;
    width: 100%;
    max-width: 1200px;
}

.hero-content-main h1 {
    font-size: 3.8rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content-main p {
    font-size: 1.4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

/* General Hero for Inner Pages */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(20, 30, 40, 0.75), rgba(20, 30, 40, 0.75)), url('../images/background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    border-bottom: 5px solid #10b981;
}

.hero-container {
    /* The text-align from .hero should handle centering */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* General Section Styling */
.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #10b981;
    border-radius: 2px;
}

/* About & Content Sections */
.about-section-new, .content-grid {
    padding: 5rem 0;
}

.content-grid {
    background: #f8f9fa;
}

.content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.content-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Tournaments Section */
.tournaments-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tournament-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tournament-header h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tournament-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tournament-details {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.detail-icon {
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
}

.detail-text {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.4;
}

.detail-text strong {
    color: #2d3748;
}

.tournament-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.know-more-link {
    display: inline-block;
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    align-self: flex-end;
    margin-left: auto;
}

.know-more-link:hover {
    color: #059669;
    transform: translateX(5px);
}

.know-more-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.know-more-link:hover::after {
    width: 100%;
}

.coming-soon-link {
    display: inline-block;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    align-self: flex-end;
    margin-left: auto;
    cursor: default;
}

.coming-soon-link:hover {
    color: #9ca3af;
    transform: none;
}

.coming-soon-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #9ca3af;
    transition: width 0.3s ease;
}

.coming-soon-link:hover::after {
    width: 0;
}

/* Responsive Design for Tournaments */
@media (max-width: 992px) {
    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tournaments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tournament-card {
        padding: 1.5rem;
    }
    
    .tournament-header h3 {
        font-size: 1.3rem;
    }
    
    .detail-item {
        gap: 0.5rem;
    }
    
    .detail-icon {
        font-size: 1.1rem;
        min-width: 1.3rem;
    }
    
    .detail-text {
        font-size: 0.9rem;
    }
    
    .know-more-link,
    .coming-soon-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tournament-card {
        padding: 1rem;
    }
    
    .tournament-header h3 {
        font-size: 1.2rem;
    }
    
    .tournament-subtitle {
        font-size: 0.9rem;
    }
    
    .detail-text {
        font-size: 0.85rem;
    }
    
    .tournament-description {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
    
    .know-more-link,
    .coming-soon-link {
        font-size: 0.8rem;
    }
}

/* Teams Section */
.teams-section-new {
    padding: 5rem 0;
}

.team-card-new {
    height: 180px;
    overflow: hidden;
}

.team-card-new img {
    transition: transform 0.4s ease;
}

.team-card-new:hover img {
    transform: scale(1.1);
}

/* Champions Section */
.champions-section-new {
    padding: 5rem 0;
    background: #1f2937;
}

.champions-section-new .section-title {
    color: white;
}

.champions-section-new .section-title::after {
    background: white;
}

/* Footer */
.footer-new {
    padding: 4rem 0;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
    display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
    text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content-main h1 {
        font-size: 2.5rem;
    }

    .teams-section-new {
        padding: 1rem 0 2rem 0;
    }

    .teams-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 15px;
    }

    .team-card-new {
        font-size: 1rem;
        padding: 1.5rem 1rem;
    }
    
    /* Image responsive fixes */
    .team-card-new img,
    .gst20-team-card img,
    .testimonial-image img,
    .partner-logo,
    .tournament-poster,
    .champions-carousel-new img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Navbar logo responsive fix */
    .nav-logo img {
        height: 40px;
        width: auto;
        max-width: none;
    }
    
    /* Card responsive fixes */
    .content-card,
    .tournament-card,
    .testimonial-card,
    .partner-card,
    .nav-card,
    .stat-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    /* Grid responsive fixes */
    .content-grid,
    .tournaments-grid,
    .testimonials-grid,
    .partners-grid,
    .nav-cards-container,
    .stats-cards-container {
        gap: 1rem;
    }
    
    /* Container responsive fixes */
    .container {
        padding: 0 15px;
    }
    
    /* Navbar container responsive fix */
    .nav-container {
        padding: 0 15px;
    }
    
    /* Section responsive fixes */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Button responsive fixes */
    .btn-secondary,
    .know-more-link,
    .coming-soon-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content-main h1 {
        font-size: 2rem;
    }

    .teams-grid-new {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .team-card-new {
        font-size: 1.1rem;
        padding: 1.5rem;
        min-height: 80px;
    }
    
    /* Extra small screen responsive fixes */
    .container {
        padding: 0 10px;
    }
    
    /* Navbar container responsive fix for small screens */
    .nav-container {
        padding: 0 10px;
    }
    
    .content-card,
    .tournament-card,
    .testimonial-card,
    .partner-card,
    .nav-card,
    .stat-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-secondary,
    .know-more-link,
    .coming-soon-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Image responsive fixes for small screens */
    .testimonial-image img {
        width: 80px;
        height: 80px;
    }
    
    .team-card-new img,
    .gst20-team-card img {
        max-width: 100%;
        height: auto;
    }
    
    /* Navbar logo responsive fix for small screens */
    .nav-logo img {
        height: 35px;
        width: auto;
        max-width: none;
    }
    
    /* Grid responsive fixes for small screens */
    .content-grid,
    .tournaments-grid,
    .testimonials-grid,
    .partners-grid,
    .nav-cards-container,
    .stats-cards-container {
        gap: 0.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: white;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.counter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.counter-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.counter-display {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.counter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

.counter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.tech-stack h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.tech-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-card:nth-child(1) i { color: #e34f26; }
.tech-card:nth-child(2) i { color: #1572b6; }
.tech-card:nth-child(3) i { color: #f7df1e; }

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f8fafc;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.6;
}

.modal-btn {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Dark Theme */
body.dark-theme {
    background: #0f172a;
    color: #f1f5f9;
}

body.dark-theme .navbar {
    background: rgba(15, 23, 42, 0.95);
}

body.dark-theme .nav-link {
    color: #f1f5f9;
}

body.dark-theme .feature-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-theme .feature-card h3 {
    color: #f1f5f9;
}

body.dark-theme .feature-card p {
    color: #94a3b8;
}

body.dark-theme .about {
    background: #0f172a;
}

body.dark-theme .contact-form {
    background: #1e293b;
    border-color: #334155;
}

body.dark-theme .contact-item {
    background: #1e293b;
    border-color: #334155;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Enhanced Players List Styles */
#players-list-container {
    margin-top: 2rem;
    max-height: 500px;
    overflow-y: auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.players-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.players-list li {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.players-list li::before {
    content: '';
    position: absolute;
    top: 0;
        left: -100%;
        width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.players-list li:hover::before {
    left: 100%;
}

.players-list li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Responsive Design - CONFLICTING SECTION COMMENTED OUT */
/*
@media (max-width: 768px) {
    .players-list-container {
        max-height: 400px;
        padding: 1.5rem;
    }
    .players-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    .players-list li {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}
*/

@media (max-width: 480px) {
    .players-list {
        grid-template-columns: 1fr;
    }
    .players-list li {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Player Cards */
.player-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    min-height: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.player-info h3 {
    color: #1f2937;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.3;
    flex-shrink: 0;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.stat {
    text-align: center;
    padding: 1rem 0.6rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
        flex-direction: column;
    justify-content: center;
}

.stat:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1.2;
}

.player-actions {
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.view-details-btn {
    display: inline-flex;
        align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.view-details-btn i {
    font-size: 0.8rem;
}

/* Responsive Design for Player Cards */
@media (max-width: 1200px) {
    .players-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 1200px;
    }
}

@media (max-width: 992px) {
    .players-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .players-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .player-card {
        padding: 1.8rem;
        min-height: 240px;
    }
    
    .player-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .player-stats {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .stat {
        padding: 0.8rem 0.4rem;
        min-height: 60px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .view-details-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .players-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .player-card {
        padding: 1.8rem;
        min-height: 220px;
    }
    
    .player-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .player-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .stat {
        padding: 0.8rem 0.4rem;
        min-height: 60px;
    }
    
    .stat-label {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .view-details-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Leaderboard Styles */
.leaderboard-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 60vh;
}

.leaderboard-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leaderboard-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.leaderboard-table thead {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.leaderboard-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
    color: #374151;
}

.leaderboard-table tbody tr:hover {
    background: #f9fafb;
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-table .highlight {
    font-weight: 700;
    color: #10b981;
    background-color: #f0fdf4;
}

.leaderboard-table a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    transition: color 0.3s ease;
}

.leaderboard-table a:hover {
    color: #059669;
    text-decoration: underline;
}

/* Rank column styling */
.leaderboard-table td:first-child {
    font-weight: 700;
    color: #10b981;
    text-align: center;
    font-size: 1.2rem;
}

/* Top 3 ranks special styling */
.leaderboard-table tbody tr:nth-child(1) td:first-child {
    color: #fbbf24;
    font-size: 1.4rem;
}

.leaderboard-table tbody tr:nth-child(2) td:first-child {
    color: #9ca3af;
    font-size: 1.3rem;
}

.leaderboard-table tbody tr:nth-child(3) td:first-child {
    color: #d97706;
    font-size: 1.3rem;
}

/* Responsive design for leaderboard */
@media (max-width: 768px) {
    .leaderboard-section {
        padding: 1rem 0;
    }
    
    .leaderboard-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .leaderboard-table {
        font-size: 0.9rem;
        border-radius: 15px;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .leaderboard-table th {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-table {
        font-size: 0.8rem;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .leaderboard-section .section-title {
        font-size: 1.8rem;
    }
}

/* Dashboard Styles */
.dashboard-section {
    padding: 3rem 0;
}

.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .stats-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-cards-container {
        grid-template-columns: 1fr;
    }
}

.stats-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}



.stats-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.data-source {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 8px;
    color: #059669;
    font-size: 0.9rem;
    font-weight: 500;
}

.loading-indicator i {
    font-size: 1rem;
}

.loading-indicator.hidden {
    display: none;
}

.success-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 8px;
    color: #059669;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.5s ease;
}

.success-indicator i {
    font-size: 1rem;
}

.success-indicator.hidden {
    display: none;
}

.error-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.5s ease;
}

.error-indicator i {
    font-size: 1rem;
}

.error-indicator.hidden {
    display: none;
}



.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card i {
    font-size: 2.5rem;
    color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 1rem;
    border-radius: 50%;
}

.stat-info .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
}

.stat-card.loading .stat-value {
    color: #6b7280;
    font-style: italic;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive adjustments for stats cards */
@media (max-width: 768px) {
    .stats-header h3 {
        font-size: 1.5rem;
    }
    
    .stats-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .stat-card i {
        font-size: 2rem;
        padding: 0.8rem;
    }
    
    .stat-info .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-info .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-header h3 {
        font-size: 1.3rem;
    }
    
    .stats-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .stat-card i {
        font-size: 1.8rem;
        padding: 0.6rem;
    }
    
    .stat-info .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-info .stat-label {
        font-size: 0.75rem;
    }
}

.nav-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.nav-card {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.nav-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #10b981;
}

.nav-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.nav-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Remove previous static site styles if they exist */
.hero-static, .about-section, .teams-section, .champions-section, .footer {
    /* Add properties here to override if needed, or remove the selectors */
}

/* New Modern Static Site Styles */
.hero-main {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/TTCC Header.jpg') no-repeat center 10% /cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content-main h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content-main p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-hero {
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-hero:hover {
    background: #059669;
}

.about-section-new {
    padding: 4rem 0;
    text-align: center;
}

.about-section-new h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-section-new .lead-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b7280;
}

.teams-section-new {
    padding: 2.5rem 0;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.teams-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card-new {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.team-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.champions-section-new {
    padding: 4rem 0;
}

.champions-carousel-new {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.champions-carousel-new .carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    background: #f9fafb;
    border-radius: 15px;
}

.champions-carousel-new .carousel-item-new {
    min-width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.champions-carousel-new img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Special styling for Black Caps image to make it more landscape-oriented */
.champions-carousel-new img[alt*="Black Caps"] {
    object-fit: cover;
    object-position: center 35%;
    height: 100%;
    width: 100%;
}

/* Apply same zoom/crop for 001 Gabba to remove whitespace */
.champions-carousel-new img[alt*="001 Gabba"] {
    object-fit: cover;
    object-position: center 65%;
    height: 100%;
    width: 100%;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #10b981;
}

.footer-new {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .teams-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content-main h1 {
        font-size: 2.5rem;
    }
    .teams-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Content Grid Section */
.content-grid {
    padding: 0;
}

.content-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.content-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.content-card p {
    line-height: 1.7;
    color: #4b5563;
}

.content-card .quote {
    font-style: italic;
    color: #10b981;
    border-left: 3px solid #10b981;
    padding-left: 1rem;
    margin: 1rem 0;
}

.content-card .features-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.content-card .features-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.content-card .features-list li::before {
    content: '🏏';
    position: absolute;
    left: 0;
    color: #10b981;
}

.content-card.highlight-card {
    background: #f0fdf4;
    border-color: #10b981;
}

.teams-section-new {
    padding: 4rem 0;
    background: #f9fafb;
}

/* TTCCPL Section */
.ttccpl-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #10b981 100%);
    color: white;
    text-align: center;
}

.ttccpl-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ttccpl-content p {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
}

.ttccpl-content .quote-light {
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem auto;
    max-width: 600px;
    border-left: 3px solid rgba(255, 255, 255, 0.9);
    padding-left: 1rem;
}

.btn-secondary {
    background: #10b981;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #10b981;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.content-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive styles for champions carousel */
@media (max-width: 768px) {
    .champions-carousel-new {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .champions-carousel-new .carousel-item-new {
        height: 300px;
        padding: 0.5rem;
    }
    
    .champions-carousel-new img {
        max-width: 95%;
        max-height: 95%;
    }
    
    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .champions-carousel-new .carousel-item-new {
        height: 250px;
    }
    
    .champions-carousel-new img {
        max-width: 90%;
        max-height: 90%;
    }
}

/* Alphabet Navigation Styles */
.alphabet-nav-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.alphabet-btn {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.alphabet-btn:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.alphabet-btn.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.alphabet-btn.disabled {
    background: #f3f4f6;
    color: #d1d5db;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.5;
}

.alphabet-btn.disabled:hover {
    background: #f3f4f6;
    color: #d1d5db;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: none;
}

/* Responsive styles for alphabet navigation */
@media (max-width: 768px) {
    .alphabet-nav {
        gap: 0.3rem;
    }
    
    .alphabet-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .alphabet-nav {
        gap: 0.2rem;
    }
    
    .alphabet-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        min-width: 30px;
    }
} 

/* Grand Slam T20 Section */
.grand-slam-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #10b981 100%);
    color: white;
}

.grand-slam-content {
    max-width: 1200px;
    margin: 0 auto;
}

.grand-slam-header {
    text-align: center;
    margin-bottom: 3rem;
}

.grand-slam-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.grand-slam-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #f8f9fa;
}

.grand-slam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.grand-slam-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ttccpl-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.info-card p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 0;
    flex-grow: 1;
}

.grand-slam-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tournament-poster {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tournament-poster:hover {
    transform: scale(1.02);
}

/* Grand Slam T20 Teams Section */
.gst20-teams-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gst20-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.gst20-team-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gst20-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gst20-team-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
}

.gst20-team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design for Grand Slam Section */
@media (max-width: 992px) {
    .grand-slam-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grand-slam-image {
        order: -1;
    }
    
    .gst20-teams-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .grand-slam-header h2 {
        font-size: 2.2rem;
    }
    
    .grand-slam-intro {
        font-size: 1.1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .ttccpl-info {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
    }
    
    .gst20-teams-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gst20-team-card {
        padding: 2rem;
        min-height: 250px;
    }
    
    .gst20-team-card img {
        height: 150px;
    }
    
    .gst20-team-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .grand-slam-header h2 {
        font-size: 1.8rem;
    }
    
    .grand-slam-intro {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .ttccpl-info {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
    
    .gst20-teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gst20-team-card {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .gst20-team-card img {
        height: 120px;
    }
    
    .gst20-team-card h3 {
        font-size: 1rem;
    }
}

/* Schedule Page Styles */
.schedule-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.schedule-header {
    text-align: center;
    margin-bottom: 3rem;
}

.schedule-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.schedule-header p {
    font-size: 1.1rem;
    color: #4a5568;
}

.schedule-filters {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filter-section {
    text-align: center;
}

.filter-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #10b981;
    background: white;
    color: #10b981;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #10b981;
    color: white;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.schedule-subheader {
    grid-column: 1 / -1;
    text-align: center;
}

.schedule-subheader h3 {
    display: inline-block;
    margin: 0;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
    font-weight: 700;
}

.match-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.match-card.knockout {
    border: 2px solid #f59e0b;
    background: #fffbeb;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.match-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.match-date {
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.match-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.match-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
}

.match-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.match-details {
    flex: 1;
    min-width: 0;
}

.teams {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

/* Slightly larger logos for TTCCPL schedule (scoped by asset path) */
.schedule-section .team-logo[src*="TTCCPL/Teams"] {
    width: 52px;
    height: 52px;
}

.team {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.vs {
    margin: 0 0.5rem;
    color: #718096;
    font-weight: 500;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.match-info-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.match-info span {
    font-size: 0.9rem;
    color: #4a5568;
}

.match-info i {
    margin-right: 0.5rem;
    color: #10b981;
}

.match-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}

.match-status.upcoming {
    background: #e6fffa;
    color: #10b981;
}

.match-status.knockout {
    background: #fff7ed;
    color: #b45309;
}

.match-status.live {
    background: #fed7d7;
    color: #e53e3e;
}

.match-status.completed {
    background: #f0fff4;
    color: #38a169;
}

.schedule-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.schedule-info .info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.schedule-info .info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-info .info-card h3 i {
    color: #10b981;
}

.schedule-info .info-card p {
    color: #4a5568;
    line-height: 1.6;
}

.schedule-info .format-details {
    margin-top: 1rem;
}

.schedule-info .format-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 1.5rem 0 0.5rem 0;
}

.schedule-info .format-details h4:first-child {
    margin-top: 0;
}

.schedule-info .format-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.schedule-info .format-details ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style-type: disc;
}

.schedule-info .format-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #4a5568;
}

.schedule-info .scoring-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-info .scoring-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    color: #2d3748;
}

.schedule-info .scoring-list li:last-child {
    border-bottom: none;
}

.schedule-info .scoring-list li strong {
    color: #10b981;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #10b981 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.partners-section .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.partner-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    position: relative;
}

.partner-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #1f2937 0%, #10b981 100%);
    border-radius: 2px;
}

.partner-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin-top: 1rem;
}

.partner-logo {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

/* Responsive Design for Partners */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .partner-card {
        padding: 2rem;
    }
    
    .partner-card h3 {
        font-size: 1.4rem;
    }
    
    .partner-image {
        min-height: 180px;
        padding: 1rem;
    }
    
    .partner-logo {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .partners-section .section-title {
        font-size: 1.8rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-card h3 {
        font-size: 1.2rem;
    }
    
    .partner-image {
        min-height: 150px;
    }
    
    .partner-logo {
        max-height: 120px;
    }
}

/* Responsive Design for Schedule */
@media (max-width: 768px) {
    .schedule-header h2 {
        font-size: 2rem;
    }
    
    .schedule-filters {
        gap: 1.5rem;
    }
    
    .filter-section h3 {
        font-size: 1.1rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .match-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: stretch;
    }
    
    .match-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .match-date {
        min-width: auto;
        order: 1;
    }
    
    .match-details {
        order: 2;
    }
    
    .teams {
        margin-bottom: 0.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .team-container {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .team-logo {
        width: 50px;
        height: 50px;
    }

    /* Keep TTCCPL logos a bit larger on tablets */
    .schedule-section .team-logo[src*="TTCCPL/Teams"] {
        width: 56px;
        height: 56px;
    }
    
    .team {
        font-size: 0.9rem;
        white-space: normal;
    }
    
    .vs {
        margin: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .match-info {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .match-info-details {
        order: 2;
    }
    
    .match-status {
        order: 3;
        align-self: center;
        margin-top: 0.5rem;
    }
    
    .schedule-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .schedule-header h2 {
        font-size: 1.8rem;
    }
    
    .schedule-header p {
        font-size: 1rem;
    }
    
    .match-card {
        padding: 1rem;
    }
    
    .match-date .day {
        font-size: 1.5rem;
    }
    
    .team-logo {
        width: 40px;
        height: 40px;
    }

    /* Keep TTCCPL logos a bit larger on phones */
    .schedule-section .team-logo[src*="TTCCPL/Teams"] {
        width: 44px;
        height: 44px;
    }
    
    .team {
        font-size: 0.8rem;
    }
    
    .match-info {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .match-info span {
        font-size: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
} 

/* Rules Page Styles */
.rules-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

.rules-intro {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
}

.rules-section-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 1.5rem;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.rules-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rules-section-card h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rules-section-card h2 i {
    color: #10b981;
    font-size: 1.3rem;
}

.rules-section-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-section-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.6;
    color: #374151;
}

.rules-section-card ul li:last-child {
    border-bottom: none;
}

.rules-section-card ul li strong {
    color: #1f2937;
    font-weight: 600;
}

.rules-section-card ul ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.rules-section-card ul ul li {
    padding: 0.25rem 0;
    border-bottom: none;
    position: relative;
}

.rules-section-card ul ul li::before {
    content: "•";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.rules-conclusion {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 2rem;
}

/* Responsive adjustments for rules page */
@media (max-width: 768px) {
    .rules-section {
        padding: 2rem 0;
    }
    
    .rules-content {
        padding: 0 1rem;
    }
    
    .rules-section-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .rules-section-card h2 {
        font-size: 1.3rem;
    }
    
    .rules-intro {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .rules-conclusion {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rules-section-card {
        padding: 1rem;
    }
    
    .rules-section-card h2 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .rules-section-card h2 i {
        font-size: 1.1rem;
    }
    
    .rules-intro {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .rules-conclusion {
        padding: 1rem;
        font-size: 0.95rem;
    }
} 

/* Testimonials Section Styles */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonials-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #10b981, #059669);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #10b981;
    opacity: 0.1;
    font-family: serif;
    font-weight: bold;
}

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

.testimonial-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
    border-color: #059669;
}

.testimonial-content h3 {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    margin: 0 0 1rem 0;
    font-style: italic;
    position: relative;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

.testimonial-content p em {
    font-style: italic;
    color: #374151;
    font-weight: 500;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-image img {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-content h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-image img {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-content h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
}

/* Upcoming Events Styles */
.content-card.highlight-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.content-card.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.content-card.highlight-card h3 {
    color: #065f46;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.content-card.highlight-card p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.content-card.highlight-card strong {
    color: #065f46;
    font-weight: 600;
}

.expectations-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.expectations-list li {
    padding: 0.5rem 0;
    color: #78350f;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
}



.call-to-action-text {
    text-align: center;
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0 0;
    padding: 1rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

/* Responsive adjustments for upcoming events */
@media (max-width: 768px) {
    .content-card.highlight-card h3 {
        font-size: 1.1rem;
    }
    
    .expectations-list li {
        font-size: 0.95rem;
    }
    
    .call-to-action-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-card.highlight-card h3 {
        font-size: 1rem;
    }
    
    .expectations-list li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    
    .call-to-action-text {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
}

/* Content Grid Cards Styling */
.content-grid .content-card {
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.content-grid .content-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.content-grid .content-card p:last-child {
    margin-bottom: 0;
}

/* Add bottom margin only to the third row (last 3 cards) */
.content-grid .content-card:nth-last-child(-n+3) {
    margin-bottom: 2rem;
}

/* Our Mission Section Styling */
.mission-card {
    margin: 3rem 0 0 0;
}

/* GST20 Buttons Container */
.gst20-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.gst20-buttons .btn-secondary {
    margin: 0;
}

/* Responsive adjustments for GST20 buttons */
@media (max-width: 768px) {
    .gst20-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .gst20-buttons .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.upcoming-events-grid .content-card {
    margin: 0;
}

/* Responsive adjustments for upcoming events */
@media (max-width: 992px) {
    .upcoming-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .upcoming-events-grid {
        grid-template-columns: 1fr;
    }
    
    .upcoming-events-section {
        padding: 3rem 0;
    }
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-header .section-title {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.story-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

.story-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.story-title {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.story-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text strong {
    color: #10b981;
    font-weight: 600;
}

.story-toggle {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.read-more-btn,
.read-less-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.read-more-btn:hover,
.read-less-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.read-more-btn:active,
.read-less-btn:active {
    transform: translateY(0);
}

.story-preview {
    position: relative;
}

.story-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.story-full {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsive styles for story section */
@media (max-width: 768px) {
    .our-story-section {
        padding: 60px 0;
    }
    
    .story-card {
        padding: 2rem;
        margin: 0 15px;
    }
    
    .story-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .story-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .story-text p {
        margin-bottom: 1.2rem;
        text-align: left;
    }
    
    .story-toggle {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .read-more-btn,
    .read-less-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .our-story-section {
        padding: 40px 0;
    }
    
    .story-card {
        padding: 1.5rem;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .story-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .story-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .story-text p {
        margin-bottom: 1rem;
    }
    
    .story-header .section-title {
        font-size: 1.8rem;
    }
    
    .story-subtitle {
        font-size: 1rem;
    }
    
    .story-toggle {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .read-more-btn,
    .read-less-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Contact Us Section */
.contact-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.organizer-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.organizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.organizer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.organizer-card:hover .organizer-image {
    border-color: #10b981;
}

.organizer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.karthik-image {
    object-position: center 25%;
}

.vipin-murugan-image {
    object-position: 60% center;
}

/* Instagram Section Styles */
.instagram-section {
    margin-top: 4rem;
}

.instagram-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.instagram-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.instagram-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.instagram-icon-large {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
}

.instagram-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.instagram-text {
    flex: 1;
}

.instagram-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instagram-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.3);
    animation: gradientShift 3s ease infinite;
}

.instagram-follow-btn:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    background-size: 200% 200%;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 39, 67, 0.4);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.organizer-card:hover .organizer-image img {
    transform: scale(1.05);
}

.organizer-info h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.organizer-role {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-info {
    margin-top: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #059669;
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1rem;
}

/* Responsive styles for contact us section */
@media (max-width: 768px) {
    .contact-us-section {
        padding: 60px 0;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .organizers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .organizer-card {
        padding: 1.5rem;
    }
    
    .organizer-image {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .organizer-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-us-section {
        padding: 40px 0;
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .organizers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .organizer-card {
        padding: 1.2rem;
    }
    
    .organizer-image {
        width: 80px;
        height: 80px;
    }
    
    .organizer-info h3 {
        font-size: 1.2rem;
    }
    
    .contact-link {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    
    /* Instagram section responsive */
    .instagram-banner {
        padding: 2rem;
    }
    
    .instagram-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .instagram-text h3 {
        font-size: 1.6rem;
    }
    
    .instagram-text p {
        font-size: 1rem;
    }
    
    .instagram-follow-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-banner {
        padding: 1.5rem;
    }
    
    .instagram-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .instagram-icon-large i {
        font-size: 2rem;
    }
    
    .instagram-text h3 {
        font-size: 1.4rem;
    }
    
    .instagram-text p {
        font-size: 0.95rem;
    }
    
    .instagram-follow-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}