/* Universal and Body Styles */
html, body, .container, .footer, .navbar, .card, .post-box {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blurry-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.blurry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.caption h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: white;
}

.caption p {
    font-size: 1.2em;
}

/* Navbar */
.navbar {
    background-color: #0d91a8;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid lightblue;
    border-radius: 5px;
}

.brand a {
    color: #ffffff;
    text-decoration: none;
    font-size: 30px;
}

.navbar-links {
    display: flex;
}

.navbar-links > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-links li {
    margin: 0 15px;
    font-size: 23px;
}

.navbar-links li:hover {
    color: #7c59e6;
    transition: color 0.2s ease;
}

.navbar-links a {
    color: #ffffff;
    text-decoration: none;
}

.social-icons {
    display: flex;
}

.icon {
    color: blue;
}

.menu-toggle {
    cursor: pointer;
    display: none;
    flex-direction: column;
}

.bar {
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin: 5px 0;
}

/* Mobile Navbar */
@media only screen and (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #f3f4f7;
        z-index: 1;
        border: 2px solid lightblue;
    }

    .navbar-links.show {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar-links ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar-links li {
        margin: 10px 0;
        font-size: 20px;
    }

    .navbar-links a {
        color: rgb(45, 77, 145);
    }
}

/* Heading */
h1 {
    text-align: center;
    color: rgb(45, 77, 145);
    font-size: 40px;
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px;
    font-size: 16px;
    border: 1px solid #2990d0;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-icon,
.clear-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
}

.clear-icon {
    right: 10px;
    cursor: pointer;
    display: none;
}

.search-bar input:focus + .clear-icon {
    display: block;
}

/* Card */
.card {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 50px 30px;
    background: transparent;
    border-radius: 24px;
    margin: 0 auto;
    border: 3px solid lightblue;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card img {
    width: 280px;
    height: 300px;
    object-fit: cover;
    margin-right: 30px;
    border-radius: inherit;
    box-shadow: 0 60px 40px rgb(0 0 0 / 8%);
}

.card h2 {
    color: rgb(45, 77, 145);
    font-size: 35px;
}

.card p {
    color: rgb(0 0 0 / 70%);
}

.card button {
    border: 0;
    background: #5448de;
    color: #f8f8f8;
    font-family: inherit;
    padding: 16px 26px;
    font-size: 16px;
    border-radius: 40px;
}

.card button a {
    color: white;
    text-decoration: none;
}

/* Responsive Cards */
@media (max-width: 740px) {
    .card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .card img {
        width: 100%;
        max-width: 1000px;
        margin-bottom: 20px; /* Added margin below image */
    }

    .card h2 {
        font-size: 24px; /* Adjust heading size for mobile */
    }

    .card p {
        font-size: 18px; /* Adjust text size for mobile */
    }
}

/* Insta Section */
.insta p img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .insta p img {
        width: 50%;
        max-width: 600px;
    }
}

.insta p {
    font-size: larger;
}

p {
    font-size: larger;
}

/* Footer */
.footer {
    background-color: #0d91a8;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}
.footer a {
    font-size: 20px; /* Adjust size as needed */
    color: #1c3275; /* Change to your preferred color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0539d7; /* Change hover color as needed */
}
.footer-title {
    font-size: 20px;     
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
    }
}

/* Additional Styles */
.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.post-box {
    background-color: #2cb5dafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.post-box h3 {
    color: rgb(45, 77, 145);
}

.post-box p {
    color: rgb(248, 248, 248);
}

.post-box a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* General Paragraph Styles */
.paragraph, .post-box p {
    font-size: 20px;
    color: rgb(249, 249, 249);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#heading {
    text-align: center;
    font-size: 33px;
    color: rgb(45, 77, 145);
}

.daily-quote-box {
  max-width: 620px;
  margin: 35px auto;
  padding: 22px 26px;
  border-radius: 14px;
  border: 2px solid #0d91a8;
  background: rgba(13, 145, 168, 0.08);
  text-align: center;
}

.quote-date {
  font-size: 16.5px;
  color: #0d91a8;
  font-weight: 500;
  margin-bottom: 12px;
}

.quote-text {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
  color: #0a4f5c;
}
