/* Red Theme with Animations */

:root {
    --primary-red: #DC143C;
    --dark-red: #B22222;
    --light-red: #FF6B6B;
    --accent-red: #FF4757;
    --red-orange: #FF6347;
    --crimson: #DC143C;
    --fire-red: #FF4500;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --black: #000000;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E74C3C;
    --shadow-red: rgba(220, 20, 60, 0.2);
    --gradient-red: linear-gradient(135deg, #DC143C 0%, #FF6B6B 100%);
    --gradient-dark: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

/* Global Styles with Animations */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    animation: fadeIn 0.8s ease-in;
}

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

/* Typography with Animations */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    animation: slideInFromLeft 0.8s ease-out;
}

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

.display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    color:white !important;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(220, 20, 60, 0.5); }
    to { text-shadow: 0 0 20px rgba(220, 20, 60, 0.8); }
}

.lead {
    font-weight: 400;
    color: var(--text-light);
    animation: slideInFromRight 0.8s ease-out 0.2s both;
}

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

/* Buttons - Red Theme with Animations */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    animation: bounceIn 0.6s ease-out;
}

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

.btn::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;
}

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

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-red);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--crimson) 100%);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-red);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-red);
}

.btn-light {
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-gray);
}

.btn-light:hover {
    background: var(--gradient-red);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-red);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Cards - Red Theme with Animations */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
    position: relative;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover {
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.card-header {
    background: var(--gradient-red);
    color: var(--white);
    border-bottom: none;
    padding: 20px 24px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

/* Navigation - Red Theme with Animations */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(220, 20, 60, 0.1);
    padding: 16px 0;
    animation: slideDown 0.6s ease-out;
}

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

.navbar-brand {
    font-weight: 800;
    color: var(--primary-red) !important;
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

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

.navbar-nav .nav-link {
    min-width: 150px;
    text-align: center;
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: var(--gradient-red);
    color: var(--white) !important;
    box-shadow: 0 4px 15px var(--shadow-red);
}

/* Hero Section - Red Theme with Animations */
.hero-section {
    background: var(--gradient-red);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: var(--gradient-red); }
    50% { background: linear-gradient(135deg, var(--dark-red) 0%, var(--fire-red) 100%); }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: float 6s ease-in-out infinite;
}

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

.hero-overlay {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-section h1 {
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: heroText 1s ease-out 0.5s both;
}

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

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    animation: heroText 1s ease-out 0.8s both;
}

/* Form Controls - Red Theme with Animations */
.form-control, .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--white);
    animation: slideInUp 0.8s ease-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    animation: slideInLeft 0.8s ease-out;
}

/* Sections - Red Theme */
section {
    padding: 100px 0;
    animation: fadeInUp 1s ease-out;
}

.bg-primary {
    background: var(--gradient-red) !important;
}

.bg-light {
    background: var(--light-gray) !important;
}

.text-primary {
    color: var(--primary-red) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Carousel - Red Theme with Animations */
.carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.2);
    animation: slideInUp 1s ease-out;
}

.carousel-item img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-red);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--dark-red);
    transform: translateY(-50%) scale(1.1);
}

/* Gallery - Red Theme with Animations */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out;
    aspect-ratio: 2;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.gallery-overlay {
    background: linear-gradient(transparent, rgba(87, 57, 63, 0.2));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white !important;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Footer - Red Theme with Animations */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0 40px;
    animation: slideInUp 1s ease-out;
}

footer h5, footer h6 {
    color: var(--white);
    font-weight: 700;
    animation: slideInLeft 0.8s ease-out;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

footer a:hover::after {
    width: 100%;
}

footer a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Alerts - Red Theme with Animations */
.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    animation: slideInRight 0.6s ease-out;
}

.alert-success {
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    color: var(--white);
}

.alert-danger {
    background: var(--gradient-red);
    color: var(--white);
}

/* Badges - Red Theme */
.badge {
    border-radius: 12px;
    font-weight: 600;
    padding: 8px 16px;
    animation: bounceIn 0.6s ease-out;
}

.badge.bg-success {
    background: var(--gradient-red) !important;
}

/* Utilities with Animations */
.shadow-sm {
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.1) !important;
}

.rounded {
    border-radius: 12px !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(220, 20, 60, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
}

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}
/*
Floating Animation for Elements
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
*/
/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

/* Shake Animation */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Rotate Animation */
.rotate {
    animation: rotate 2s linear infinite;
}

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


.carousel-caption h5{
    color:white !important;
}