:root {
    --primary-gold: #C9A05F;
    --dark-gold: #B8944E;
    --accent-gold: #D4AF6A;
    --black-bg: #000000;
    --dark-gray: #1a1a1a;
    --light-gold: #E5C89B;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    font-size: 16px;
    overflow-x: hidden;
}

/* Header Logo */
.brand-logo {
    display: flex;
    align-items: center;
    margin-top: 40px;
    justify-content: center;
}

.brand-logo img {
    width: 150px;
    margin-right: 20px;
}

.brand-text h5 {
    font-weight: 700;
    margin: 0;
    color: var(--primary-gold);
    font-size: 65px;
    letter-spacing: 2px;
}

.brand-text small {
    color: var(--primary-gold);       
    font-weight: 500;     
    font-size: 28px;  
    margin-left: 5px;
    letter-spacing: 3px;
    display: block;
}

/* Section Headings */
h2.section-heading {
    color: #000000;      
    font-weight: 700;  
    font-size: 2.2rem;     
    line-height: 1.3;  
    margin-left: 80px;  
}

h2.section-heading .highlight {
    font-family: 'Georgia', 'Garamond', serif;
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
}

p strong span {
    color: var(--primary-gold);
}

.brand-text span {
    color: var(--primary-gold); 
}

/* Description text */
.description {
    margin-left: 80px;
    color: #333;
}

/* Right Section - Form */
.right-section {
    flex: 1;
    background: url('../images/reg.png') center/cover, linear-gradient(135deg, rgba(124, 123, 123, 0.85) 0%, rgba(112, 112, 112, 0.9) 100%);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(201, 160, 95, 0.15) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(8px);
}

.form-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.form-card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(201, 160, 95, 0.3);
    backdrop-filter: blur(20px);
}

.form-header {
    background: transparent;
    padding: 20px 40px;
    color: var(--primary-gold);
    text-align: center;
    border-bottom: 1px solid rgba(201, 160, 95, 0.2);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
    letter-spacing: 1px;
}

.form-body {
    padding: 30px 40px;
    background: transparent;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-gold);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(201, 160, 95, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 160, 95, 0.2);
    background: rgba(0, 0, 0, 0.7);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.text-danger {
    color: #ff6b6b;
}

.step-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--primary-gold);
}

.btn-register {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--black-bg);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(201, 160, 95, 0.4);
    letter-spacing: 1px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 160, 95, 0.6);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.login-link a {
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.login-link a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Darker form theme */
form .form-control {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(201, 160, 95, 0.3);
}

form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1; 
}

form .form-control:focus {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 160, 95, 0.2);
}

/* Section headings & highlights */
.section-heading {
    font-weight: 700;
    font-size: 2rem;
    color: #000; 
}

.highlight {
    color: var(--primary-gold);
    font-family: 'Georgia', serif;
    font-weight: 700;
}

/* Other styling */
.bg-gold {
    background-color: var(--primary-gold) !important;
}

.feature-box {
    background-color: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-gold);
}

.feature-box:hover {
    transform: translateY(-3px);
    background-color: rgba(233, 236, 239, 0.95);
    box-shadow: 0 5px 15px rgba(201, 160, 95, 0.2);
}

.icon-box {
    background-color: var(--primary-gold) !important;
}

.overlay-features {
    top: 45%; 
    left: 110%;
    transform: translate(-50%, -50%);
    width: 50%;
}

/* Awards Section */
.awards {
    background: var(--black-bg);
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 30px;
}

.award-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.award-item .award-icon:first-child {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
}

.award-item .award-text-wrapper {
    position: absolute;
    top: 55px; 
    left: 5px; 
    z-index: 1; 
}

.award-text-wrapper .award-icon {
    width: 80px;
    height: 80px;
}

.awards .award-item img {
    margin-bottom: 10px;
}

.award-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.award-icon-inline {
    width: 35px;
    height: auto;
    vertical-align: middle;
}

.text-primary-custom {
    color: var(--primary-gold);
}

.text-secondary-custom {
    color: var(--dark-gold);
}

.bg-primary-custom {
    background-color: var(--primary-gold);
}

.bg-secondary-custom {
    background-color: var(--dark-gold); 
}

.border-custom {
    border-color: var(--primary-gold); 
}

.card-hover:hover {
    box-shadow: 0 8px 25px rgba(201, 160, 95, 0.3); 
    border-color: var(--primary-gold);
}

.award-text-wrapper {
    position: relative;
    display: inline-block;
}

.award-icon {
    width: 120px;
    height: auto;
}

.award-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    width: 90%;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--black-bg) 0%, var(--dark-gray) 100%);
    color: white;
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-gold);
}

.main-footer h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(201, 160, 95, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 18px;
    transition: all 0.3s;
    border: 1px solid var(--primary-gold);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--black-bg);
    transform: translateY(-3px);
}

.newsletter-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 160, 95, 0.3);
    text-align: center;
}

.newsletter-section h5 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-input {
    width: 350px;
    padding: 12px 20px;
    border: 1px solid var(--primary-gold);
    border-radius: 5px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: var(--primary-gold);
    color: var(--black-bg);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 160, 95, 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 160, 95, 0.3);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin: 5px 0;
}

/* ============================================ */
/* RESPONSIVE DESIGN - COMPREHENSIVE FIXES */
/* ============================================ */

/* Large Tablets & Small Desktops (1200px and below) */
@media (max-width: 1200px) {
    .brand-text h5 {
        font-size: 50px;
    }
    
    .brand-text small {
        font-size: 24px;
        margin-left: 5px;
    }
    
    .section-heading {
        font-size: 1.75rem;
        margin-left: 60px;
    }
    
    .description {
        margin-left: 60px;
        font-size: 14px;
    }
    
    .overlay-features {
        right: 50px;
        width: 280px;
    }
    
    .feature-box span {
        font-size: 12px !important;
    }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }
    
    .brand-logo {
        margin-top: 30px;
        justify-content: flex-start;
        padding-left: 20px;
    }
    
    .brand-logo img {
        width: 120px;
    }
    
    .brand-text h5 {
        font-size: 42px;
    }
    
    .brand-text small {
        font-size: 22px;
        margin-left: 5px;
    }
    
    .section-heading {
        font-size: 1.5rem;
        margin-left: 20px;
    }
    
    .description {
        margin-left: 20px;
        font-size: 14px;
        padding-right: 20px;
    }
    
    .right-section {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .form-wrapper {
        max-width: 100%;
    }
    
    .overlay-features {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .features-list {
        margin-top: 30px !important;
        padding-left: 0 !important;
    }
    
    .awards {
        padding: 60px 20px;
    }
    
    .award-item .award-icon:first-child {
        width: 80px;
        height: 80px;
    }
    
    .award-item .award-text-wrapper {
        top: 45px;
    }
    
    .award-text-wrapper .award-icon {
        width: 65px;
        height: 65px;
    }
}

/* Mobile Landscape & Small Tablets (768px and below) */
@media (max-width: 768px) {
    .brand-logo {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }
    
    .brand-logo img {
        width: 100px;
        margin-bottom: 10px;
    }
    
    .brand-text h5 {
        font-size: 36px;
    }
    
    .brand-text small {
        font-size: 20px;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .section-heading {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .section-heading .highlight {
        font-size: 1.5em;
    }
    
    .description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .form-header {
        padding: 15px 20px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-body {
        padding: 25px 20px;
    }
    
    .feature-box {
        padding: 8px 10px;
        margin-top: 15px;
    }
    
    .icon-box {
        padding: 8px !important;
        min-width: 40px;
    }
    
    .icon-box i {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .newsletter-input {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .brand-logo {
        padding-left: 15px;
        margin-top: 15px;
    }
    
    .brand-logo img {
        width: 80px;
    }
    
    .brand-text h5 {
        font-size: 28px;
    }
    
    .brand-text small {
        font-size: 16px;
    }
    
    .section-heading {
        font-size: 1.2rem;
        margin-left: 15px;
    }
    
    .description {
        margin-left: 15px;
        padding-right: 15px;
        font-size: 12px;
    }
    
    .right-section {
        padding: 30px 15px;
    }
    
    .form-card {
        border-radius: 15px;
    }
    
    .form-header {
        padding: 15px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-body {
        padding: 20px 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .btn-register {
        padding: 12px;
        font-size: 14px;
    }
    
    .login-link {
        font-size: 13px;
    }
    
    .col-md-6 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    h3.fw-bold {
        font-size: 22px !important;
        padding: 0 15px;
    }
    
    .features-list {
        padding: 0 15px !important;
    }
    
    .feature-box {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .feature-box span {
        font-size: 11px !important;
    }
    
    .icon-box {
        padding: 6px !important;
        min-width: 35px;
    }
    
    .awards {
        padding: 40px 15px;
    }
    
    .award-item {
        margin: 5px;
    }
    
    .award-item .award-icon:first-child {
        width: 70px;
        height: 70px;
    }
    
    .award-item .award-text-wrapper {
        top: 38px;
        left: 3px;
    }
    
    .award-text-wrapper .award-icon {
        width: 55px;
        height: 55px;
    }
    
    .award-text {
        font-size: 14px;
    }
    
    .main-footer {
        padding: 40px 0 15px;
    }
    
    .main-footer h5 {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .newsletter-section h5 {
        font-size: 16px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* Extra Small Mobile (400px and below) */
@media (max-width: 400px) {
    .brand-logo img {
        width: 70px;
    }
    
    .brand-text h5 {
        font-size: 24px;
    }
    
    .brand-text small {
        font-size: 14px;
    }
    
    .section-heading {
        font-size: 1.1rem;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .feature-box span {
        font-size: 10px !important;
    }
    
    .award-item .award-icon:first-child {
        width: 60px;
        height: 60px;
    }
    
    .award-text-wrapper .award-icon {
        width: 48px;
        height: 48px;
    }
    
    .award-item .award-text-wrapper {
        top: 32px;
    }
}

/* Ensure proper stacking on mobile */
@media (max-width: 992px) {
    .row.min-vh-100 {
        min-height: auto !important;
    }
    
    .col-lg-6:first-child {
        padding-bottom: 30px;
    }
    
    .container-fluid {
        padding: 0;
    }
}

/* Fix overflow issues */
@media (max-width: 768px) {
    .container,
    .container-fluid {
        overflow-x: hidden;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}