* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* Horizontal scroll ko block karne ke liye */
  width: 100%;
}
/* Body wrapper */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0 auto;
  max-width: 1000px;          /* पूरे layout को body के अंदर रखो */
  border: 12px solid #cce6ff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #1e90ff, #ffa500);
  background-attachment: fixed;
  background-size: cover;
  box-sizing: border-box;
  position: relative;
}

/* Container inside body */
.site-container {
  max-width: 960px;           /* body से थोड़ा छोटा */
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Content wrapper: main + sidebar */
.content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: nowrap;          /* दोनों एक ही row में रहें */
}

/* Main content */
#maincontent {
  flex: 2;                    /* main content ज्यादा space ले */
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  box-sizing: border-box;
  min-width: 0;               /* overflow रोकने के लिए */
}

/* Sidebar (Latest Updates) */
aside.latest-updates {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  background: #f9fbff;
  border: 3px solid #cce6ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  box-sizing: border-box;
  overflow-y: auto;
}

/* Latest post list */
aside.latest-updates ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
aside.latest-updates ul li {
  background: #fff;
  border: 2px solid #cce6ff;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  word-wrap: break-word;       /* पुराने browsers */
  overflow-wrap: break-word;   /* modern browsers */
  box-sizing: border-box;
}
aside.latest-updates ul li a {
  color: #004080;
  font-weight: bold;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  word-break: break-word;      /* long URLs/titles wrap हों */
}
aside.latest-updates ul li a:hover {
  color: #ff9933;
  text-decoration: underline;
}
aside.latest-updates small {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 5px;
  word-break: break-word;
}


/* Responsive */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  aside.latest-updates {
    width: 60%;
    max-width: none;
  }
  #maincontent {
    width: 100%;
    max-width: none;
  }
  aside.latest-updates {
    margin-top: 20px;
  }
}


/* Search box */
.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}
.search-box input[type="text"] {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 3px solid green;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #667eea;
  border: none;
  padding: 8px 10px;
  border-radius: 50%;
  cursor: pointer;
}
.search-box button svg { fill: #fff; width: 16px; height: 16px; }
@media (max-width: 768px) {
    .search-box {
    width: 60%;
    max-width: none;
  }
}
    
/* --- Desktop Social Icons (Screen ke bahar sidebars) --- */
.social-icons {
  position: absolute;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999; /* Taaki sabke upar rahe */
}

.social-icons.left { 
  left: -70px; 
}

.social-icons.right { 
  right: -70px; 
}

.icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #000080;
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.icon:hover { 
  transform: scale(1.1); 
}

/* --- ✅ Mobile Responsive Fix (Icons Screen ke andar lane ke liye) --- */
@media (max-width: 768px) {
  .social-icons {
    position: fixed; /* Screen par chipka rahega */
    top: 30%;        /* Thoda upar taaki content block na ho */
    z-index: 9999;
  }

  /* Left Icons: Screen ke andar 5px margin par */
  .social-icons.left {
    left: 5px !important;
    right: auto !important;
  }

  /* Right Icons: Screen ke andar 5px margin par */
  .social-icons.right {
    right: 5px !important;
    left: auto !important;
  }

  /* Mobile par size thoda chhota taaki screen space bache */
  .icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
}
/* Outer layer (header अब body के border से merge होगा) */
.header-layer {
  max-width: 100%;
  margin: 0;                    /* body के अंदर flush */
  background: #cce6ff;          /* वही रंग जो border में है */
  border-radius: 0;             /* अलग rounded corners नहीं */
  padding: 6px;
  border-bottom: 12px solid #cce6ff; /* नीचे मोटा continuation */
}

/* Inner header */
.header-wrapper {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* Top strip */
.top-bar {
  background:#e6f0ff;
  color:#003366;
  padding:12px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.top-bar .logo { display:flex; align-items:center; }
.top-bar img { height:50px; margin-right:12px; }
.top-bar h1 { margin:0; font-size:24px; font-weight:bold; color:#004080; }
.top-bar span { font-size:13px; display:block; color:#ff9900; }

/* Hamburger icon */
.menu-toggle {
  display:none;
  font-size:28px;
  cursor:pointer;
  background:none;
  border:none;
  color:#003366;
}
/* Nav bar (desktop only) */
.nav-bar {
  background:#003366;
  color:#fff;
  padding:10px 20px;
  display:flex;
  justify-content:center;
}
nav a {
  color:#fff; text-decoration:none; margin:0 14px; font-weight:bold;
  transition:color 0.3s;
}
nav a:hover { color:#ffcc00; }

/* Side drawer (mobile menu) */
.side-drawer {
  position:fixed;
  top:0;
  right:-260px; 
  width:260px;
  height:100%;
  background:#e6f0ff;
  box-shadow:-2px 0 5px rgba(0,0,0,0.3);
  transition:right 0.3s ease;
  padding:20px;
  z-index:1000;
  visibility:hidden;   
}
.side-drawer.open {
  right:0;             
  visibility:visible;  
}
.side-drawer nav a {
  display:block;
  margin:10px 0;
  color:#003366;
}
.side-drawer .actions {
  flex-direction:column;
  margin-top:20px;
}
.side-drawer .actions input,
.side-drawer .actions button {
  margin:5px 0;
}

/* Overlay background when drawer open */
.overlay {
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.4);
  display:none;
  z-index:999;
}

/* Mobile view */
@media (max-width:768px) {
  .actions, .nav-bar {
    display:none; 
  }
  .menu-toggle {
    display:block; 
  }
  .top-bar h1 {
    font-size:18px;
  }
}
/* Google Translate Widget */
#google_translate_element {
  margin: 15px auto;
  text-align: center;
}
.goog-te-combo {
  padding: 10px 15px;
  border-radius: 8px;
  border: 3px solid green;
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  font-size: 15px;
  font-weight: bold;
  color: blue;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.goog-te-combo:hover { background:#F6E4D9; border-color:deeppink; transform:scale(1.05); }

/* Hide branding */
.goog-logo-link, .goog-te-gadget span, .goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
  display:none !important;
}
.goog-te-gadget { font-size:0 !important; }

/* Parent container for main + sidebar */
.content-wrapper {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  align-items: flex-start;
}


/* Mobile view — keep same design for Google Translate */
@media (max-width: 768px) {
  #google_translate_element {
    margin: 15px auto;
    text-align: center;
  }
  .goog-te-combo {
    padding: 10px 15px;
    border-radius: 8px;
    border: 3px solid green;
    background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
    font-size: 15px;
    font-weight: bold;
    color: blue;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
}
body {
  top: 0 !important;
}


/* Section Heading */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  max-width: 1200px;
}
.section-header h2, section h2 {
  color: #138808;
  border-bottom: 2px solid #ff9933;
  padding-bottom: 5px;
}
.view-all {
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  color: blue;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
}
.view-all:hover { color: #e67e22; }

/* Cards Row */
.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: auto;
  justify-content: center; /* center align */
}

/* Normal cards */
.card {
  flex: 1 1 230px;          /* flexible width */
  max-width: 100%;          /* कभी भी screen से बाहर नहीं */
  height: auto;             /* auto height */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid green;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;   /* padding को width में शामिल करो */
}

/* Full-width card */
.card.full-width {
  flex: 1 1 100%;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cards-row {
    flex-direction: row;
    justify-content: center;
  }
  .card {
    flex: 1 1 45%; /* tablets पर दो-दो cards */
  }
}
@media (max-width: 768px) {
  .cards-row {
    flex-direction: column;
    align-items: stretch;
  }
  .card {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .card.full-width {
    width: 100%;
  }
}

/* Card content */
.card h2, .card h3, .card p {
  color: blue;
  margin: 0;
  line-height: 1.4;
}
.card-link {
  align-self: flex-end;
  padding: 12px 20px;
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  color: blue;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  min-height: 48px;
}
.card-link:hover { background-color: #e67e22; }
.card img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}


/* Social Icons - Left */
.social-icons-left {
  position: fixed;      
  top: 40%;
  left: calc((100% - 1000px)/2); /* body के left edge */
  display: flex;
  flex-direction: column;  /* vertical stack */
  align-items: flex-start;
  gap: 12px;
  z-index: 1000;
}

/* Social Icons - Common */
.social-icons {
  position: fixed;       /* freeze on scroll */
  top: 40%;              /* vertical position */
  display: flex;
  flex-direction: column; /* vertical stack */
  gap: 12px;
  z-index: 1000;
}

/* Left side icons */
.social-icons.left {
  left: calc((100% - 1000px)/2); /* body के left edge */
}

/* Right side icons */
.social-icons.right {
  right: calc((100% - 1000px)/2); /* body के right edge */
}

/* Icon design */
.icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  color: #000080;
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


/* Lists & Links */
li { color: blue; }
a { font-weight: bold; font-size: 20px; }

/* Responsive Images */
img, .responsive-img { max-width: 100%; height: auto; }


/* Accessibility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute;
  top: -80px;
  left: 0;
  background: #138808;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;   /* horizontal scroll enable */
  -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

/* Table styling */
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 16px;
  min-width: 400px;   /* force minimum width so columns stay side by side */
}

.table-responsive th,
.table-responsive td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.table-responsive thead {
  background-color: #4CAF50;
  color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto; /* allow scroll instead of breaking into one column */
  }
  .table-responsive table {
    font-size: 14px;  /* थोड़ा छोटा font mobile पर */
  }
}

/* Error page container */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}
.error-code {
  font-size: 8rem;
  font-weight: bold;
  color: #ff6b6b;
}
.message {
  font-size: 1.5rem;
  margin: 20px 0;
}
.emoji {
  font-size: 3rem;
}
dl dt {
    cursor: pointer;
    font-weight: bold;
    color: blue; /* question color */
    margin: 10px 0;
    position: relative;
  }
  dl dd {
    display: none; /* answers hidden initially */
    margin: 5px 20px;
    color: green; /* answer color */
  }
  dl dt::after {
    content: "▼"; /* dropdown arrow */
    position: absolute;
    right: 0;
    font-size: 14px;
    color: blue;
  }
  dl dt.active::after {
    content: "▲"; /* arrow changes when active */
  }
  dl dd.show {
    display: block; /* show answer when active */
  }
/* Article container */
article {
  max-width: 800px;
  margin: 30px auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 3px solid #cce6ff; /* match header layer */
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  word-wrap: break-word;       /* Prevent long words overflow */
  overflow-wrap: break-word;   /* Modern browsers */
  box-sizing: border-box;      /* Include padding in width */
}

/* Main heading */
article h1 {
  font-size: 28px;
  color: #004080; /* same as header h1 */
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #ff9933; /* tricolor accent */
  padding-bottom: 10px;
  word-wrap: break-word;
}

/* Section headings */
article h2 {
  font-size: 22px;
  color: #138808; /* green accent */
  margin-top: 25px;
  margin-bottom: 10px;
  border-left: 5px solid #ff9933;
  padding-left: 10px;
  word-wrap: break-word;
}
article h3 {
    color: green;
    
}

/* Paragraphs */
article p {
  font-size: 15px;
  color: blue;
  margin-bottom: 15px;
  word-wrap: break-word;
}

/* Lists */
article ul, article ol {
  margin: 10px 0 20px 25px;
  font-size: 15px;
  color: #003366;
}
article ul li::marker {
  color: deeppink; /* stylish bullets */
}
article ol li::marker {
  color: green; /* numbered list accent */
}

/* Highlighted text */
article strong {
  color: #004080;
}

/* Emoji styling */
article .emoji {
  font-size: 20px;
  margin-right: 5px;
}

/* Links inside article */
article a {
  color: #004080;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word; /* Prevent long URLs overflow */
}
article a:hover {
  color: #ff9933;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 760px) {
  article {
    width: 95%;
    padding: 20px;
  }
  article h1 {
    font-size: 24px;
  }
  article h2 {
    font-size: 20px;
  }
  article p, article ul, article ol {
    font-size: 14px;
    color: blue;
  }
}

/* Table Styling */
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 3px solid #cce6ff; /* match header & cards */
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed; /* Prevent overflow */
  word-wrap: break-word;
}

/* Table Head */
article table th {
  background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  color: #004080;
  font-weight: bold;
  padding: 12px;
  text-align: center;
  border-bottom: 3px solid #cce6ff;
  word-wrap: break-word;
}

/* Table Rows */
article table td {
  background: #ffffff;
  color: deeppink;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #e6f0ff;
  transition: background 0.3s ease;
  word-wrap: break-word;
}

/* Hover Effect */
article table tr:hover td {
  background: #f9f9f9;
  color: blue;
}

/* Alternate Row Colors */
article table tr:nth-child(even) td {
  background: #f6fbff;
}

/* Responsive Table */
@media (max-width: 768px) {
  article table, 
  article table thead, 
  article table tbody, 
  article table th, 
  article table td, 
  article table tr {
    display: block;
    width: 100%;
  }

  article table tr {
    margin-bottom: 15px;
    border: 2px solid #cce6ff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  article table td {
    text-align: left;
    padding: 12px;
    position: relative;
    word-wrap: break-word;
    color:blue;
  }

  article table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: deeppink;
    display: block;
    margin-bottom: 6px;
  }

  article table th {
    display: none;
  }
}


.reviews-form {
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
  padding: 30px;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.reviews-form h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0073e6;
  font-weight: bold;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0073e6;
  outline: none;
}

.btn-submit {
  background: #0073e6;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: #005bb5;
  transform: scale(1.05);
}

.reviews-list {
  background: #f9fbff;
  padding: 30px;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.reviews-list h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #0073e6;
  text-align: center;
}

.review-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-card h3 {
  margin: 0 0 10px;
  color: green;
}

.review-card p {
  font-size: 15px;
  color: blue;
  margin-bottom: 10px;
}

.review-card span {
  font-size: 20px;
  color: #FFD700; /* ⭐ Golden stars */
}

.review-card small {
  color: deeppink;
}

/* Footer */
footer {
  background: #cce6ff;
  color: deeppink;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}
footer a {
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
  color: blue;
  font-size: 15px;
}
footer a:hover {
  color: deeppink;
}
.dmarc-badge {
  display: inline-block;
  background: #e6f7ff;
  border: 2px solid #1e90ff;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: bold;
  color: #1e90ff;
}
