html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


/* Hero Section Styles */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.logo-circle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.logo-circle i {
    font-size: 3rem;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 300;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAround 15s linear infinite;
}

.float-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.float-2 {
    top: 70%;
    left: 80%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.float-3 {
    top: 40%;
    left: 5%;
    animation-delay: 10s;
    animation-duration: 18s;
}

.float-4 {
    top: 20%;
    right: 10%;
    animation-delay: 7s;
    animation-duration: 22s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .logo-circle i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Modern Layout Styles */
.modern-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    width: 100%;
}

.modern-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.modern-brand:hover {
    transform: translateY(-2px);
    color: white !important;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.brand-logo i {
    font-size: 1.2rem;
    color: white;
}

.modern-brand:hover .brand-logo {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(360deg);
}

.modern-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.modern-nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.modern-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.modern-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-logo i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: #667eea;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Layout adjustments */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    padding-left: 5vw;
    padding-right: 5vw;
}

.container {
    flex: 1;
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Override Bootstrap pb-3 class and any padding-bottom */
main.pb-3,
main[class*="pb-"] {
    padding-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    body {
        display: flex;
        flex-direction: column;
        background: #f8f9fa;
        padding-left: 0;
        padding-right: 0;
    }

    .modern-brand {
        font-size: 1.3rem;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
}