/* --- Reset & Variables --- */
:root {
    --primary-color: #1aaeb8; /* Teal */
    --primary-hover: #159099;
    --text-dark: #0f172a;     /* Dark Navy/Black */
    --text-grey: #64748b;     /* Slate Grey */
    --bg-light: #f6f9fc;      /* Very light blue-grey background */
    --white: #ffffff;
    --border-color: #e2e8f0;
    --purple-light: #f3e8ff;
    --purple-icon: #a855f7;
    --teal-light: #ccfbf1;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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


.logo-icon {
    width: 36px;
    height: 36px;
    /* background-color: var(--primary-color); */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-logo .logo-icon {
    background-color: transparent !important;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-grey);
    font-weight: 500;
    font-size: 15px;
}

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

.nav-auth {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(26, 174, 184, 0.3);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-outline {
    background-color: var(--white);
    border: 1px solid #cbd5e1;
    color: #334155;
}

.btn-outline:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

/* --- Hero Section --- */
.hero {
    /* Subtle background gradient from top-left white to bottom-right very light grey/blue */
    background: linear-gradient(135deg, #f0fdfa 0%, #fff 40%, #f3f4f6 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ccfbf1;
    color: #0f766e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trusted-by p {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trusted-icons {
    display: flex;
    gap: 24px;
    align-items: center;
    opacity: 0.7;
}

/* --- Right Visual (Dashboard Card) --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* NEW CSS (Ise add karein) */
.hero-image {
    width: 100%;             /* Container ki full width lega */
    max-width: 400px;        /* Image ko bohot bada hone se rokega */
    height: auto;            /* Aspect ratio maintain karega */
    display: block;          /* Extra spacing hatane ke liye */
    border-radius: 16px;     /* Agar image ke corners round chahiye to */
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1); /* Waisa hi shadow jo pehle tha */
}

/* === UPCOMING SESSIONS SECTION === */
.sessions-section {
  padding: 80px 20px; /* Thoda padding adjust kiya hai container ke hisab se */
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
}

.sessions-header {
  text-align: center;
  margin-bottom: 48px;
}

.sessions-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark); /* Updated variable */
  margin: 0 0 12px 0;
}

.sessions-header p {
  font-size: 16px;
  color: var(--text-grey); /* Updated variable */
  margin: 0;
}

.sessions-grid {
  display: flex;             /* Grid ki jagah Flexbox */
  justify-content: center;   /* Ye cards ko horizontal center mein layega */
  flex-wrap: wrap;           /* Screen choti hone par cards niche shift ho jayenge */
  gap: 28px;
}

.session-card {
  width: 100%;               /* Mobile ke liye responsive banayega */
  max-width: 380px;          /* Card ko 3-column jitna hi bada rakhega, jyada stretch nahi hone dega */
  
  /* Baki purana code same rakhein */
  border: 1px solid var(--border-color); 
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;       
  flex-direction: column; 
}

.session-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.session-image img {
    width: 100%;
    height: auto;         /* Height image ke hisab se apne aap set hogi */
    aspect-ratio: 16/9;   /* Standard banner ratio, taaki card ka shape na bigde */
    object-fit: contain;  /* Image puri dikhegi, kabhi nahi kategi */
    display: block;
}

.session-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.session-meta {
  font-size: 13px;
  color: var(--text-grey); /* Updated variable */
  margin: 0 0 12px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.session-meta .category-tag {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Colors */
.category-tag.cardiology { background: #e11d48; }
.category-tag.oncology { background: #db2777; }
.category-tag.neurology { background: #0284c7; }

.session-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark); /* Updated variable */
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.session-button {
  margin-top: auto; /* Button ko bottom pe push karne ke liye */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--primary-color); /* Updated variable */
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}

.session-button:hover {
  background: var(--primary-hover); /* Updated variable */
}

.session-button:hover svg {
  transform: translateX(4px);
}

/* === PLATFORM FEATURES SECTION === */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% - 50% Layout */
    gap: 80px; /* Beech ka gap */
    align-items: center;
}

/* Typography */
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #a855f7; /* Purple Text matching screenshot */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.features-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 450px;
}

/* Feature List Items */
.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.feature-item:last-child {
    margin-bottom: 0;
}

/* Icon Boxes */
.f-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Icon shrink nahi hona chahiye */
}

/* Colors for Icons based on Screenshot */
.f-teal {
    background-color: #ccfbf1; /* Light Teal bg */
    color: #0f766e;            /* Dark Teal icon */
}

.f-purple {
    background-color: #f3e8ff; /* Light Purple bg */
    color: #7e22ce;            /* Dark Purple icon */
}

.f-blue {
    background-color: #e0f2fe; /* Light Blue bg */
    color: #0369a1;            /* Dark Blue icon */
}

/* Feature Text */
.f-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.f-text p {
    font-size: 15px;
    color: var(--text-grey);
    line-height: 1.6;
}

/* Right Side Image Styling */
.features-visual {
    display: flex;
    justify-content: center;
}

.feature-graph-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    /* Screenshot jaisa shadow effect image pe */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08)); 
    border-radius: 12px;
}

.site-footer {
    background-color: #37b89e; /* Dark Teal Color matching screenshot */
    padding: 60px 0 40px;
    color: #ffffff;
    margin-top: 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ab ye Center align karega */
    text-align: center;  /* Text bhi center ho jayega */
}

.footer-brand .logo {
    justify-content: center;
}

/* Footer Brand Styles */
.footer-brand {
    margin-bottom: 40px;
}

/* Overriding logo styles specifically for footer */
.logo-icon.white-icon {
    background-color: #ffffff; /* White background for icon box */
}

/* Icon stroke color change is handled in HTML SVG stroke attribute */

.brand-name.white-text {
    color: #ffffff; /* White text for ONCO DIGEST */
    font-size: 18px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #014739; /* Slightly transparent white */
    max-width: 300px;
}

/* Divider Line */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15); /* Faint line */
    margin-bottom: 30px;
}

/* Bottom Copyright */
.footer-bottom {
    width: 100%;
    text-align: center; /* Centered copyright text */
}

.footer-bottom p {
    font-size: 13px;
    color: #014739;
}

