/* ================================
   CSS Variables for Consistent Styling
================================ */
:root {
  --primary-color: #1a73e8;
  --secondary-color: #ffffff;
  --accent-color: #509dff;
  --background-color: #f4f4f4;
  --dark-background: #222;
  --text-color: #333;
  --light-text: #666;
  --header-height: 60px;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
}

/* ================================
   Reset and Base Styles
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   Navigation
================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 115, 232, 0.95);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-secondary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  font-family: var(--font-secondary);
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
}

/* ================================
   Hero Section
================================ */
.hero {
  height: 100vh;
  background: url("hero-background.jpg") no-repeat center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--secondary-color);
  text-align: center;
  padding-top: var(--header-height);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 28px;
  font-family: var(--font-secondary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  padding: 15px 30px;
  background: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  font-family: var(--font-secondary);
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #346eb9;
}

/* ================================
   Main Content
================================ */
main {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

section {
  margin-bottom: 80px;
}

section:nth-of-type(even) {
  background: var(--secondary-color);
  padding: 80px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-family: var(--font-secondary);
}

section h3 {
  margin-top: 30px;
  font-size: 1.8rem;
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

section p {
  margin-bottom: 20px;
  color: var(--light-text);
  line-height: 1.8;
}
.callout{
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(91, 255, 194, 0.16);
    background: linear-gradient(90deg, rgba(255,91,214,.08), rgba(141,255,234,.06));
    box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset;
}

.link{
    color: rgba(23, 194, 221, 0.96);
    text-decoration: none;
    border-bottom: 1px dashed rgba(18, 211, 242, 0.96);
}
.link:hover{
    border-bottom-color: rgba(181,139,255,.55);
}

/* ================================
   Lists
================================ */
ul,
ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li,
ol li {
  margin-bottom: 10px;
  color: var(--light-text);
}

/* ================================
   Images
================================ */
.centered-image,
.full-width-image,
.grid-image {
  margin: 30px 0;
}

.centered-image {
  display: flex;
  justify-content: center;
}

.centered-image img {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.full-width-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.full-width-image img {
  width: 100%;
  border-radius: 10px;
}

.full-width-image .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--secondary-color);
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.grid-image {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.grid-image img {
  padding: 10px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.grid-image img:hover {
  transform: scale(1.05);
}

/* ================================
   Call to Action
================================ */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-family: var(--font-secondary);
}

.cta .btn-secondary {
  padding: 15px 30px;
  background: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  font-family: var(--font-secondary);
  transition: background 0.3s ease;
}

.cta .btn-secondary:hover {
  background: #346eb9;
}

/* ================================
   Footer
================================ */
footer {
  background: var(--dark-background);
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ================================
   Responsive
================================ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid-image {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 200px;
    height: calc(100% - var(--header-height));
    background: rgba(26, 115, 232, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    margin: 20px 0;
  }

  .menu-toggle {
    display: block;
  }

  .grid-image {
    grid-template-columns: 1fr;
  }

  .centered-image img {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  section h2 {
    font-size: 2rem;
  }

  section h3 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}

/* ================================
   Details / Summary Styles
================================ */
details {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

summary {
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* Hide default triangle in some browsers */
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+'; 
  float: right;
  font-weight: bold;
}

details[open] summary::after {
  content: '-';
}

details[open] div {
  margin-top: 0.5rem;
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
}
