/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e; /* Vibrant dark blue background */
    color: #eaeaea; /* Light text for contrast */
    line-height: 1.6;
    scroll-behavior: smooth;
}

section {
    padding: 60px 20px;
}

/* Header / Navbar */
header {
    position: sticky;
    top: 0;
    background-color: #0f3460; /* Deep blue */
    color: #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

header .logo img {
    height: 40px;
    transition: transform 0.3s;
}

header .logo img:hover {
    transform: scale(1.1);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #eaeaea;
    padding: 5px 10px;
    transition: color 0.3s;
}

header nav ul li a.active, header nav ul li a:hover {
    color: #f9d342; /* Vibrant yellow accent */
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(to right, #0f3460, #16213e); /* Gradient blue */
    color: #f9d342;
}

.hero .overlay {
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .cta-button {
    background-color: #f9d342;
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero .cta-button:hover {
    background-color: #e8c229; /* Slightly darker yellow */
}

/* Cards */
.blog-cards, .service-cards, .testimonial-cards, .info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-card, .service-card, .testimonial-card, .info-card {
    background-color: #16213e; /* Slightly lighter blue */
    color: #eaeaea;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover, .service-card:hover, .testimonial-card:hover, .info-card:hover {
    background-color: #0f3460; /* Deep blue on hover */
    color: #f9d342;
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.blog-card img, .service-card img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Blog Page */
.search-bar input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    outline: none;
    transition: box-shadow 0.3s;
}

.search-bar input:focus {
    box-shadow: 0 0 5px #f39c12;
}

/* About Page */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #f39c12;
}

.timeline li {
    margin-bottom: 20px;
    position: relative;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #f39c12;
    border-radius: 50%;
}

/* Contact Page */
.contact-form form input, .contact-form form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    margin-bottom: 15px;
}

.contact-form form button {
    padding: 10px;
    background-color: #f39c12;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form form button:hover {
    background-color: #e67e22;
}

.map iframe {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #0f3460;
    color: #eaeaea;
    text-align: center;
    padding: 20px;
}

footer .social-icons img {
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

footer .social-icons img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

#back-to-top:hover {
    background-color: #e67e22;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

section {
    animation: fadeIn 1s ease-in, slideUp 1s ease-in;
}

/* Blog Cards */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.blog-card {
    background-color: #222;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.blog-card img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin: 10px;
}

.blog-card p {
    font-size: 1rem;
    margin: 10px;
}

.blog-card .read-more {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.blog-card .read-more:hover {
    background-color: #e67e22;
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    text-align: center;
}

.service-card p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: auto;
}

.service-card .learn-more {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.service-card .learn-more:hover {
    background-color: #e67e22;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.about-content img {
    width: 50%;
    border-radius: 15px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}
