:root {
    --primary: #1a56db;      /* Strong blue */
    --secondary: #7e3af2;    /* Royal purple */
    --accent:rgb(12, 211, 184);       /* Vibrant red */
    --dark: #111827;         /* Near black */
    --light: #f9fafb;        /* Off-white */
    --gray: #6b7280;         /* Medium gray */
    --success: #0e9f6e;      /* Green */
    --white: #ffffff;        /* Pure white */
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-padding {
    padding: 100px 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Navbar styles */
.navbar {
    transition: all 0.3s ease;
    padding: 20px 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--white);
}

.navbar-brand span {
    color: var(--accent);
}

.navbar.scrolled .navbar-brand {
    color: var(--dark);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.nav-link::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background-color: var(--dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-accent {
    color: var(--accent);
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 20px;
    height: 100%;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image-container.top-left {
    grid-column: 1;
    grid-row: 1;
}

.hero-image-container.top-right {
    grid-column: 2;
    grid-row: 1;
}

.hero-image-container.bottom {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px 15px 15px;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover .image-overlay {
    opacity: 1;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26,86,219,0.2);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* Floating registration button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(224,36,36,0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(224,36,36,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(224,36,36,0); }
    100% { box-shadow: 0 0 0 0 rgba(224,36,36,0); }
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}