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

html, body {
    border: none !important;
    outline: none !important;
    box-shadow: none;
}

/* Ensure no borders on any elements that could cause the line */
.container, .navbar, .navbar-brand, .logo, .logo-img, .navbar-menu, .navbar-nav, .nav-item, .nav-link {
    border: none !important;
    outline: none !important;
}

html {
    scroll-behavior: smooth;
}

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

/* === Global offset for fixed navbar (desktop) === */
html { scroll-padding-top: 80px; }
body { padding-top: 80px; }

@media (max-width: 768px) {
    /* Smaller offset on mobile */
    html { scroll-padding-top: 60px; }
    body { padding-top: 60px; }
    /* Reduce hero padding / height */
    .hero {
        min-height: 60vh !important;
        height: 60vh !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    /* Tighter top padding for first section */
    .section:first-of-type { padding-top: 2rem !important; }
    /* General section padding */
    .section { padding: 1.5rem 0 1.5rem 0 !important; }
    /* Extra spacing for page titles */
    .section-header:first-child {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }
    /* Mobile hero adjustments */
    .hero-content {
        margin: 0 !important;
        padding: 0 2rem !important;
        position: relative !important;
        z-index: 2 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem !important;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem !important;
        line-height: 1.4;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem !important;
    }
    .hero-buttons .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    /* Hide scroll indicator on mobile */
    .hero::after {
        display: none;
    }
    /* Mobile about section */
    .about {
        padding: 1rem 0 1.5rem 0 !important;
        margin: 0 !important;
    }
    /* Force remove any remaining spacing */
    .about .section-header {
        margin: 1rem 0 1.5rem 0 !important;
        padding: 1rem 0 !important;
    }
    /* Mobile about cards - make them smaller */
    .about-grid {
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    .about-card {
        padding: 1.5rem !important;
    }
    .about-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    .about-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
    }
    .about-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    /* Home page specific override - center hero content on image */
    .home-page .hero {
        margin-top: -80px !important;
        padding-top: 80px !important;
    }
    /* Mobile navbar adjustments */
    .navbar .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .navbar {
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1rem 0 !important; /* Back to normal padding */
    }
    .logo-img {
        max-height: 30px !important; /* Back to normal size */
        max-width: 140px !important; /* Back to normal size */
    }
    .navbar-brand {
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    /* Mobile menu positioning */
    .navbar-toggle {
        margin-left: auto !important;
        flex-shrink: 0 !important;
        padding: 1rem !important; /* Larger touch target */
        min-width: 48px !important; /* Minimum touch target size */
        min-height: 48px !important; /* Minimum touch target size */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .navbar-toggle span {
        width: 24px !important; /* Larger hamburger lines */
        height: 3px !important; /* Thicker lines */
        margin: 3px 0 !important; /* Better spacing */
    }
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(40, 40, 40, 0.95) !important; /* Dark background like navbar */
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .navbar-nav .nav-link {
        color: #ffffff !important; /* White text on dark background */
        font-size: 0.7rem !important; /* 30% smaller font */
        padding: 0.7rem 0 !important; /* 30% smaller padding */
    }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #cccccc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-large i {
    margin-right: 0.5rem;
}

/* Gallery Preview Section */
.gallery-preview-button {
    text-align: center;
    padding: 1rem 0 3rem 0;
}

.gallery-preview-button .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: none;
}

.gallery-preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-preview-item:hover {
    transform: scale(1.05);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(40, 40, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: none !important; /* Remove thin gap line */
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 35px;
    max-width: 180px;
    border: none;
    outline: none;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 45px;
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 40px;
        max-width: 200px;
    }
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
}

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

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.navbar-toggle:hover {
    background: rgba(220, 38, 38, 0.1);
}

.navbar-toggle span {
    width: 24px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Modern Design */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/boxing-stock.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.5) contrast(1.1);
}

/* Title overlay on top of background */
.hero-title-overlay {
    display: none; /* Hidden now replaced by inline image */
}

/* Inline hero title image */
.hero-title-img {
    width: 60%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 1rem;
}
@media (max-width: 768px) {
    .hero-title-img {
        width: 70%;
        max-width: 400px;
        margin: 1rem auto 0.8rem auto; /* extra top space below navbar */
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
    letter-spacing: -0.03em;
    line-height: 1;
    color: white;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: none;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .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;
}

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

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Modern scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
    padding: 4rem 0 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 3rem 0 3rem 0;
}

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

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(220, 38, 38, 0.3);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

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

.about-card p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background: #1a1a1a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #404040;
    min-height: 250px;
    aspect-ratio: 1;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #dc2626;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    box-sizing: border-box;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #dc2626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #b91c1c;
}

.contact-social h3 {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #dc2626;
    border-color: #dc2626;
}

.social-link i {
    font-size: 1.5rem;
    color: #dc2626;
}

/* Footer */
.footer {
    background: #0f0f0f;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 1rem;
    text-align: center;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid #404040;
    }

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

    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar-nav .nav-link {
        color: #ffffff !important;
        font-size: 1.1rem !important;
        font-weight: 400 !important;
        padding: 1rem 0 !important;
        border-radius: 0 !important;
        transition: all 0.3s ease !important;
        display: block !important;
        text-align: left !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid #404040 !important;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: transparent !important;
        color: #dc2626 !important;
    }
    
    .navbar-nav .nav-link.active {
        background: transparent !important;
        color: #dc2626 !important;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .navbar-toggle span {
        background: #ffffff !important;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.77rem !important; /* 10% larger: 0.7rem * 1.1 */
    }
    .hero-buttons .btn {
        padding: 0.77rem 1.54rem !important; /* 10% larger: 0.7rem * 1.1, 1.4rem * 1.1 */
        font-size: 0.77rem !important; /* 10% larger: 0.7rem * 1.1 */
        border-radius: 4.4px !important; /* 10% larger: 4px * 1.1 */
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-item {
        margin-bottom: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .gallery-preview-item {
        margin-bottom: 0.5rem;
    }
    
    .gallery-preview-button {
        padding: 0.5rem 0 2rem 0;
    }
    
    .gallery-preview-button .btn {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

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

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

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

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

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Stagger animations for grid items */
.about-grid .about-card:nth-child(1) { animation-delay: 0.1s; }
.about-grid .about-card:nth-child(2) { animation-delay: 0.2s; }
.about-grid .about-card:nth-child(3) { animation-delay: 0.3s; }
.about-grid .about-card:nth-child(4) { animation-delay: 0.4s; }

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

.gallery-preview-grid .gallery-preview-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-preview-grid .gallery-preview-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-preview-grid .gallery-preview-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-preview-grid .gallery-preview-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-preview-grid .gallery-preview-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-preview-grid .gallery-preview-item:nth-child(6) { animation-delay: 0.6s; }

/* Popup Modal Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    width: 85%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.popup-close-desktop {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #dc2626;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.popup-close-desktop:hover {
    color: #ff4444;
}

.popup-close-mobile {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.popup-close-mobile:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.popup-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.popup-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    height: auto;
}

.popup-text {
    color: #ffffff;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.popup-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #dc2626;
}

.popup-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Desktop vs Mobile Close Button */
.popup-close-desktop {
    display: block;
}

.popup-close-mobile {
    display: none;
}

/* Mobile Popup Styles */
@media (max-width: 768px) {
    .popup-content {
        padding: 2rem;
        margin: 1rem;
        max-width: 95%;
        width: 95%;
        max-height: 90vh;
    }

    .popup-close-desktop {
        display: none;
    }

    .popup-close-mobile {
        display: flex;
    }

    .popup-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .popup-image img {
        aspect-ratio: 1;
        height: auto;
    }

    .popup-text {
        max-width: 100%;
    }

    .popup-text h3 {
        font-size: 1.8rem;
    }

    .popup-text p {
        font-size: 1rem;
    }
}

/* iOS-specific fixes for gallery */
@supports (-webkit-touch-callout: none) {
    .gallery-preview-item img {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .gallery-preview-grid {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .gallery-preview-item {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
    }

    .gallery-item img {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .gallery-grid {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .gallery-item {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
    }
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .hero-content {
        animation: fadeInUp 1s ease-out;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
    }
    
    .section-header {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .about-card {
        animation: scaleIn 0.6s ease-out;
    }
    
    .gallery-preview-item {
        animation: fadeInUp 0.6s ease-out;
    }
    
    .contact-item {
        animation: fadeInLeft 0.6s ease-out;
    }
    
    .footer-section {
        animation: fadeInUp 0.6s ease-out;
    }
    
    /* Navbar - no animation on load */
    .navbar {
        /* Removed slideInUp animation */
    }
    
    /* Button hover effects */
    .btn {
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    }
    
    /* Card hover effects */
    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .gallery-preview-item:hover {
        transform: scale(1.05);
    }
    
    /* Mobile Safari fix for content under navbar */
    .hero {
        padding-top: calc(6rem + 100px) !important;
        margin-top: 0 !important;
    }
    
    /* Ensure content starts below navbar on all pages */
    .section:first-of-type {
        margin-top: 0;
        padding-top: 2rem;
    }
    
    /* Fix for pages without hero section */
    .section {
        padding-top: calc(2rem + 80px);
    }
    
    /* Specific fix for trainer page */
    .trainers-grid {
        margin-top: 0;
        padding-top: 1rem;
    }
    
    /* Specific fix for trainingsplan page */
    .schedule-grid {
        margin-top: 0;
        padding-top: 1rem;
    }
    
    /* Specific fix for gallery page */
    .gallery-grid {
        margin-top: 0;
        padding-top: 1rem;
    }
    
    /* Specific fix for legal pages */
    .legal-content {
        margin-top: 0;
        padding-top: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #dc2626;
        border: 2px solid #dc2626;
    }
    
    .btn-secondary {
        border: 2px solid #dc2626;
    }
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.schedule-day {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.schedule-day h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-classes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-class {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #404040;
    transition: border-color 0.3s ease;
}

.schedule-class:hover {
    border-color: #dc2626;
}

.class-time {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.class-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.class-trainer {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Training Types Grid */
.training-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.training-type-card {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
}

.training-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.training-type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.training-type-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.training-type-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.training-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.training-features li {
    color: #cccccc;
    padding: 0.5rem 0;
    border-bottom: 1px solid #404040;
    position: relative;
    padding-left: 1.5rem;
}

.training-features li:before {
    content: "✓";
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

/* Trainers Grid */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 600px));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.trainer-card {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.trainer-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

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

.trainer-info {
    padding: 2rem;
}

.trainer-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trainer-specialty {
    color: #dc2626;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.trainer-info p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.trainer-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.credential i {
    color: #dc2626;
    width: 16px;
}

.trainer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty-tag {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.philosophy-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Responsive adjustments for schedule and training types */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .training-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trainers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .schedule-day {
        padding: 1.5rem;
    }
    
    .training-type-card {
        padding: 1.5rem;
    }
    
    .trainer-info {
        padding: 1.5rem;
    }
    
    .philosophy-card {
        padding: 1.5rem;
    }
}

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

.news-card {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content p {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #cccccc;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-meta i {
    color: #dc2626;
}

.read-more {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b91c1c;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
    display: flex;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #dc2626;
}

.event-date {
    background: #dc2626;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.event-time, .event-location {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-time i, .event-location i {
    color: #dc2626;
    width: 16px;
}

.event-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Responsive adjustments for news and events */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card.featured {
        grid-column: span 1;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
}

.legal-section h2 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-info ul {
    color: #cccccc;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-info ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-info a {
    color: #dc2626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Responsive adjustments for legal content */
@media (max-width: 768px) {
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
}

/* Color Scheme - Matching Central Fight Club Logo */
/* Primary Red: #dc2626 (from logo) */
/* Dark Grey: #1a1a1a (background) */
/* Medium Grey: #2d2d2d (cards) */
/* Light Grey: #404040 (borders) */
/* Text: #ffffff (white) */
/* Secondary Text: #cccccc (light grey) */ 

/* ===== Navbar Social Icons ===== */
.navbar-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.navbar-social .social-icon {
    color: #666666;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.navbar-social .social-icon:hover {
    color: #dc2626;
}

/* ===== Mobile Typography Adjustments ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.5rem; }
    .nav-link { font-size: 0.85rem; }
    .btn { font-size: 0.9rem; padding: 10px 20px; }
    .about-icon i, .contact-icon i, .social-link i { font-size: 1.4rem; }
    .navbar-social .social-icon { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .section-title { font-size: 1.3rem; }
    .btn { font-size: 0.85rem; padding: 8px 18px; }
    .about-icon i, .contact-icon i, .social-link i { font-size: 1.3rem; }
    .navbar-social .social-icon { font-size: 0.9rem; }
    
    /* Extra small mobile navigation improvements */
    .navbar-nav .nav-link {
        font-size: 1.2rem !important;
        padding: 1.2rem 0 !important;
        min-height: 52px !important;
    }
    
    .navbar-toggle {
        padding: 1.2rem !important;
        min-width: 52px !important;
        min-height: 52px !important;
    }
    
    .navbar-toggle span {
        width: 26px !important;
        height: 3px !important;
    }
} 

/* Desktop navbar layout */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.navbar-brand {
    margin-right: 2rem; /* space between logo and links */
}

.navbar-menu {
    margin-left: auto;
} 

/* Home page gap fix */
body.home-page {
    padding-top: 0 !important;
}
html.home-page {
    scroll-padding-top: 0 !important;
}
.home-page .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
} 

/* Hide accessibility skip link (user request) */
.skip-link { display: none !important; } 

/* Desktop: disable scroll-triggered animations for smoother UX */
@media (min-width: 992px) {
  .animate-on-scroll,
  .animate-on-scroll.animated,
  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .scale-in,
  .slide-in-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
} 

@media (max-width: 768px) {
     .home-page .hero {
         padding-top: 1.5rem !important; /* extra space below navbar on iPhone */
     }
 }

@media (max-width: 480px) {
     .hero-title-img {
         margin: 1.5rem auto 0.8rem auto; /* more top space on very small screens */
     }
 } 