/* =========================================
   1. GLOBAL RESET & FONTS
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: #f9fbfd; color: #333; line-height: 1.6; }
a { text-decoration: none; transition: 0.3s; }
li { list-style: none; }

/* =========================================
   /* =========================================
   /* =========================================
   2. TOP BAR & HEADER (FIXED ALIGNMENT & SHINE)
   ========================================= */
.top-bar {
    background-color: #002244;
    color: white;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a { color: #ddd; margin-right: 20px; text-decoration: none; font-size: 13px; transition: 0.3s; }
.contact-info a:hover { color: #ff9900; text-shadow: 0 0 5px rgba(255, 153, 0, 0.5); }
.contact-info i { color: #ff9900; margin-right: 5px; }

/* FIX: Social Icons Visibility */
.social-icons { display: flex; align-items: center; gap: 15px; }
.social-icons span { color: #ddd; margin-right: 5px; }
.social-icons a { 
    color: #ffffff !important; /* Forces White Color */
    font-size: 16px; 
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
}
.social-icons a:hover { 
    color: #ff9900 !important; 
    transform: translateY(-2px); /* Small jump effect */
    text-shadow: 0 0 8px rgba(255, 153, 0, 0.8); /* Glow effect */
}

/* --- HEADER CONTAINER --- */
header {
    background: white;
    padding: 0 5%;
    height: 110px;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* --- FIX: LOGO & TEXT ALIGNMENT --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    /* 1. Define a square box for the icon */
    width: 95px;  
    height: 95px; 
    
    /* 2. Zoom in and keep the top part (Icon) */
    object-fit: cover; 
    object-position: top center; /* This pushes the text down and hides it */
    
    /* 3. Minor cleanup */
    margin-bottom: 5px; 
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important;
    line-height: 1;
    padding: 0;
}

.brand-name {
    font-size: 30px;
    font-weight: 900;
    color: #002244;
    text-transform: uppercase;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 800;
    color: #ff9900;
    letter-spacing: 4.8px;
    text-transform: uppercase;
    margin-top: 5px;
    margin-left: 9px;
    display: block;
    width: 100%;
}

/* --- NAVIGATION & SHINE EFFECT --- */
.nav-menu { display: flex; gap: 35px; align-items: center; }

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: #444;
    padding: 42px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

/* THE SHINE EFFECT */
.nav-menu a:hover, .nav-menu a.active { 
    color: #ff9900; 
    /* This creates the "Light/Shine" effect */
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.6), 0 0 20px rgba(255, 153, 0, 0.3);
}

/* Orange underline animation */
.nav-menu a::after {
    content: ''; position: absolute; width: 0; height: 3px;
    bottom: 0; left: 0; background-color: #ff9900;
    box-shadow: 0 0 10px #ff9900; /* Glowing line */
    transition: width 0.3s;
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; }
.login-link { font-weight: 700; font-size: 15px; color: #002244; display: flex; align-items: center; gap: 8px; transition: 0.3s;}
.login-link:hover { color: #ff9900; text-shadow: 0 0 5px rgba(255,153,0,0.4); }

.btn-primary-glow {
    background: linear-gradient(135deg, #ff9900, #ff5e00);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.6);
}
/* =========================================
   3. HERO SECTION (HOME PAGE) - RESTORED
   ========================================= */
.hero-section { max-width: 1200px; margin: 50px auto; padding: 0 5%; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.hero-visual img { width: 100%; max-width: 550px; border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.badge { background: #e3f2fd; color: #004e92; padding: 6px 16px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.hero-text h1 { font-size: 52px; margin: 25px 0; color: #1a1a1a; line-height: 1.15; font-weight: 800; }
.highlight { color: #ff9900; }
.hero-text p { color: #555; font-size: 17px; line-height: 1.7; margin-bottom: 35px; max-width: 90%; }

.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; align-items: center; }
.stats { display: flex; gap: 50px; border-top: 1px solid #eee; padding-top: 25px; }
.stats div { font-size: 13px; color: #666; }
.stats strong { display: block; font-size: 24px; color: #002244; font-weight: 800; }

/* =========================================
   4. COURSES SECTION
   ========================================= */
.courses-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; color: #002244; font-weight: 800; margin-bottom: 10px; }
.section-header p { color: #666; font-size: 16px; }

.single-course-layout { display: flex; justify-content: center; align-items: center; }
.course-card { background: white; border-radius: 15px; overflow: hidden; position: relative; border: 1px solid #f0f0f0; transition: transform 0.3s; width: 100%; max-width: 480px; }
.featured-card { border: 2px solid #ff9900; box-shadow: 0 15px 40px rgba(255, 153, 0, 0.15); }
.course-card:hover { transform: translateY(-10px); }

.tag { position: absolute; top: 15px; right: 15px; background: #ff9900; color: white; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.card-top { height: 150px; display: flex; align-items: center; justify-content: center; color: white; background: #ff9900; }
.card-body { padding: 40px; }
.card-body h3 { font-size: 24px; margin-bottom: 10px; color: #222; font-weight: 700; }

.features li { font-size: 15px; margin-bottom: 12px; color: #555; }
.features i { color: #00c853; margin-right: 12px; }
.price-box { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; padding-top: 25px; border-top: 1px solid #f0f0f0; }
.old-price { text-decoration: line-through; color: #aaa; font-size: 16px; margin-bottom: -5px; }
.big-price { font-size: 30px; color: #d32f2f; font-weight: 800; }
.price-stack { display: flex; flex-direction: column; }

/* =========================================
   5. REGISTRATION FORM STYLES
   ========================================= */
.register-container { background: #f8f9fa; min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 30px 15px; }
.form-wrapper { background: white; width: 100%; max-width: 500px; padding: 30px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
.form-header h2 { color: #333; margin-bottom: 20px; border-bottom: 2px solid #d32f2f; display: inline-block; padding-bottom: 5px; }

.row { display: flex; gap: 15px; margin-bottom: 15px; }
.col { flex: 1; }
label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap input { width: 100%; padding: 10px 10px 10px 15px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.input-icon-wrap i { position: absolute; right: 12px; top: 12px; color: #888; }
.simple-input, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; background: white; }

.radio-label { display: inline-flex; align-items: center; gap: 5px; margin-right: 15px; font-weight: 500; cursor: pointer; }
.mobile-stack select { margin-bottom: 8px; width: 100%; }
.mobile-stack input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }

/* Captcha */
.captcha-section { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#captcha-display { background-image: url('https://img.freepik.com/free-photo/white-paper-texture_1194-5998.jpg'); font-family: 'Courier New', monospace; font-size: 24px; font-weight: bold; letter-spacing: 5px; padding: 10px 20px; text-decoration: line-through; border: 1px solid #ccc; user-select: none; color: #333; transform: skew(-5deg); }
.refresh-btn { background: none; border: 1px solid #333; padding: 8px; cursor: pointer; border-radius: 4px; }
.join-btn { width: 100%; background: #d32f2f; color: white; border: none; padding: 12px; font-size: 16px; font-weight: bold; border-radius: 5px; cursor: pointer; margin-top: 15px; transition: 0.3s; }

/* =========================================
   6. SUCCESS MODAL & PAYMENT UI
   ========================================= */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 34, 68, 0.85); justify-content: center; align-items: center; z-index: 2000; }
.modal-box { background: white; padding: 40px; border-radius: 15px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-top: 5px solid #00c853; animation: zoomIn 0.3s ease; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.reg-id-box { background: #f0f2f5; padding: 15px; margin: 20px 0; border: 2px dashed #002244; border-radius: 8px; }
.reg-id-text { font-size: 24px; font-weight: 800; color: #d32f2f; letter-spacing: 2px; }
.modal-btn { background: #002244; color: white; border: none; padding: 12px 30px; border-radius: 50px; cursor: pointer; font-weight: bold; font-size: 14px; width: 100%; }

.pay-card { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 450px; width: 90%; position: relative; }
.amount { font-size: 48px; color: #002244; font-weight: 800; margin: 10px 0; }
.qr-container { border: 2px dashed #ff9900; padding: 10px; border-radius: 10px; display: inline-block; margin-bottom: 20px; }
.qr-image { width: 180px; height: auto; display: block; }
.utr-box { text-align: left; margin-bottom: 20px; background: #e3f2fd; padding: 15px; border-radius: 8px; border: 1px solid #2196f3; }
.utr-box input { width: 100%; padding: 10px; border: 1px solid #90caf9; border-radius: 4px; font-size: 16px; }

.activation-card { display: none; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: white; border-radius: 15px; padding: 30px; z-index: 20; }
.key-icon { font-size: 60px; color: #002244; background: #e3f2fd; padding: 20px; border-radius: 50%; margin-bottom: 20px; }
.wa-btn { background: #25D366; color: white; border: none; padding: 12px 25px; border-radius: 50px; font-weight: bold; font-size: 15px; margin-top: 20px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.login-btn-outline { margin-top: 15px; background: transparent; border: 2px solid #002244; color: #002244; padding: 10px 20px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 14px; }

/* =========================================
   
7. PROFESSIONAL FOOTER (FIXED)
   ========================================= */
footer {
    background-color: #002244;
    color: #ffffff;
    padding-top: 70px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #ff9900;
    font-size: 17px; /* Elegant size */
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid #ff9900; /* Added Orange Line */
    padding-left: 10px; /* Space from line */
    line-height: 1;
}

/* FIX: REMOVE DEFAULT LIST PADDING */
.footer-links, .contact-details {
    list-style: none;
    padding: 0; /* This fixes the indentation issue */
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
    display: block; /* Makes the whole area clickable */
}

.footer-links a:hover {
    color: #ff9900;
    padding-left: 5px;
}

.contact-details li {
    display: flex;            /* Enables flexible layout */
    align-items: flex-start;  /* ALIGNS ICON TO THE TOP (Crucial for Address) */
    gap: 15px;                /* Space between icon and text */
    margin-bottom: 20px;      /* Spacing between rows */
    color: #e0e0e0;           /* Text Color */
}

/* 2. The Icons (Map Pin, Phone, Envelope) */
.contact-details li i {
    /* ICON COLUMN SETTINGS */
    width: 25px;              /* Fixed width so all text starts at same line */
    min-width: 25px;          /* Prevents icon from squishing */
    text-align: center;       /* Centers the icon inside its column */
    
    /* ALIGNMENT MAGIC */
    margin-top: 5px;          /* Pushes icon down slightly to match text height */
    
    /* VISUAL SETTINGS */
    color: #ffffff;           /* White icons (matches your screenshot) */
    font-size: 18px;          /* Size of the icon */
}

/* Optional: If you want the icons to be Orange instead, change color above to #ff9900 */

.contact-details li span {
    line-height: 1.6;         /* readable text spacing */
}

/* Bottom Bar - Sharper Look */
.bottom-bar {
    background: #001021; /* Darker contrast */
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text { color: #888; font-size: 13px; font-weight: 500; }

.bottom-links { display: flex; gap: 25px; }
.bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.bottom-links a:hover { color: #ff9900; }

/* =========================================
   8. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .hero-section { flex-direction: column; text-align: center; gap: 40px; }
    .hero-buttons { justify-content: center; }
    .hero-text p { margin: 0 auto 30px auto; }
    .stats { justify-content: center; }
    .navbar { flex-direction: column; height: auto; padding: 15px; gap: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .trust-container { flex-direction: column; }
    .footer-content { flex-direction: column; }
}
/* About Hero */
.about-hero {
    background: linear-gradient(rgba(0,34,68,0.95), rgba(0,34,68,0.9)), url('hero.jpg'); /* Uses hero.jpg as fallback bg */
    background-size: cover;
    background-position: center;
    padding: 100px 5%;
    text-align: center;
    color: white;
}
.about-content h1 { font-size: 48px; font-weight: 800; margin: 20px 0; }

/* Trust/Certification Section */
.trust-section { padding: 80px 5%; background: white; }
.trust-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }

.trust-text { flex: 1; }
.trust-visual { flex: 1; display: flex; flex-direction: column; align-items: center; }

.trust-text h2 { color: #002244; font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.trust-text p { margin-bottom: 20px; color: #555; }

/* Feature Box (The icons with text) */
.feature-box {
    display: flex; gap: 20px; margin-bottom: 30px;
    background: #f9fbfd; padding: 20px;
    border-radius: 10px; border-left: 5px solid #ff9900;
}
.f-icon i {
    font-size: 28px; color: #002244; background: #fff;
    padding: 15px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.feature-box h3 { color: #002244; margin-bottom: 5px; font-size: 18px; font-weight: 700; }
.feature-box p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 0; }

/* Visual Side (Badge & Stats) */
.visual-card { text-align: center; margin-bottom: 30px; }
.cert-img { width: 200px; height: auto; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15)); }
.caption { font-weight: 700; color: #00c853; margin-top: 10px; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }

.stats-grid { display: flex; gap: 30px; }
.stat-item {
    text-align: center; background: #002244; color: white;
    padding: 20px 30px; border-radius: 10px; min-width: 120px;
}
.stat-item strong { display: block; font-size: 32px; color: #ff9900; }

/* Mission */
.mission-section { background: #f0f2f5; padding: 60px 5%; text-align: center; }
.mission-box { max-width: 800px; margin: 0 auto; }
.mission-box h2 { color: #666; font-size: 16px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.mission-box p { font-size: 22px; font-weight: 600; color: #002244; font-style: italic; }

 LOGIN CAPTCHA STYLES
   ========================================= */
#login-captcha-display {
    background-image: url('https://img.freepik.com/free-photo/white-paper-texture_1194-5998.jpg'); 
    font-family: 'Courier New', monospace; 
    font-size: 24px; 
    font-weight: bold; 
    letter-spacing: 5px; 
    padding: 10px 20px; 
    text-decoration: line-through; 
    border: 1px solid #ccc; 
    user-select: none; 
    color: #333; 
    transform: skew(-5deg);
    display: inline-block;
    width: 70%; /* Adjust to fit login card */
    text-align: center;
}

.login-captcha-wrapper {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
    justify-content: space-between;
}

/* 1. Wrapper to align Box and Button side-by-side */
.login-captcha-wrapper {
    display: flex;
    align-items: stretch; /* Makes button same height as box */
    gap: 10px;
    margin-bottom: 15px;
}

/* 2. The Captcha Box (Texture & Font) */
#login-captcha-display {
    flex: 1; /* Takes up all available space */
    background-image: url('https://img.freepik.com/free-photo/white-paper-texture_1194-5998.jpg');
    background-size: cover;
    border: 1px solid #ccc;
    
    /* Font Styling */
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #333;
    text-decoration: line-through;
    
    /* Centering the text */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    user-select: none;
}

/* 3. The Refresh Button */
.login-captcha-wrapper .refresh-btn {
    background: white;
    border: 1px solid #002244;
    color: #002244;
    padding: 0 15px; /* Width of button */
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-captcha-wrapper .refresh-btn:hover {
    background: #002244;
    color: white;
}

/* =========================================
   NEWS SECTION STYLES
   ========================================= */
.news-section {
    padding: 60px 5%;
    background-color: #f9fbfd;
}

.news-container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden; /* Ensures widget doesn't spill out */
}

/* Ensure widget is responsive */
.tradingview-widget-container {
    width: 100%;
    height: 600px;
}

/* =========================================
   PRODUCT PAGE - FEATURE GRID STYLES
   ========================================= */

.course-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

/* The Grid Container */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 20px;
    margin-bottom: 25px;
    background: #f9fbfd; /* Light Blue Background */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* Individual Feature Item */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* The Icon Box */
.f-icon-box {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #ff9900; /* Orange Icon */
    font-size: 18px;
    border: 1px solid #eee;
}

/* Text Styling */
.f-text h4 {
    margin: 0;
    font-size: 14px;
    color: #002244; /* Navy Blue Title */
    font-weight: 700;
}

.f-text span {
    font-size: 11px;
    color: #666;
    display: block;
    line-height: 1.2;
}

/* Mobile Responsive: Stack them on small screens */
@media (max-width: 500px) {
    .feature-grid {
        grid-template-columns: 1fr; /* 1 Column on mobile */
    }
}