/* --- Global & Basic Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 1. Pre-Header (Top Bar) --- */
.pre-header {
    background-color: #abb8c3;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    font-size: 12px;
    color: #333;
}

.pre-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pre-header-left span {
    margin-right: 8px;
}

.pre-header-left span:nth-child(3) { /* The divider */
    color: #ccc;
}

.pre-header-right a {
    margin-left: 15px;
    color: #000;
    font-weight: 600;
    font-size: 13px;
}

.pre-header-right a.skip-link {
    font-size: 11px;
}

.pre-header-right a.lang-link {
    background-color: #2c3e50; /* Dark blue */
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
}

.pre-header-right i {
    font-size: 16px;
}

/* --- 2. Main Header (Logo & Title) --- */
.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.main-header-content {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px; /* Adjust as needed */
    margin-right: 25px;
}

.title-container {
    text-align: center;
    flex-grow: 1; /* Allows title to take remaining space and center */
}

.title-container h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.title-container h2 {
    margin: 5px 0;
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.title-container p {
    margin: 0;
    font-size: 18px;
    color: #555;
    font-weight: 600;
}

/* --- 3. Main Navigation Bar (The yellow bar) --- */
.main-nav {
    background-color: #abb8c3; /* The yellow/gold color */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    position: relative; /* Needed for the dropdown */
}

.main-nav li a {
    display: block;
    padding: 14px 20px;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
}

/* Active link style (like 'Home') */
.main-nav li a.active,
.main-nav li a:hover {
    background-color: #e69500; /* A darker shade of the yellow */
    color: #000;
}

/* --- 4. Dropdown Menu --- */
.main-nav .dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    left: 0;
    top: 100%; /* Position right below the parent link */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    flex-direction: column; /* Stack dropdown items vertically */
}

.main-nav .dropdown-menu li {
    width: 100%;
}

.main-nav .dropdown-menu li a {
    background-color: #fff;
    color: #333;
    font-weight: 500;
}

.main-nav .dropdown-menu li a:hover {
    background-color: #f4f4f4; /* Light grey hover for dropdown items */
}

/* Show dropdown on hover */
.main-nav li.dropdown:hover .dropdown-menu {
    display: flex;
}

.main-nav .dropdown a i {
    margin-left: 5px; /* Space for the caret icon */
    font-size: 12px;
}

/* --- Main Content Area --- */
#main-content {
    padding: 20px 0;
}

/* Accessibility: Style for the skip link when focused */
.skip-link:focus {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 9999;
}

/* --- Hero Section Style --- */
.hero-section {
    width: 100%;
    height: 50vh; /* Aap height ko apni zaroorat ke hisab se change kar sakte hain (jaise 400px ya 60vh) */
    overflow: hidden; /* Taaki image section se bahar na nikle */
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Yeh image ko stretch kiye bina poore section ko cover karne mein madad karta hai */
    object-position: center; /* Image ko vertically aur horizontally center rakhta hai */
}

/* ===== NEW CONTENT SECTION STYLES START ===== */

/* Main container (Flexbox) */
.content-section {
    display: flex;
    flex-wrap: wrap; /* Mobile par stack karne ke liye */
    justify-content: space-between;
    width: 100%; 
    margin: 30px auto; 
    gap: 25px; 
}

/* Left Column Styling */
.left-column {
    flex: 1; 
    min-width: 300px; 
}

.tabs-container {
    display: flex;
    border-bottom: 1px solid #ddd; 
}

.tab-link {
    padding: 12px 20px;
    cursor: pointer;
    background-color: #e9e9e9; 
    border: 1px solid #ddd;
    border-bottom: none;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    border-radius: 5px 5px 0 0; 
}

.tab-link.active {
    background-color: #fff; 
    color: #000;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px; 
    position: relative;
    z-index: 2;
}

.tab-content {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    min-height: 300px; 
    position: relative;
    z-index: 1;
    border-radius: 0 4px 4px 4px; /* Top-left ko chhodkar baki corners rounded */
    
    /* NAYA CHANGE: Shadow effect */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}

/* Tab content ko hide/show karne ke liye */
.tab-pane {
    display: none; 
}

.tab-pane.active-content {
    display: block; 
}


/* ===== RIGHT COLUMN STYLES (UPDATED) ===== */

.right-column {
    flex: 1; 
    min-width: 300px;
}

/* BORDER 1: Yeh outer box hai */
.widget-wrapper {
    background-color: #fff; /* Safed background */
    border: 1px solid #ddd; /* Outer border */
    border-radius: 4px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Halki parchhayi */
    
    /* Outer border aur Inner border ke beech ka space */
    padding: 8px; 
}

/* BORDER 2: Yeh content ke aas-paas ka inner box hai */
.widget-inner {
    border: 1px solid #ddd; /* Inner border */
    
    /* Inner border aur content ke beech ka space */
    padding: 20px; 
}

/* Disclaimer box ko top margin dene ke liye */
.disclaimer-wrapper {
    margin-top: 20px;
    /* Disclaimer ka background thoda alag hai */
    background-color: #f9f9f9; 
}

/* Content ki styling ab .widget-inner ke andar target hogi */
.widget-inner h3 {
    font-size: 1.2rem;
    margin-top: 0; /* Extra margin hata di */
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee; /* Yeh aapka teesra border ho sakta hai */
    padding-bottom: 10px;
}

.widget-inner ul {
    list-style-type: disc; 
    padding-left: 20px; 
    margin-bottom: 0; /* Extra margin hata di */
}

.widget-inner li {
    margin-bottom: 18px; 
    line-height: 1.5;
    color: #333; 
}
/* Aakhri list item se extra margin hata di */
.widget-inner li:last-child {
    margin-bottom: 0;
}

.widget-inner li a {
    color: #0000ee; 
    text-decoration: underline; 
}

/* Disclaimer text ki styling */
.disclaimer-wrapper .widget-inner p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}
/* ===== NEW CONTENT SECTION STYLES END ===== */

/* ===== FOOTER STYLES START ===== */

.site-footer {
    width: 100%;
    /* Page ke content aur footer ke beech thoda gap */
    margin-top: 40px; 
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Top par halki shadow */
}

/* --- SECTION 1: Blue Bar --- */
.footer-blue-bar {
    height: 32px; /* Image ke hisab se chhota sa bar */
    background-color: #00005a; /* Dark blue */
}

/* --- SECTION 2: Logo Scroller --- */
.logo-scroller-container {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    overflow: hidden; /* Zaroori hai slider ke liye */
    white-space: nowrap; /* Taki logos wrap na ho */
    position: relative;
}

.logo-scroller {
    display: inline-block; 
    /* CSS animation se "slider" effect */
    animation: scroll 40s linear infinite; 
}

.logo-slide {
    display: inline-flex; 
    align-items: center;
    padding: 0 25px; /* Logos ke beech space */
    height: 60px; /* Sab logos ki height fix */
    
    /* Vertical Separator (jaisa aapne maanga) */
    border-right: 1px solid #e0e0e0; 
}

.logo-slide img {
    max-height: 50px; 
    max-width: 150px; 
 /*   opacity: 0.8; */
    /* Logos ko grayscale kiya gaya hai, jaisa image mein hai */
    filter: grayscale(80%); 
}

/* Slider (marquee) ke liye CSS Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Yeh slider ko 50% (ek set) tak move karta hai */
        transform: translateX(-50%); 
    }
}

/* Hover karne par slider ruk jayega */
.logo-scroller-container:hover .logo-scroller {
    animation-play-state: paused;
}


/* --- SECTION 3: Links Bar --- */
.footer-links-bar {
    background-color: #333; /* Dark gray */
    padding: 15px 5%; /* Side mein thoda space */
}

.footer-links-bar nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Mobile par stack ho jayenge */
    margin: 0;
    padding: 0;
}

.footer-links-bar nav li {
    margin: 5px 10px;
    /* Links ke beech ka vertical separator */
    border-right: 1px solid #777;
    padding-right: 20px;
}

.footer-links-bar nav li:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-links-bar nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links-bar nav a:hover {
    text-decoration: underline;
}

/* --- SECTION 4: Main Footer --- */
.main-footer {
    background-color: #000; /* Black */
    color: #ccc; /* Light gray text */
    padding: 30px 5%;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #fff; /* White links */
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content .last-updated {
    color: #aaa;
}

.footer-powered-by {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px; /* Logos ke beech space */
    border-top: 1px solid #333; /* Upar wale content se alag karne ke liye */
    padding-top: 25px;
}

.footer-powered-by img {
    max-height: 40px; 
    opacity: 0.9;
}

/* ===== FOOTER STYLES END ===== */