/* === GLOBAL STYLES === */
body {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* dark gradient */
    color: white;
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hide scroll bar */
body::-webkit-scrollbar {
    display: none;
}

/* === NAVBAR === */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 9px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.containe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.containe img {
    border-radius: 50%;
    width: 65px;
    border: 2px solid skyblue;
}

.logoo {
    color: #ff4757;
    font-size: 26px;
    margin-left: 15px;
    font-weight: bold;
    text-shadow: 0 0 5px skyblue;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-left: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 5px;
}

.nav-links li a:hover {
    background: skyblue;
    color: black;
}



/* === HERO SECTION === */
.first {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 80px;
    flex-wrap: wrap;
}

.up-left {
    max-width: 550px;
    font-size: 40px;
    line-height: 1.3;
}

.define {
    font-size: 20px;
    color: #ccc;
}

.up-left button {
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 25px;
    border: none;
    background: #1e90ff;
    color: white;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.up-left button:hover {
    background: #ff4757;
    cursor: pointer;
    transform: scale(1.05);
}

.up-right img {
    width: 350px;
    filter: drop-shadow(0 0 10px red);
}

/* === CARD SECTION === */
.second {
  padding: 60px 20px;
  text-align: center;
  background: #0a0f1a; /* dark AI-themed background */
  color: #e5e7eb;
}

.second h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #00e0ff; /* glowing cyan accent */
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

/* Grid Layout */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

/* Card Styling */
.card {
  background: linear-gradient(145deg, #101a26, #0f2233);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* keeps button at bottom */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 260px; /* more balanced height */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 224, 255, 0.25);
}

/* Card Head (Logo + Title) */
.cardhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.cardhead img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00e0ff;
  box-shadow: 0 0 8px rgba(0, 224, 255, 0.4);
}

.cardhead h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: #00e0ff;
}

/* Card Content */
.cardcontent {
  flex-grow: 1; /* pushes button down */
  font-size: 1rem;
  color: #cfd8dc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardcontent p {
  margin-bottom: 18px;
  line-height: 1.5rem;
}

/* Buttons */
.button {
  margin-top: auto; /* ensures it sticks at bottom */
}

.button button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%; /* full width inside card */
  transition: background 0.3s ease, transform 0.2s ease;
}

.button button:hover {
  background: linear-gradient(90deg, #0099cc, #005bb5);
  transform: scale(1.05);
}

.button img {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 450px) {
  .second {
    padding: 30px 15px;
  }

  .second h1 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .card {
    padding: 20px;
    min-height: 300px;
  }

  .cardhead h2 {
    font-size: 1.1rem;
  }

  .button button {
    font-size: 0.85rem;
    padding: 10px 14px;
  }
}


/* === FOOTER === */
footer {
    background: #0b0b0b;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    flex-wrap: wrap;
    border-top: 2px solid red;
}

.foothead {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footimg img {
    width: 65px;
    border-radius: 50%;
    border: 2px solid skyblue;
}

.edge {
    color: skyblue;
    text-shadow: 0 0 5px red;
}

.footbottom {
    margin-top: 15px;
    font-size: 15px;
    color: #ccc;
    max-width: 350px;
}

.footcenter ul {
    list-style: none;
    padding: 0;
}

.footcenter ul li {
    margin: 10px 0;
}

.footcenter ul a {
    color: white;
    text-decoration: none;
}

.footcenter ul a:hover {
    color: skyblue;
    text-decoration: underline;
}

.infonews {
    max-width: 280px;
    margin-top: 20px;
    font-size: 15px;
    color: #ddd;
}

#red {
    width: 220px;
    filter: drop-shadow(0 0 10px skyblue);
}
