/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #034694;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #034694;
    padding: 15px 20px;
    color: white;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fcb900;
}

/* Grid Container: Makes All Three Sections Fit in One Row */
.grid-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    flex-wrap: wrap; /* Ensures Responsiveness */
}


/* Grid Card Layout */
.grid-card {
    background: white;
    color: #003366; /* Darker blue for text */
    border-radius: 10px;
    padding: 15px;
    width: 30%; /* Makes Three Fit in One Row */
    min-width: 250px; /* Ensures Responsiveness */
    border: 2px solid #003366; /* Darker blue border */
}


/* Large Image */
.grid-image {
    width: 100%; /* Full width of the card */
    height: 0;
    padding-bottom: 56.25%; /* Maintains aspect ratio (16:9) */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.grid-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image fits without cropping */
    border-radius: 8px;
}

/* Grid Rows */
.grid-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Individual Grid Boxes */
.grid-box {
    background: #F5F5F5;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    flex: 1;
}

.grid-box h3 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #001C5B;
}

.grid-box p {
    margin: 5px 0 0;
    font-size: 12px;
}

/* Second Row Layout */
.grid-box.small {
    flex: 1;
}

.grid-box.large {
    flex: 3;
}

/* Interactive Hover Effect on Entire Card */
.grid-card {
    background: white;
    color: #034694;
    border-radius: 10px;
    padding: 15px;
    width: 30%; /* Makes Three Fit in One Row */
    min-width: 250px; /* Ensures Responsiveness */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-card:hover {
    transform: scale(1.05); /* Slightly enlarges the card */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .grid-card {
        width: 45%; /* Two Cards Per Row on Medium Screens */
    }
}

@media (max-width: 768px) {
    .grid-container {
        flex-direction: column;
        align-items: center;
    }
    .grid-card {
        width: 80%; /* One Card Per Row on Mobile */
    }
}

.highlight-row {
    border: 3px solid yellow;  /* Yellow border */
    box-shadow: 0px 0px 15px yellow;  /* Glowing effect */
    background-color: rgba(255, 255, 0, 0.2); /* Light yellow background */
    border-radius: 10px; /* Rounded corners for better look */
    padding: 10px; /* Ensure content has space */
}











/* Footer Styles */
.footer {
    background-color: #002F6C;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fcb900;
}

/* Back to Top Button */
#backToTop {
    background-color: #fcb900;
    color: #034694;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

#backToTop:hover {
    background-color: white;
    color: #034694;
}


/* Add this to your daily1.css file */
.header-title {
    font-family: 'Lilita One', sans-serif;
    font-size: 3em;
    text-align: center;
    position: relative;
    animation: fadeIn 2s ease-out forwards;
}

.header-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.typing-effect {
    display: inline-block;
    color: white;  /* Chelsea blue */
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid #0033cc;
    animation: typing 3s steps(30) 1s 1 normal both, blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}



