:root{
    /* CRICBOTS Brand Colors */
    --primary-color: #3766b1;      /* Main blue from landing page */
    --primary-dark: #3766b1;       /* Darker blue for headers */
    --accent-color: #FFB800;       /* Warm yellow/gold */
    --accent-light: #FFD700;       /* Lighter gold */
    --secondary-color: #3766b1;    /* Secondary blue */
    --success-color: #10b981;      /* Green for success states */
    --warning-color: #f59e0b;      /* Orange for warnings */
    --danger-color: #ef4444;       /* Red for errors */
    
    /* Neutral Colors */
    --muted: #6b7280;              /* Gray text */
    --muted-light: #9ca3af;        /* Lighter gray */
    --dark-color: #0f172a;         /* Dark text */
    --light: #ffffff;              /* White */
    --bg-light: #f8fafc;           /* Light background */
    --bg-primary: #f1f5f9;         /* Primary background */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3766b1 0%, #1e40af 100%);
    --gradient-accent: linear-gradient(135deg, #FFB800 0%, #FFD700 100%);
    --gradient-hero: linear-gradient(135deg, rgba(55, 102, 177, 0.9) 0%, rgba(9, 44, 143, 0.9) 100%);
    
    /* Typography */
    --font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --rounded-sm: 0.375rem;
    --rounded: 0.5rem;
    --rounded-md: 0.75rem;
    --rounded-lg: 1rem;
    --rounded-xl: 1.25rem;
    --rounded-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  /* Basic reset */
  *{box-sizing:border-box;padding:0}
  body{
    font-family: var(--font-family);
    color:var(--dark-color);
    background:#fbfbff;
  }
  
/* Hero Section - Robotics Banner */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Dark overlay for readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
  color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content .tagline {
    font-style: italic;
    font-size: 1.5rem;
    color: white;
    font-size: bold;
    margin-bottom: 30px;
}

/* Robotics styled button */
.hero .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3766b1;
    background-color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero .btn:hover {
    background-color: #3766b1;
    color: white;
    transform: translateY(-3px);
}








  .hero-section{
    padding:48px 0;
    background:linear-gradient(180deg, rgba(9,44,143,0.06), rgba(255,255,255,0));
  }
  .hero-inner{
    display:flex;
    gap:28px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
  }
  .hero-left{flex:1;min-width:300px}
  .hero-title{
    font-size:34px;
    margin:6px 0;
    line-height:1.05;
    color:var(--primary-color);
  }
  .hero-title .kannada{
    display:block;
    font-size:20px;
    color:var(--muted);
    margin-top:4px;
  }
  .hero-tagline{
    color:var(--accent-color);
    font-weight:700;
    margin:12px 0;
  }
  .hero-sub{color:var(--muted);margin-bottom:18px;}
  .hero-ctas .btn{margin-right:10px}
  
  /* Stats */
  .hero-stats{display:flex;gap:20px;margin-top:16px;list-style:none;padding:0}
  .hero-stats li{background:#fff;padding:10px 14px;border-radius:10px;box-shadow:0 6px 18px rgba(20,30,80,0.05)}
  .hero-stats strong{display:block;color:var(--primary-color);font-size:18px}
  
  /* IMAGE */
  .hero-right{flex:1;min-width:280px;text-align:right}
  .hero-image{max-width:450px;width:100%;border-radius:16px;box-shadow:0 18px 50px rgba(9,44,143,0.08)}
  
  /* SECTIONS */
  .container{max-width:1140px;margin: 0 auto;padding:0 18px}
  .section-header h2{font-size:22px;color:var(--primary-color);margin-bottom:6px}
  .section-header p{color:var(--muted);margin-bottom:18px}
  
  /* featured grid */
  .featured-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
  .course-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,0.04);display:flex;flex-direction:column}
  .card-thumb{width:100%;height:140px;object-fit:cover}
  .card-body{padding:14px;flex:1;display:flex;flex-direction:column}
  .card-title{font-size:16px;margin-bottom:6px}
  .card-desc{color:var(--muted);flex:1;font-size:14px;margin-bottom:8px}
  .card-meta{display:flex;gap:10px;color:var(--muted);font-size:13px;margin-bottom:8px}
  
  /* projects grid */
  .projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
  .project-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.04)}
  .project-card img{width:100%;height:140px;object-fit:cover}
  .project-body{padding:12px}
  
  /* testimonials */
  .testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
  .testi-card{background:#fff;padding:14px;border-radius:12px;box-shadow:0 8px 30px rgba(9,44,143,0.04);display:flex;gap:12px;align-items:flex-start}
  .testi-card .avatar img{width:56px;height:56px;border-radius:50%;object-fit:cover}
  .quote{font-style:italic;color:var(--dark-color)}
  
  /* partners */
  .partners-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
  .partner img{max-height:56px;object-fit:contain;filter:grayscale(1);opacity:0.9}
  
  /* CTA footer */
  .cta-footer{background:linear-gradient(90deg, rgba(27, 57, 138, 0.06), rgba(236, 236, 234, 0.02));padding:20px;border-radius:12px;margin:28px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
  .cta-footer h3{color:var(--primary-color)}
  .center{text-align:center;margin-top:14px}
  
  /* Buttons */
  .btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;border:2px solid transparent;cursor:pointer}
  .btn-primary{background:#3766b1;color:#fff}
  .btn-outline{background:transparent;border:2px solid var(--primary-color);color:var(--primary-color)}
  .btn-sm{padding:6px 10px;font-size:13px}
  
  /* Responsive */
  @media (max-width:900px){
    .hero-inner{flex-direction:column-reverse;text-align:center}
    .hero-right{text-align:center}
    .hero-title{font-size:26px}
  }
  
  /* small utility */
  .text-muted{color: var(--muted)}
  
  /* ==================== GLOBAL STYLES ==================== */
  
  /* Body and Layout */
  body {
    font-family: var(--font-family);
    color: var(--dark-color);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
  }
  
  h6 {
    color: white;
  }

  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
  h4 { font-size: var(--font-size-xl); }
  h5 { font-size: var(--font-size-lg); }
  h6 { font-size: var(--font-size-base); }
  
  p { margin-bottom: var(--spacing-md); }
  
  /* Links */
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  a:hover {
    color: var(--primary-dark);
    text-decoration: none;
  }
  
  /* ==================== BUTTONS ==================== */
  
  .btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--rounded-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
  }
  
  .btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    border-color: var(--primary-color);
  }
  
  .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-secondary {
    background: var(--light);
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-outline:hover {
    background: var(--primary-color);
    color: var(--light);
  }
  
  .btn-success {
    background: var(--success-color);
    color: var(--light);
    border-color: var(--success-color);
  }
  
  .btn-warning {
    background: var(--warning-color);
    color: var(--light);
    border-color: var(--warning-color);
  }
  
  .btn-danger {
    background: var(--danger-color);
    color: var(--light);
    border-color: var(--danger-color);
  }
  
  .btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  .btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
  }
  
  /* ==================== CARDS ==================== */
  
  .card {
    background: var(--light);
    border: 1px solid rgba(55, 102, 177, 0.1);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
  }
  
  .card-header {
    background: var(--gradient-primary);
    color: var(--light);
    padding: var(--spacing-lg);
    font-weight: 600;
    border-bottom: none;
  }
  
  .card-body {
    padding: var(--spacing-lg);
  }
  
  .card-footer {
    background: var(--bg-light);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid rgba(55, 102, 177, 0.1);
  }
  
  /* ==================== FORMS ==================== */
  
  .form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--dark-color);
    background: var(--light);
    border: 2px solid rgba(55, 102, 177, 0.2);
    border-radius: var(--rounded);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(55, 102, 177, 0.1);
  }
  
  .form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-dark);
  }
  
  .form-select {
    display: block;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--dark-color);
    background: var(--light);
    border: 2px solid rgba(55, 102, 177, 0.2);
    border-radius: var(--rounded);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(55, 102, 177, 0.1);
  }
  
  /* ==================== BADGES ==================== */
  
  .badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--rounded);
  }
  
  .badge-primary {
    background: var(--gradient-primary);
    color: var(--light);
  }
  
  .badge-secondary {
    background: var(--muted);
    color: var(--light);
  }
  
  .badge-success {
    background: var(--success-color);
    color: var(--light);
  }
  
  .badge-warning {
    background: var(--warning-color);
    color: var(--light);
  }
  
  .badge-danger {
    background: var(--danger-color);
    color: var(--light);
  }
  
  /* ==================== ALERTS ==================== */
  
  .alert {
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid transparent;
    border-radius: var(--rounded-lg);
  }
  
  .alert-primary {
    background: rgba(55, 102, 177, 0.1);
    border-color: rgba(55, 102, 177, 0.2);
    color: var(--primary-dark);
  }
  
  .alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
  }
  
  .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
  }
  
  .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
  }
  
  /* ==================== NAVIGATION ==================== */


  .navbar {
    background: var(--light);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--primary-color);
  }
  
  .navbar-brand {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: var(--font-size-xl);
  }
  
  .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: color 0.2s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--primary-color);
  }
  
  .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  /* ==================== TABLES ==================== */
  
  .table {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    color: var(--dark-color);
    background: var(--light);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  
  .table th {
    background: var(--gradient-primary);
    color: var(--light);
    font-weight: 600;
    padding: var(--spacing-md);
    border: none;
  }
  
  .table td {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(55, 102, 177, 0.1);
  }
  
  .table-striped tbody tr:nth-of-type(odd) {
    background: rgba(55, 102, 177, 0.02);
  }
  
  .table-hover tbody tr:hover {
    background: rgba(55, 102, 177, 0.05);
  }
  
  /* ==================== PAGINATION ==================== */
  
  .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
  }
  
  .page-item {
    margin: 0 var(--spacing-xs);
  }
  
  .page-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--primary-color);
    text-decoration: none;
    background: var(--light);
    border: 2px solid rgba(55, 102, 177, 0.2);
    border-radius: var(--rounded);
    transition: all 0.2s ease;
  }
  
  .page-link:hover {
    background: var(--primary-color);
    color: var(--light);
    border-color: var(--primary-color);
  }
  
  .page-item.active .page-link {
    background: var(--gradient-primary);
    color: var(--light);
    border-color: var(--primary-color);
  }
  
  /* ==================== FOOTER ==================== */
  
  .footer {
    background: var(--primary-dark);
    color: var(--light);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-2xl);
  }
  
  .footer h5 {
    color: white;
    margin-bottom: var(--spacing-lg);
  }
  
  .footer a {
    color: white;
    transition: color 0.2s ease;
  }
  
  .footer a:hover {
    color: var(--accent-color);
  }
  
  /* ==================== UTILITIES ==================== */
  
  .text-primary { color: var(--primary-color) !important; }
  .text-secondary { color: var(--muted) !important; }
  .text-success { color: var(--success-color) !important; }
  .text-warning { color: var(--warning-color) !important; }
  .text-danger { color: var(--danger-color) !important; }
  
  .bg-primary { background: var(--gradient-primary) !important; }
  .bg-light { background: var(--bg-light) !important; }
  
  .shadow-sm { box-shadow: var(--shadow-sm) !important; }
  .shadow { box-shadow: var(--shadow) !important; }
  .shadow-lg { box-shadow: var(--shadow-lg) !important; }
  
  .rounded { border-radius: var(--rounded) !important; }
  .rounded-lg { border-radius: var(--rounded-lg) !important; }
  .rounded-xl { border-radius: var(--rounded-xl) !important; }
  
  /* ==================== RESPONSIVE ==================== */
  
  @media (max-width: 768px) {
    .container {
      padding: 0 var(--spacing-md);
    }
    
    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
    
    .btn {
      padding: var(--spacing-sm) var(--spacing-md);
      font-size: var(--font-size-sm);
    }
    
    .card-body {
      padding: var(--spacing-md);
    }

    .navbar-collapse {
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      z-index: 1030;
      max-height: calc(100vh - 70px);
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  .dropdown-menu {
      position: static;
      float: none;
      width: 100%;
      margin-top: 0;
      border: none;
      box-shadow: none;
  }
  
  /* Ensure Twak doesn't interfere on mobile */
  #tt-widget-iframe-container,
  .tawk-button-container,
  .tawk-min-container {
      z-index: 1010 !important;
  }
  }
  
  /* ==================== EXTRA RESPONSIVE FIXES ==================== */

/* Tablets and small laptops */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p,
  .hero-content .tagline {
    font-size: 1.2rem;
  }
  .hero-image {
    max-width: 350px;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .hero {
    height: auto;
    padding: 60px 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p,
  .hero-content .tagline {
    font-size: 1rem;
  }
  .hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-right {
    text-align: center;
  }
  .hero-image {
    max-width: 280px;
    margin: 0 auto 20px;
  }

  /* Grid adjustments */
  .featured-grid,
  .projects-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .partners-row {
    justify-content: center;
  }

  .cta-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* Extra small mobile devices (320px) */
@media (max-width: 320px) {
  .logo {
    height: 20px; /* reduce height */
    width: 5px;  /* maintain aspect ratio */
  }
}