/* Reset and base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.7; background: #f4f6f9; color: #333; }

/* Container */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Fixed Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 74, 173, 0.95); /* Slight transparency */
  color: #fff;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}

header:hover { background: rgba(0, 74, 173, 1); }

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

header h1 { font-size: 28px; font-weight: 700; }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav ul li { margin: 0 15px; }

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  transition: 0.3s;
}

nav ul li a:hover {
  background: #ffd700;
  color: #004aad;
}

/* Space for fixed header */
body { padding-top: 90px; }

/* Hero Section */
.hero {
  padding: 10px 10px 20px 10px;
  background: linear-gradient(135deg, #e0f0ff, #cce4ff);
  text-align: center;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h2 { font-size: 26px; color: #004aad; margin-bottom: 5px; font-weight: 700; }
.hero p { font-size: 16px; color: #333; max-width: 900px; margin: 0 auto; }

/* Intro Content */
.intro-content {
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.intro-content p { margin-bottom: 15px; font-size: 17px; line-height: 1.8; }

/* Featured Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  
}

.grid-container article {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-container article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.grid-container article h3 { color: #004aad; margin-bottom: 12px; font-size: 20px; }
.grid-container article p { font-size: 16px; margin-bottom: 10px; }
.grid-container article a {
  text-decoration: none;
  color: #fff;
  background: #004aad;
  padding: 8px 14px;
  border-radius: 5px;
  transition: 0.3s;
}

.grid-container article a:hover { background: #ffd700; color: #004aad; }

/* AdSense Placeholder */
.adsense {
  margin: 25px 0;
  text-align: center;
  background: #f0f3f8;
  padding: 20px;
  border: 1px dashed #ccc;
  border-radius: 8px;
}

/* Footer */
footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  border-top: 4px solid #ffd700;
}

footer a { color: #ffd700; text-decoration: underline; }

/* Responsive Navbar Toggle */
.menu-toggle { display: none; }

@media (max-width:768px){
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
  }

  nav ul {
    flex-direction: column;
    display: none;
    background: rgba(0, 74, 173, 0.95);
    position: absolute;
    top: 70px;
    width: 100%;
    left: 0;
    padding: 10px 0;
  }

  nav ul.active { display: flex; }

  nav ul li { margin: 10px 0; text-align: center; }
  h1{
      font-size: 24px;
  }
  h2{
      font-size:22px;
  }
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}
.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: #33b5e5;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: #0099cc;
}


/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}
table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}
