/* Desktop Styles for Quantum Classes */

/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom CSS Variables */
:root {
    --primary-red: #dc2626;
    --primary-yellow: #fbbf24;
    --dark-red: #991b1b;
    --light-gray: #f9fafb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

/* Hero Section Enhancements - About Quantum Classes */
.hero-section {
    position: relative;
    overflow: hidden;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .max-w-7xl {
    position: relative;
    z-index: 2;
}

/* Hero Logo */
.hero-logo {
    animation: fadeInScale 1s ease-out;
}

.hero-logo .w-20 {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
    transition: transform 0.3s ease;
}

.hero-logo:hover .w-20 {
    transform: scale(1.05);
}

/* Hero Title */
.hero-title {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

/* Hero Description */
.hero-description p {
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.hero-features {
    margin: 3rem 0;
}

.feature-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Call to Action Buttons */
.hero-cta {
    margin: 3rem 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f59e0b 100%);
    color: var(--text-dark);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, var(--primary-yellow) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

/* Trust Indicators */
.hero-trust {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(251, 191, 36, 0.05);
}

.trust-item:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

.trust-item i {
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description p {
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-logo .flex {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-logo .w-20 {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .hero-cta .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-trust .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-item {
        justify-content: center;
    }
}

/* Director's Message Section Styles */
.director-message {
    animation: slideInLeft 0.8s ease-out;
}

.director-photo {
    animation: slideInRight 0.8s ease-out;
}

.director-quote blockquote {
    position: relative;
    padding-left: 2rem;
}

.director-quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
    font-family: serif;
}

.director-signature {
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.director-photo .bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.director-photo .bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    z-index: 1;
}

.director-photo .bg-gradient-to-br > div {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Director Section */
@media (max-width: 1024px) {
    .director-quote blockquote {
        font-size: 1.125rem;
    }
    
    .director-photo .w-64 {
        width: 16rem;
    }
    
    .director-photo .h-80 {
        height: 20rem;
    }
}

@media (max-width: 768px) {
    .director-message,
    .director-photo {
        animation: slideInUp 0.8s ease-out;
    }
    
    .director-quote blockquote {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .director-quote blockquote::before {
        font-size: 3rem;
    }
    
    .director-photo .w-64 {
        width: 14rem;
    }
    
    .director-photo .h-80 {
        height: 18rem;
    }
    
    .director-photo .w-32 {
        width: 8rem;
    }
    
    .director-photo .h-32 {
        height: 8rem;
    }
}

/* Navigation Auto-Hide Styles */
nav {
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

nav.nav-hidden {
    transform: translateY(-100%);
}

nav.nav-visible {
    transform: translateY(0);
}

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

/* Enhanced Footer Styles */
footer {
    position: relative;
    overflow: hidden;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

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

.footer-link {
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link i {
    position: relative;
    z-index: 2;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced hover effects */
.footer-link:hover {
    transform: translateX(5px);
}

.social-link:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Gradient text effect */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Enquiry Form Styles */
.enquiry-form {
    perspective: 1000px;
}

.form-group {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.form-group:hover {
    transform: translateZ(10px);
}

.form-input {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-input:focus {
    transform: translateZ(5px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.1), 0 10px 10px -5px rgba(220, 38, 38, 0.04);
}

.form-input:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    transform-style: preserve-3d;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3), 0 4px 6px -2px rgba(220, 38, 38, 0.1);
}

.submit-btn:hover {
    transform: translateZ(10px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.4);
}

.submit-btn:active {
    transform: translateZ(5px) scale(0.98);
}

/* Form Validation Icons */
.form-validation-icon {
    transition: all 0.3s ease;
}

.form-input:valid + .form-validation-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* Character Counter Animation */
.char-count {
    transition: color 0.3s ease;
}

.char-count.warning {
    color: #f59e0b;
}

.char-count.danger {
    color: #ef4444;
}

/* Background Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

/* 3D Card Effects */
.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Form Animation Classes */
.slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.slideInUp {
    animation: slideInUp 0.6s ease-out;
}

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

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

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

/* Gradient Text Animation */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Hover Effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:rotate-12:hover {
    transform: rotate(12deg);
}

.hover\:translate-x-1:hover {
    transform: translateX(0.25rem);
}

/* Form Success Animation */
.form-success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 200px;
    border: 1px solid #e5e7eb;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #dc2626;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Toppers Page Styles */
.category-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.category-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.category-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.topper-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.topper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.topper-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-red);
}

.topper-image {
    position: relative;
    z-index: 2;
}

.topper-info {
    position: relative;
    z-index: 2;
}

.topper-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.topper-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive Design for Toppers */
@media (max-width: 1024px) {
    .topper-card {
        padding: 1.5rem;
    }
    
    .category-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Ensure course buttons are centered on tablets */
    .course-button {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .topper-card {
        padding: 1.25rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .topper-card:hover {
        transform: translateY(-4px);
    }
}

/* Course Card Styles */
.course-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
    width: 100%;
    min-height: 420px;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Course Cards Container */
.courses-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0;
    overflow: visible;
    justify-items: center;
}


.course-card-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.course-card-body {
    padding: 1.5rem;
}

.course-price {
    background: var(--primary-yellow);
    color: var(--dark-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.course-features {
    list-style: none;
    padding: 0;
}

.course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 1.5rem;
}

.course-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.course-features li:last-child {
    border-bottom: none;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Course Button Styles - Center alignment for all devices */
.course-button {
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--primary-yellow);
    color: var(--dark-red);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* Section Styles */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* About and Vision Sections */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.section-header {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Info Styles */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer Styles */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    font-weight: bold;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
    }
}

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

@keyframes wiggle {
    0%, 7%, 14% {
        transform: rotateZ(0deg);
    }
    2%, 5% {
        transform: rotateZ(-3deg);
    }
    4% {
        transform: rotateZ(3deg);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-down {
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.wiggle {
    animation: wiggle 1s ease-in-out;
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.fade-in-scale {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-scale {
    animation: slideInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Responsive Design for Medium Screens (Tablets) */
@media (min-width: 769px) and (max-width: 1023px) {
    /* Ensure course buttons are centered on medium screens */
    .course-button {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .course-card {
        min-height: 400px;
    }
}

/* Responsive Design */
@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .course-card {
        min-height: 440px;
    }
    
    /* Ensure course buttons are centered on desktop */
    .course-button {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 1280px) {
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
    
    .course-card {
        min-height: 460px;
    }
    
    /* Ensure course buttons are centered on large screens */
    .course-button {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 1536px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .course-card {
        min-height: 480px;
    }
    
    /* Ensure course buttons are centered on extra large screens */
    .course-button {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

/* Facility Cards */
.facilities-container {
    overflow: visible;
}

.facilities-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    flex-direction: unset !important;
    width: auto !important;
    min-width: auto !important;
}

.facility-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    flex: unset !important;
    width: auto !important;
    min-width: auto !important;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-red);
}

.facility-icon {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    font-size: 1.75rem;
}

.facility-card:hover .facility-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.facility-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.facility-description {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Faculty Cards */
.faculty-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0;
}

.faculty-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

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

.faculty-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.faculty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.faculty-info {
    padding: 1.5rem;
    text-align: center;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faculty-post {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.faculty-qualification {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faculty-experience {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.faculty-specialization {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    font-style: italic;
}

/* About Us Page Enhancements */
.about-hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, #7c2d12 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::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="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 1s ease-out;
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.3s both;
}

/* About Story Section */
.about-story-section {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    position: relative;
}

.about-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-yellow) 50%, var(--primary-red) 100%);
}

.story-badge {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    animation: slideInLeft 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.story-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.story-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out both;
}

.story-text:nth-child(1) { animation-delay: 0.4s; }
.story-text:nth-child(2) { animation-delay: 0.6s; }
.story-text:nth-child(3) { animation-delay: 0.8s; }

.story-visual-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.story-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
}

.story-icon-container {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 1s ease-out 0.6s both;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.story-icon {
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
}

.story-visual-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.story-visual-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* Faculty Cards Enhancement */
.faculty-card-enhanced {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

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

.faculty-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.faculty-icon-enhanced {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.faculty-card-enhanced:hover .faculty-icon-enhanced {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.faculty-icon-enhanced i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.faculty-card-enhanced:hover .faculty-icon-enhanced i {
    transform: scale(1.1);
}

.faculty-title-enhanced {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.faculty-card-enhanced:hover .faculty-title-enhanced {
    color: var(--primary-red);
}

.faculty-subtitle-enhanced {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faculty-specialty-enhanced {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.4;
}

/* Methodology Section Enhancement */
.methodology-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.methodology-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

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

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.methodology-card:hover::before {
    opacity: 1;
}

.methodology-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.methodology-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f59e0b 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.methodology-card:hover .methodology-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.methodology-icon i {
    font-size: 1.75rem;
    color: var(--dark-red);
    transition: all 0.3s ease;
}

.methodology-card:hover .methodology-icon i {
    transform: scale(1.1);
}

.methodology-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.methodology-card:hover .methodology-title {
    color: var(--primary-red);
}

.methodology-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Achievements Section Enhancement */
.achievements-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.achievements-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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.achievements-container {
    position: relative;
    z-index: 1;
}

.achievements-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.achievements-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.achievement-stat {
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
}

.achievement-stat:nth-child(1) { animation-delay: 0.3s; }
.achievement-stat:nth-child(2) { animation-delay: 0.4s; }
.achievement-stat:nth-child(3) { animation-delay: 0.5s; }
.achievement-stat:nth-child(4) { animation-delay: 0.6s; }

.achievement-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

.achievement-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call to Action Enhancement */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f59e0b 100%);
    color: var(--dark-red);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    animation: slideInUp 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

/* Enhanced Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding: 0.5rem;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fab-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-main:hover::before {
    opacity: 1;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.fab-main i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.fab-main.active {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f59e0b 100%);
}

.fab-main.active i {
    color: var(--dark-red);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-item:hover::before {
    opacity: 1;
}

.fab-item:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: fabSlideIn 0.3s ease-out 0.1s both;
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    animation: fabSlideIn 0.3s ease-out 0.2s both;
}

.fab-item i {
    font-size: 1.25rem;
    color: white;
    transition: all 0.3s ease;
}

.fab-item:hover i {
    transform: scale(1.1);
}

/* Tooltip */
.fab-item[data-tooltip] {
    position: relative;
}

.fab-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1001;
    animation: tooltipFadeIn 0.3s ease-out;
}

.fab-item[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

/* Animations */
@keyframes fabSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tooltipFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Pulse animation for FAB */
@keyframes fabPulse {
    0% {
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6), 0 0 0 10px rgba(220, 38, 38, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    }
}

.fab-main.pulse {
    animation: fabPulse 2s infinite;
}

/* Image Slider Styles */
.image-slider-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: #000;
}

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

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

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    position: relative;
    width: 20%;
    height: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

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

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.7) 0%, rgba(153, 27, 27, 0.7) 100%);
    z-index: 1;
}

.slide-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    animation: slideInUp 1s ease-out 0.5s both;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.slide-description {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    opacity: 0.95;
}

.slide-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f59e0b 100%);
    color: var(--dark-red);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.slide-button:hover::before {
    left: 100%;
}

.slide-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
    color: var(--dark-red);
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

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

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

.dot.active::before {
    width: 6px;
    height: 6px;
    background: var(--dark-red);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Slider Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Design for Slider */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-description {
        font-size: 1.25rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .slider-nav.prev {
        left: 1rem;
    }
    
    .slider-nav.next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .image-slider-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .slide-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .slide-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .slider-nav.prev {
        left: 0.5rem;
    }
    
    .slider-nav.next {
        right: 0.5rem;
    }
    
    .slider-dots {
        bottom: 1.5rem;
        gap: 0.75rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .image-slider-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-text {
        padding: 0 1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-red), var(--primary-yellow)) border-box;
}
