/* BASE STYLES AND VARIABLES */
:root {
    --primary-color: #0d276b; /* Deep Navy Blue */
    --primary-light: #163f9e;
    --secondary-color: #ffb703; /* Vibrant Gold/Yellow */
    --secondary-hover: #fb8500;
    --accent-color: #e63946; /* Crimson Red */
    --text-main: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-color);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 133, 0, 0.3);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.1rem;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.5);
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -60%; opacity: 0; }
    50% { left: 150%; opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

/* TOP BAR */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 8px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* HEADER */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: -5px;
    color: var(--primary-color);
}

.logo-text h1 span {
    font-weight: 400;
    color: var(--accent-color);
}

.tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-hover);
    letter-spacing: 1px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav ul {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.desktop-nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav ul a:hover {
    color: var(--primary-color);
}

.desktop-nav ul a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    display: block;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    right: 20%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 39, 107, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.hf-icon {
    color: var(--secondary-hover);
    font-size: 1.2rem;
}

.hf-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.demo-text {
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* FORM */
.glass-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    margin-left: auto;
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f9fafb;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 39, 107, 0.1);
}

.phone-input {
    display: flex;
}

.phone-input span {
    background: #e5e7eb;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
}

.phone-input input {
    border-radius: 0 8px 8px 0;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 39, 107, 0.2);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* STATS SECTION */
.stats-section {
    background: var(--primary-color);
    padding: 40px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    color: white;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
    color: var(--accent-color);
}

.stat-label {
    font-weight: 500;
    opacity: 0.9;
}

/* SECTIONS COMMON */
.section {
    padding: 80px 0;
}

.gray-bg {
    background: var(--bg-light);
}

.dark-bg {
    background: var(--bg-dark);
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-tag.light {
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.light-text .section-title {
    color: white;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.light-text .section-desc {
    color: #9ca3af;
}

/* ROW LAYOUT */
.row-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.row-image {
    position: relative;
}

.row-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.floating-card i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.bc-1 {
    bottom: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

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

.feature-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list li {
    display: flex;
    gap: 20px;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-list p {
    color: var(--text-light);
}

/* EXAM CARDS */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exam-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.exam-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
}

.blue-gradient { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.orange-gradient { background: linear-gradient(135deg, #f97316, #c2410c); }
.green-gradient { background: linear-gradient(135deg, #10b981, #047857); }

.exam-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.exam-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    min-height: 80px;
}

.exam-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.exam-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ACHIEVERS */
.achievers-showcase {
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.achiever-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.a-stat h3 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.a-stat p {
    color: #e5e7eb;
    font-weight: 500;
}

.divider {
    width: 2px;
    background: rgba(255,255,255,0.2);
    min-height: 100%;
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.achiever-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.achiever-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.a-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.a-img::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
}

.a-name {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.a-rank {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(251, 191, 36, 0.1);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
}

/* BRANCHES */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.branch-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.branch-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.branch-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.branch-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.branch-card p {
    color: var(--text-light);
}

/* FOOTER CTA */
.footer-cta {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.pattern-bg {
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%23ffffff" fill-opacity="0.05"/></svg>');
}

.footer-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.f-contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.fcard {
    background: rgba(255,255,255,0.1);
    padding: 20px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.fcard i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.fcard h4 {
    color: white;
    margin-bottom: 10px;
}

.fcard a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* FOOTER */
.site-footer {
    background: #06112a;
    color: #9ca3af;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.brand-col p {
    margin-top: 20px;
    max-width: 400px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul a {
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    background: #030814;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .row-layout { grid-template-columns: 1fr; }
    .row-image { display: none; /* simple workaround to keep layout neat on tablets */ }
    .exam-grid { grid-template-columns: repeat(2, 1fr); }
    .achievers-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-inner { flex-direction: column; text-align: center; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .hero-features { flex-direction: column; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
    
    .glass-form { margin: 0 auto; width: 100%; }
    
    .exam-grid { grid-template-columns: 1fr; }
    .achievers-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    
    .achiever-stats { flex-direction: column; gap: 20px; }
    .divider { width: 100%; height: 2px; }
    
    .footer-content { grid-template-columns: 1fr; }
}
