
/* Common Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.hero {
      background: url('https://images.unsplash.com/photo-1588702547919-26089e690ecc') center/cover no-repeat;
      color: white;
      padding: 4rem 2rem;
      border-radius: 20px;
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title {
      margin-top: 2rem;
      font-size: 1.8rem;
      font-weight: bold;
    }

    .emotional-trigger {
      background-color: #fff3cd;
      padding: 1.5rem;
      border-left: 6px solid #ffc107;
      margin: 2rem 0;
      border-radius: 8px;
    }

 .highlight {
      background-color: #fff3cd;
      border-left: 5px solid #ffca2c;
      padding: 1rem;
      margin: 1.5rem 0;
      border-radius: 8px;
 }

.share-buttons a {
    display: inline-block;
    background: #2e8b57;
    color: white;
    padding: 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 5px;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    padding: 15px;
    margin: auto;
}

.container img {
    height: 80%;
    width: 100%;
}

.container a {
    text-decoration: none;
}

h1 {
    font-size: 2em;
    font-style: italic;
}

h2 {
    font-style: italic;
    font-size: 1.5em;
}

p, section p {
    font-size: 1em;
}

.card-title a {
    color: black;
}

.ads {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: left;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    align-items: left;
}

.prothought {
    color: orange;
}

.insight {
    color: white;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 16px;
    color: white;
}

.texts {
    font-weight: bold;
    font-style: italic;
    color: white;
    font-size: 12px;
}

#terms a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Card Layout */
.title {
    text-align: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.title span {
    color: orange;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-title {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
}

/* Mobile View */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 70%;
        background-color: rgba(0, 0, 0, 0.85);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 1000;
    }

   .nav a:hover{
      color: orange;
    }

   .nav a:active{
      color: orange;
    }

   .nav a:focus{
      color: orange;
    }

    .nav.active {
        transform: translateX(0);
    }

    .close-btn {
        padding: 15px;
        font-size: 20px;
        cursor: pointer;
        text-align: right;
    }

    .nav ul {
        list-style: none;
        padding: 10px;
    }

    .nav a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        display: block;
        padding: 10px;
    }

    .hamburger {
        display: block;
        border: none;
        font-size: 24px;
        color: white;
        cursor: pointer;
        position: fixed;
        background: none;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }

    .header, .footer {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet View */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Grid View */
@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop View */
@media (min-width: 768px) {
    .header {
        padding: 15px 40px;
    }

    .footer {
        padding: 15px 40px;
    }

    .nav {
        display: flex;
        align-items: center;
        position: static;
        background: transparent;
        padding: 0;
        transition: none;
    }

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

    .nav a {
        color: white;
        font-size: 18px;
        text-decoration: none;
        padding: 5px;
    }

    .hamburger {
        display: none;
    }
}
