/* =========================================
   1. BASE STYLES & VARIABLES
   ========================================= */
:root {
  --primary-color: #004aad;   /* Core Blue */
  --secondary-color: #a0c4ff; /* Light Blue */
  --accent-color: #ff9800;    /* Orange for CTA */
  --text-dark: #333;
  --text-light: #555;
  --background-light: #f4f7fa;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth; 
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif; 
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  color: var(--primary-color);
  margin-top: 0;
}

p {
  line-height: 1.6;
  color: var(--text-light);
}

section {
  padding: 60px 0;
}

/* =========================================
   2. BUTTONS & UTILITIES
   ========================================= */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background: #00337f;
  transform: translateY(-2px);
}

.btn-primary.orange-btn {
    background: var(--accent-color);
}
.btn-primary.orange-btn:hover {
    background: #e68900;
}

.btn-secondary {
  background: none;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.header {
  background: var(--white); 
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px; 
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 10px 0;
  display: block;
  position: relative; 
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary-color);
    transition: width 0.3s ease; 
}

nav a:hover::after, nav a.active::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================
   4. ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
  background: var(--accent-color);
  color: #000;
  padding: 8px 0;
  font-size: 0.9em;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.announcement-bar p { margin: 0; font-weight: 500; color: #000; }

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 550px;
    width: 100%;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.hero-slide.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Gradients */
#slide-course { background: linear-gradient(135deg, #004aad 0%, #0078ff 100%); }
#slide-service { background: linear-gradient(135deg, #1e2a38 0%, #2c3e50 100%); }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Badges */
.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.student-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.business-badge {
    background: rgba(255, 152, 0, 0.2);
    border: 1px solid #ff9800;
    color: #ff9800;
}

.btn-group { display: flex; gap: 15px; justify-content: center; }

/* Animations */
.animated-text, .animated-button { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}
.scroll-down span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll 2s infinite;
}
.scroll-down span:nth-child(2) { animation-delay: -0.2s; }
.scroll-down span:nth-child(3) { animation-delay: -0.4s; }
@keyframes scroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}

/* =========================================
   6. STATS SECTION
   ========================================= */
.stats-section {
  background: var(--primary-color);
  padding: 50px 0;
  color: white;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  gap: 30px;
}
.stat-box {
  flex: 1 1 200px;
  padding: 10px;
  transition: transform 0.3s ease;
}
.stat-box:hover { transform: translateY(-5px); }
.stat-box i { color: var(--secondary-color); margin-bottom: 15px; }
.stat-number { font-size: 2.5em; font-weight: 700; margin: 5px 0; color: #ffffff; }
.stat-box p { font-size: 1.1em; opacity: 0.9; margin: 0; color: #e0e0e0; }

/* =========================================
   7. SERVICES SECTION (Home & Page)
   ========================================= */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Standard Service Card (Services Page) */
.service-card, .content-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.service-card:hover, .content-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.15);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card:hover .service-icon-wrapper { background: var(--primary-color); }
.service-card i, .content-box i { font-size: 28px; color: var(--primary-color); transition: 0.3s; }
.service-card:hover i { color: #ffffff; }

.service-card h2, .service-card h3 { font-size: 1.5em; margin-bottom: 15px; color: #222; }

.service-card ul { list-style: none; padding: 0; margin-top: 15px; }
.service-card ul li { position: relative; padding-left: 25px; margin-bottom: 10px; color: #555; font-size: 0.95em; }
.service-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
}

/* Improved Service Preview Card (Home Page - 3D Effect) */
.service-preview-card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}
.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.15);
    border-color: var(--primary-color);
}
.service-preview-card .icon-box {
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s;
}
.service-preview-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
}
.service-preview-card i {
    font-size: 32px;
    color: var(--primary-color);
    transition: 0.3s;
}
.service-preview-card:hover i {
    color: white;
}

/* =========================================
   8. WHY CHOOSE US SECTION
   ========================================= */
.why-choose-us {
    background: #f8f9fa;
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.feature-box h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}
.feature-box h3 i {
    color: #28a745;
    margin-right: 10px;
}
.feature-box p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   9. ABOUT US & TEAM (Image & Layout)
   ========================================= */

/* Founder Legacy Card */
.founder-legacy-card, .founder-card {
    background: #fffbea;
    border-left: 5px solid #d4af37;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 60px;
}
.founder-legacy-card h3 { color: #d4af37; text-transform: uppercase; letter-spacing: 1px; }

/* TEAM GRID LAYOUT (FIXED 2x2 for Desktop) */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important; /* Forces 2 columns */
    gap: 40px;
    max-width: 900px;
    margin: 50px auto;
}

/* Profile Card Styling */
.profile-card, .team-card, .student-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.profile-card:hover, .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.profile-card h3, .team-card h3 { margin-bottom: 5px; font-size: 1.2em; color: var(--primary-color); }
.profile-card h4, .team-card h4 { font-size: 0.9em; color: #777; margin-bottom: 15px; font-weight: 500; text-transform: uppercase; }

/* =========================================
   10. IMAGE STYLES (SHARP CORNERS & FULL VIEW)
   ========================================= */

/* Fix for Team & Student Profile Cards */
.profile-card img, 
.student-card img,
.team-card img {
    width: 100% !important;       
    max-width: 250px !important;  
    height: auto !important;      
    object-fit: contain !important; /* Full image visible */
    border-radius: 0 !important;    /* SQUARE CORNERS */
    aspect-ratio: auto !important; 
    background-color: transparent !important; 
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    padding: 2px !important;
    margin-bottom: 15px;
}

/* Fix for Founder Image */
.founder-img {
    width: 100% !important;
    max-width: 350px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;    /* SQUARE CORNERS */
    border: 5px solid #d4af37;    
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto 20px auto;
}

.founder-img-wrapper {
    height: auto !important;
    flex: 0 0 auto !important;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================
   11. UTILITY PAGES (Contact, FAQ, Etc)
   ========================================= */
/* FAQ */
.faq-section { background: #ffffff; }
details {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}
details:hover { background: #f0f4ff; }
summary { font-weight: 600; font-size: 1.1em; color: var(--text-dark); outline: none; }

/* Contact Form */
.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.contact-form, .contact-info { flex: 1 1 400px; }
.contact-form form input, .contact-form form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.contact-form button {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
}

/* =========================================
   12. FOOTER
   ========================================= */
.footer {
  background: var(--primary-color); 
  color: #ffffff; 
  padding: 50px 0 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2); 
}

.footer-col { flex: 1 1 200px; }
.footer h4 { color: #ffffff; margin-bottom: 20px; font-size: 1.1em; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; color: rgba(255, 255, 255, 0.9); }
.footer p { color: rgba(255, 255, 255, 0.9); } 

.footer a { color: var(--secondary-color); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #ffffff; }

.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.85em; color: var(--secondary-color); }
.footer-bottom p { color: var(--secondary-color); } 

.social-links a { font-size: 1.3em; margin-right: 15px; color: #ffffff; transition: 0.3s; }
.social-links a:hover { color: var(--accent-color); transform: scale(1.1); }

/* =========================================
   13. ANIMATIONS & SCROLL EFFECT
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s;
}
.whatsapp-float:hover { background-color: #128c7e; }

/* =========================================
   14. RESPONSIVE DESIGN (Mobile)
   ========================================= */
@media (max-width: 900px) {
    .header .container { position: relative; }
    .menu-toggle { display: block; }
    nav { 
        display: none; 
        position: absolute; 
        top: 60px; 
        left: 0; 
        right: 0; 
        background: #ffffff; 
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
        z-index: 999; 
    }
    nav.nav-open { display: block; animation: fadeInSlideUp 0.3s ease; }
    nav ul { flex-direction: column; padding: 0; }
    nav ul li { margin: 0; border-bottom: 1px solid #eee; }
    nav a { padding: 15px 20px; }
    nav a::after { content: none; }
    
    .hero { min-height: 500px; height: auto; padding: 100px 0; }
    .hero h1 { font-size: 2.2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; box-sizing: border-box; }
    
    .contact-grid { flex-direction: column; }
    .footer-grid { flex-direction: column; text-align: center; }
    
    .founder-card { flex-direction: column; text-align: center; }
    
    /* Mobile: 1 Column for Team */
    .team-grid { 
        grid-template-columns: 1fr !important; 
        gap: 30px; 
        padding: 0 15px;
    }
}

/* =========================================
   GOOGLE REVIEWS SECTION (FIXED)
   ========================================= */
.reviews-section {
    background: #ffffff;
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: transform 0.3s;
    position: relative; /* For icon positioning */
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.reviewer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.reviewer-header strong {
    display: block;
    color: #333;
    font-size: 1.1em;
}

/* NEW: Google Logo Style (CSS only) */
.google-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    /* Google Multicolor Gradient */
    background: linear-gradient(45deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback color if gradient fails */
    color: #4285F4;
}

.stars {
    color: #ff9800;
    font-size: 0.9em;
}

.review-card p {
    font-size: 0.95em;
    color: #555;
    font-style: italic;
    line-height: 1.5;
}
/* =========================================
   PREMIUM FAQ SECTION DESIGN
   ========================================= */
.faq-section {
    background: #ffffff;
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
}

details {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

details:hover {
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.1);
    border-color: var(--secondary-color);
}

details[open] {
    background: #f8faff;
    border-left: 5px solid var(--primary-color);
}

summary {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

summary::-webkit-details-marker {
    display: none; /* Hide default triangle in Chrome */
}

summary:hover {
    color: var(--primary-color);
}

/* Custom Plus/Minus Icon */
summary::after {
    content: '+';
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
    color: var(--accent-color);
}

details p {
    padding: 0 25px 20px 25px;
    margin: 0;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #f0f0f0;
    margin-top: 5px;
    padding-top: 15px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================
   HERO SLIDE 3 (LOGO SPECIAL)
   ========================================= */

/* 1. Background Style for Logo Slide */
#slide-logo {
    /* साफ़ दिखने के लिए सफ़ेद/हल्का बैकग्राउंड */
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

/* 2. Text color change for White Background */
#slide-logo h2 {
    color: var(--primary-color); /* नीला टेक्स्ट */
    font-size: 2rem;
    letter-spacing: 2px;
}

/* 3. Big Logo Style */
.big-logo-hero {
    width: 100%;
    max-width: 450px; /* लोगों का साइज़ बड़ा किया */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); /* हल्की परछाई */
    margin-bottom: 20px;
}

/* 4. Zoom Animation for Logo */
.animate-zoom {
    animation: zoomInLogo 1.5s ease-out forwards;
}

@keyframes zoomInLogo {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .big-logo-hero {
        max-width: 280px; /* मोबाइल पर थोड़ा छोटा */
    }
    #slide-logo h2 {
        font-size: 1.2rem;
    }
}
/* =========================================
   PLACEMENT PARTNERS TICKER (MARQUEE)
   ========================================= */
.placement-ticker-section {
    background: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden; /* Hide scrollbar */
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #f8faff; /* Light Blue BG */
    padding: 15px 0;
    border-radius: 50px; /* Capsule Shape */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    white-space: nowrap;
    position: relative;
}

/* Gradient fade effect on sides */
.ticker-wrap::before, .ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #f8faff, transparent);
}
.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #f8faff, transparent);
}

.ticker {
    display: inline-block;
    animation: marquee 30s linear infinite; /* Smooth continuous scroll */
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

/* Separator Dot between names */
.ticker-item::after {
    content: "•";
    position: absolute;
    right: 0;
    color: #ccc;
}

/* Pause on Hover (Optional) */
.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves half way (because content is doubled) */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 0.9rem;
        padding: 0 20px;
    }
}
/* =========================================
   NEW BLOG PAGE STYLES (Knowledge Center)
   ========================================= */

/* Blog Header */
.blog-header {
    background: #f8faff;
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.blog-header h1 { font-size: 2.5em; margin-bottom: 10px; }
.blog-header p { font-size: 1.1em; color: #666; max-width: 600px; margin: 0 auto 30px; }

/* Search Box */
.search-box-wrapper {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 50px;
    overflow: hidden;
}
.search-box-wrapper input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1em;
}
.search-box-wrapper button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1.2em;
    transition: 0.3s;
}
.search-box-wrapper button:hover { background: #00337f; }

/* Layout Grid (Left Content + Right Sidebar) */
.blog-container-section { padding: 50px 0; background: #fff; }
.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* 70% Content, 30% Sidebar */
    gap: 40px;
    align-items: start;
}

/* Blog Cards */
.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--secondary-color); }

/* Featured Card (The big one at top) */
.featured-card .blog-thumb {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}
.blog-fallback-icon { font-size: 80px; opacity: 0.3; }
.category-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--accent-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8em;
}

.blog-content { padding: 25px; }
.blog-content h2 { margin-top: 10px; font-size: 1.8em; }
.blog-content h2 a { text-decoration: none; color: var(--text-dark); transition: 0.3s; }
.blog-content h2 a:hover { color: var(--primary-color); }

.blog-meta { font-size: 0.9em; color: #888; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Standard Grid Articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2 columns inside main area */
    gap: 25px;
}
.blog-grid .blog-card h3 { font-size: 1.3em; margin: 10px 0; }
.blog-grid .blog-card h3 a { text-decoration: none; color: #333; }
.category-tag {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
}
.text-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
    display: inline-block;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}
.widget-title {
    font-size: 1.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* Tool List in Sidebar */
.tool-list { list-style: none; padding: 0; margin: 0; }
.tool-list li { margin-bottom: 12px; }
.tool-list a {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    font-weight: 500;
}
.tool-list a i {
    width: 30px;
    color: var(--primary-color);
    font-size: 1.1em;
}
.tool-list a:hover {
    background: var(--primary-color);
    color: white;
}
.tool-list a:hover i { color: white; }

/* Category Cloud */
.category-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.category-cloud a {
    background: #f0f4ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85em;
    transition: 0.3s;
}
.category-cloud a:hover { background: var(--primary-color); color: white; }

/* Pagination */
.pagination { margin-top: 40px; display: flex; gap: 10px; }
.pagination a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #eee;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}
.pagination a.active, .pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Mobile Responsive for Blog */
@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; } /* Stack sidebar below content */
    .blog-sidebar { order: -1; } /* Optional: Put sidebar (Tools) on TOP in mobile */
    .featured-card .blog-thumb { height: 180px; }
}
/* =========================================
   SINGLE BLOG POST STYLES
   ========================================= */

/* Article Container */
.blog-post-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 1.05em; /* पढ़ने में आसान */
    line-height: 1.8;
}

/* Typography inside Article */
.blog-post-content h2 { margin-top: 30px; font-size: 1.8em; color: var(--primary-color); }
.blog-post-content h3 { margin-top: 25px; font-size: 1.4em; color: #444; }
.blog-post-content p { margin-bottom: 20px; color: #555; }
.blog-post-content ul, .blog-post-content ol { margin-bottom: 20px; padding-left: 20px; }
.blog-post-content li { margin-bottom: 10px; }

/* Special "Example Box" Design */
.example-box {
    background: #fdf6e7; /* Light Orange/Yellow */
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}
.example-box h4 { margin-top: 0; color: #d87c00; display: flex; align-items: center; }
.example-box h4 i { margin-right: 10px; }

/* Table Style inside Blog */
.blog-table { width: 100%; border-collapse: collapse; margin: 25px 0; }
.blog-table th, .blog-table td { border: 1px solid #ddd; padding: 12px; text-align: left; }
.blog-table th { background: var(--primary-color); color: white; }
.blog-table tr:nth-child(even) { background: #f9f9f9; }

/* Author & Date Header */
.post-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.post-tags span { background: #eef2ff; color: var(--primary-color); padding: 5px 10px; font-size: 0.8em; border-radius: 4px; font-weight: 600; margin-right: 10px; }

/* Mobile Fix */
@media (max-width: 768px) {
    .blog-post-content { padding: 20px; }
}