@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap");

:root {
    --text-primary: #f1f5f19;
}

body {
    font-family: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    background: #0b00de;
    background: linear-gradient(90deg, #1A1A1A 0%, #F26322 35%, #EB1000 100%);
    color: #f1f5f9;
}

main {
    max-width: 100%;
}
h1 {
    font-size: 4.5rem;
    font-weight: 800;
}


a {
    text-decoration: none;
    color: #FFA366;
}


a[href] {
    color: #FFA366;
}

a.text-primary-light {
    color: #f1f5f9;
}

.font-extrabold {
    font-weight: 800;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.language-selector {
    display: inline-block;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(242, 99, 34, 0.3);
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
    overflow: hidden;
}

.dropdown-menu.show {
    background-color: rgba(26, 26, 26, 0.95) !important;
}

.dropdown-item {
    color: #f1f5f9 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease;
    border-radius: 0 !important;
    margin: 0 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(242, 99, 34, 0.2) !important;
    color: #FFA366 !important;
    border-radius: 0 !important;
}

.dropdown-item:active {
    background-color: rgba(242, 99, 34, 0.3) !important;
    color: #FFA366 !important;
    border-radius: 0 !important;
}

.dropdown-header {
    color: #FFA366 !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.5rem;
}

.dropdown-divider {
    border-color: rgba(242, 99, 34, 0.2) !important;
    opacity: 1;
}

/* CTA Button Styling */
.btn-outline-light {
    border-color: #F26322;
    color: #FFA366;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #F26322;
    color: #ffffff;
    border-color: #F26322;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 99, 34, 0.5);
}

/* Language Selector Styling */
.language-selector .btn-secondary {
    background-color: transparent !important;
    border: 1px solid #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.language-selector .btn-secondary:hover,
.language-selector .btn-secondary:focus,
.language-selector .btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFA366 !important;
    color: #FFA366 !important;
}

.language-selector .btn-secondary.show {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFA366 !important;
    color: #FFA366 !important;
}

/* Navbar responsive improvements */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background-color: rgba(26, 26, 26, 0.98);
        border: none;
    }

    .nav-item.ms-lg-2 {
        margin-top: 1rem;
        margin-left: 0 !important;
    }
}

/* Homepage Bootstrap Components - Orange/Red Theme */
.bg-primary {
    background-color: #F26322 !important;
}

.btn-primary {
    background-color: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #F26322 !important;
}

.btn-primary:hover {
    background-color: #F26322 !important;
    border-color: #F26322 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Fix buttons on orange background (hero section) */
.bg-primary .btn-primary,
.bg-primary .btn-outline-light,
.bg-primary .btn-light {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.bg-primary .btn-primary:hover,
.bg-primary .btn-outline-light:hover,
.bg-primary .btn-light:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #F26322 !important;
    transform: translateY(-2px);
}

/* CTA buttons in white card */
.bg-white .btn-primary {
    background-color: #F26322 !important;
    border-color: #F26322 !important;
    color: #ffffff !important;
}

.bg-white .btn-primary:hover {
    background-color: #EB1000 !important;
    border-color: #EB1000 !important;
}

.btn-outline-secondary {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background-color: transparent !important;
}

.btn-outline-secondary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1A1A1A !important;
    transform: translateY(-2px);
}

.text-primary {
    color: #F26322 !important;
}

.card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 99, 34, 0.2);
    color: #f1f5f9;
}

.card-title {
    color: #FFA366;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light p,
.bg-light .lead {
    color: #1A1A1A !important;
}

.bg-light a {
    color: #EB1000 !important;
}

.bg-light a:hover {
    color: #F26322 !important;
}

/* Badge styling */
.badge.bg-dark {
    background-color: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid rgba(242, 99, 34, 0.3);
}

/* Alert styling */
.alert-info {
    background-color: rgba(242, 99, 34, 0.1);
    border-color: rgba(242, 99, 34, 0.3);
    color: #f1f5f9;
}

/* Border colors */
.border-primary {
    border-color: #F26322 !important;
}

.border-success {
    border-color: #FFA366 !important;
}

/* Accordion styling */
.accordion-button {
    background-color: rgba(26, 26, 26, 0.6);
    color: #f1f5f9;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(242, 99, 34, 0.2);
    color: #FFA366;
}

.accordion-button:focus {
    border-color: rgba(242, 99, 34, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(242, 99, 34, 0.25);
}

.accordion-body {
    background-color: rgba(26, 26, 26, 0.4);
    color: #f1f5f9;
}

/* ===========================
   MODERN HERO SECTION
   =========================== */

.hero-modern {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Badge Floating */
.badge-floating {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

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

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 500px;
}

/* Hero Buttons */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
}

.btn-hero-primary {
    background: #ffffff;
    color: #F26322;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    color: #F26322;
}

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

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Floating Cards Container */
.floating-cards-container {
    position: relative;
    height: 500px;
}

/* Floating Card Base */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(242, 99, 34, 0.3);
    border-color: rgba(242, 99, 34, 0.5);
}

.floating-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.floating-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.floating-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Card Positions & Animations */
.card-1 {
    top: 0;
    left: 0;
    width: 180px;
    animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
    top: 50px;
    right: 30px;
    width: 180px;
    animation: floatCard2 7s ease-in-out infinite;
}

.card-3 {
    top: 200px;
    left: 50px;
    width: 180px;
    animation: floatCard3 8s ease-in-out infinite;
}

.card-about {
    bottom: 20px;
    right: 0;
    width: 280px;
    animation: floatCard4 9s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-2deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-1deg); }
}

/* About Card Specific */
.about-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F26322, #EB1000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.125rem;
}

.about-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.about-header p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.btn-card-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #FFA366;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-card-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Background Decoration */
.hero-bg-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(242, 99, 34, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

/* Responsive */
@media (max-width: 991px) {
    .floating-cards-container {
        height: 400px;
        transform: scale(0.85);
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .floating-cards-container {
        display: none;
    }

    .hero-modern {
        min-height: 70vh;
    }
}

/* Footer Styling - Compact - Override Bootstrap utilities */
.container footer.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

.container footer.my-4 {
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
}

footer .border-top {
    padding-top: 1rem !important;
    margin-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Additional specificity for bottom section */
footer div.border-top.pt-3.mt-3 {
    padding-top: 0.75rem !important;
    margin-top: 1rem !important;
    padding-bottom: 0.25rem !important;
}
