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

  body {
    margin: 0;
    padding: 0;
    font-family: Arial;
    overflow-x: hidden;
    background: #e5e5e5;
    color: #333;
    line-height: 1.6;
  }
    
    
    nav {
    width: 100%;
    height: 35px;
    background: #363737;
    position: fixed;
    z-index: 1000;
  }

  .nav-container {
    display: flex;
    align-items: stretch;
    height: 100%;
    width: 100%;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.18);
  }

  .nav-links {
    display: flex;
    align-items: stretch;
    list-style: none;
    flex: 1;
  }

  .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
  }

  .nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.15s ease;
    cursor: pointer;
    height: 100%;
  }

  .nav-item > a:hover,
  .nav-item:focus-within > a {
    background: rgba(255,255,255,0.15);
  }

  .nav-item > a .chevron {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid rgba(255,255,255,0.8);
    border-bottom: 1.5px solid rgba(255,255,255,0.8);
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .nav-item:hover > a .chevron,
  .nav-item:focus-within > a .chevron {
    transform: rotate(-135deg) translateY(-1px);
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #141414;
    min-width: 180px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    border-top: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 999;
  }

  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown li a {
    display: block;
    padding: 9px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: background 0.12s ease, padding-left 0.12s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
  }

  .dropdown li:last-child a {
    border-bottom: none;
  }

  .dropdown li a:hover {
    background: rgba(255,255,255,0.15);
    padding-left: 22px;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
  }

  .hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); } 
 


     header {
        background: #363737;
        color: white;
        padding: 40px 0px 40px 0px;
        text-align: center;
    }
    
  
   



    header h1 {
        margin: 0;
        font-size: 2.8rem;
    }

    header p {
        margin-top: 10px;
        font-size: 1.1rem;
    }

    titleWrap{
        margin: 0px 70px 0px 70px;
    }

    main {
        max-width: 1100px;
        margin: auto;
        padding: 20px;
    }

     section {
        background: white;
        margin-bottom: 20px;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    h2 {
        color: #363737;
        border-bottom: 2px solid #e0e0e0;
        padding-bottom: 8px;
    }

    .subjects {
   	   display: grid;
  	  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	  grid-column-gap: 20px;
	  grid-row-gap: 20px;
	  padding: 20px;
   
  }
  
  .subjects a {
    text-decoration: none;
  }
  
  .subjects img {
     display: grid;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    
  }
  
  .subjects img:hover {
    transform: scale(0.96);
  }

    .card-header {
        background: #363737;
        color: white;
        padding: 20px;
        text-align: center;
    }

    .card-body {
        padding: 20px;
      
    }

    .card-body p {
        margin-bottom: 20px;
    }

    .btn {
        position: absolute;
        bottom: 15px;          /* Matches parent padding for a clean look */
        left: 15px; 
       
        width: 200px;
        text-decoration: none;
        background: #363737;
        color: white;
        padding: 10px 18px;
        border-radius: 10px;
        transition: background 0.3s;
   
    }

    .btn:hover {
        background: #007b3b;
    }
    
    .subjectImage{
    max-width: 100%;
  
  border-radius: 10px;
        
    }

    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }

    .feature {
        background: #e5e5e5;
        padding: 15px;
        border-left: 5px solid #363737;
        border-radius: 10px;
    }
    
     .problem{
        background:#e5e5e5;
        padding:15px;
        margin:10px 0;
        border-left:5px solid #363737;
        border-radius:5px;
    }

    .answer{
        display:none;
        margin-top:10px;
        color:#363737;
        font-weight:bold;
    }

    button{
        padding:8px 14px;
        background:#363737;
        color:white;
        border:none;
        border-radius:5px;
        cursor:pointer;
    }

    button:hover{
        background:#006B33;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: #363737;
        color: white;
        margin-top: 30px;
    }
    
    
    table {
        width: 100%;
        border-collapse: collapse;
        margin: 15px 0;
    }

    table th, table td {
        text-align: left;
        padding: 10px 12px;
        border-bottom: 1px solid #e5e5e5;
    }

    table th {
        background: #e5e5e5;
        color: #009447;
    }
    
    
     #rss-feed {
        display: grid;
        gap: 15px;
    }
    
     .rss-item {
        background: #e5e5e5;
        padding: 15px;
        border-left: 5px solid #363737;
        border-radius: 10px;
    }
    
    


 @media (max-width: 640px) {
    nav { height: auto; }

    .nav-brand { height: 35px; }

    .hamburger { display: flex; }

    .nav-links {
      flex-direction: column;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      align-items: flex-start;
    }

    .nav-links.open { max-height: 600px; }

    .nav-container { flex-wrap: wrap; }

    .nav-item { width: 100%; flex-direction: column; }

    .nav-item > a {
      width: 100%;
      height: 38px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-left: 20px;
    }

    .dropdown {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      transition: none;
      box-shadow: none;
      border-top: none;
      background: #007b3b;
      width: 100%;
      display: none;
    }

    .nav-item.open .dropdown { display: block; }

    .dropdown li a { padding-left: 32px; }
    .dropdown li a:hover { padding-left: 38px; }
  }



 @media (max-width: 600px) {
        header h1 {
            font-size: 2rem;
        }
    }