/*******************************/
/********* General CSS *********/
/*******************************/
:root {
    --bg-primary: #020617;
    --bg-surface: #0b1329;
    --bg-surface-hover: #152244;
    --bg-darker: #030816;
    --accent-gold: #fdbe33;
    --accent-gold-hover: #e5a91c;
    --accent-gold-glow: rgba(253, 190, 51, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(253, 190, 51, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(253, 190, 51, 0.2);
}

/* ── Light Mode Variable Overrides ── */
html.light-mode {
    --bg-primary: #f5f7fa;
    --bg-surface: #ffffff;
    --bg-surface-hover: #eef1f6;
    --bg-darker: #e8ecf1;
    --accent-gold: #d4a017;
    --accent-gold-hover: #b8890f;
    --accent-gold-glow: rgba(212, 160, 23, 0.15);
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(212, 160, 23, 0.3);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(212, 160, 23, 0.12);
}

body {
    color: var(--text-secondary);
    background: var(--bg-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: var(--text-primary);
    font-weight: 700;
}

a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

a:hover,
a:active,
a:focus {
    color: var(--accent-gold);
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.back-to-top {
    position: fixed;
    display: none;
    background: var(--accent-gold);
    color: var(--bg-primary);
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    right: 30px;
    bottom: 30px;
    transition: var(--transition-smooth);
    z-index: 99;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.back-to-top:hover {
    color: var(--accent-gold);
    background: var(--bg-surface);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top i {
    padding-top: 0;
}

.btn {
    transition: var(--transition-smooth);
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.page-header h2 {
    position: relative;
    color: var(--text-primary);
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    left: calc(50% - 30px);
    bottom: 0;
    background: var(--accent-gold);
    border-radius: 2px;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.page-header a:hover {
    color: var(--accent-gold);
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -1px;
    right: -7px;
    text-align: center;
    color: var(--text-muted);
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 40px;
    }
    
    .page-header a {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 32px;
    }
    
    .page-header a {
        font-size: 14px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
}

.section-header p {
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 28px;
    }
}


/*******************************/
/********* Feature CSS *********/
/*******************************/
.feature {
    position: relative;
    background: var(--bg-primary);
    padding: 100px 0;
    overflow: hidden;
}

.feature .container-fluid {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.feature .feature-row {
    margin: 0;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature [class*="col-"] {
    padding: 15px;
    display: flex;
}

.feature .feature-item {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.feature .feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(253, 190, 51, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--border-hover);
}

.feature .feature-item:hover::before {
    opacity: 1;
}

.feature .feature-text {
    width: 100%;
}

.feature .feature-text h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.feature .feature-item:hover .feature-text h3 {
    color: var(--accent-gold);
}

.feature .feature-text p {
    margin: 0 0 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.feature .feature-text p strong {
    color: var(--accent-gold);
}

.feature .feature-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .feature .feature-row {
        padding: 0 20px;
    }
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact .col-md-6 {
    padding: 40px;
}

.contact .col-md-6:first-child {
    background: var(--bg-darker);
    border-radius: 16px 0 0 16px;
    border: 1px solid var(--border-color);
    border-right: none;
}

.contact .col-md-6:last-child {
    background: var(--bg-surface);
    border-radius: 0 16px 16px 0;
    border: 1px solid var(--border-color);
}

.contact .contact-info {
    position: relative;
    width: 100%;
    padding: 0;
}

.contact .contact-item {
    position: relative;
    margin-bottom: 25px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.contact .contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact .contact-item [class^="flaticon-"]::before {
    margin: 0;
    color: var(--accent-gold);
    font-size: 32px;
}

.contact .contact-text {
    position: relative;
    width: auto;
    padding-left: 20px;
}

.contact .contact-text h2 {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .contact-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.contact .contact-item:last-child {
    margin-bottom: 0;
}

.contact .contact-form {
    position: relative;
    padding: 0;
}

.contact .contact-form .control-group {
    margin-bottom: 20px;
}

.contact .contact-form input {
    color: var(--text-primary);
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.contact .contact-form textarea {
    color: var(--text-primary);
    height: 165px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
    background: var(--bg-surface-hover);
    outline: none;
}

.contact .contact-form .form-control::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.contact .contact-form .btn {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-primary);
    background: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 30px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact .contact-form .btn:hover {
    color: var(--accent-gold);
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (max-width: 767.98px) {
    .contact .col-md-6:first-child {
        border-radius: 16px 16px 0 0;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
    }

    .contact .col-md-6:last-child {
        border-radius: 0 0 16px 16px;
    }
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 100px;
    padding-top: 100px;
    background: var(--bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

.footer .footer-contact,
.footer .footer-link,
.footer .newsletter {
    position: relative;
    margin-bottom: 45px;
}

.footer h2 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer h2::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 14px;
    text-decoration: none;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.footer .footer-link a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer .footer-contact p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer .footer-contact p i {
    width: 25px;
    color: var(--accent-gold);
    font-size: 15px;
}

.footer .footer-contact p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer .footer-contact p a:hover {
    color: var(--accent-gold);
}

.footer .footer-social {
    position: relative;
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer .footer-social a i {
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.footer .footer-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.footer .footer-social a:hover i {
    color: var(--bg-primary);
}

.footer .newsletter .form {
    position: relative;
    max-width: 400px;
    margin: 0;
}

.footer .newsletter p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer .newsletter input {
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    padding: 0 130px 0 20px;
    font-size: 14px;
}

.footer .newsletter input:focus {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
    outline: none;
}

.footer .newsletter .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: var(--accent-gold);
    border-radius: 30px;
    border: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.footer .newsletter .btn:hover {
    background: var(--accent-gold-hover);
}

.footer .footer-menu .f-menu {
    position: relative;
    padding: 20px 0;
    font-size: 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer .footer-menu .f-menu a {
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer .footer-menu .f-menu a:hover {
    color: var(--accent-gold);
}

.footer .footer-menu .f-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright {
    padding: 30px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer .copyright p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.footer .copyright p a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}


/*******************************/
/** Light Mode Section Tweaks **/
/*******************************/

html.light-mode .page-header {
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
}

html.light-mode .contact .contact-item {
    background: rgba(0, 0, 0, 0.02);
}

html.light-mode .contact .contact-form input,
html.light-mode .contact .contact-form textarea {
    background: rgba(0, 0, 0, 0.02);
}

html.light-mode .back-to-top:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
