/* -------------------------- */
/* General Reset & Fonts */
/* -------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* -------------------------- */
/* Body & Background */
/* -------------------------- */
body {
    background: linear-gradient(135deg, #007bff, #00b4d8);
    color: white;
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
}

/* -------------------------- */
/* Navigation */
/* -------------------------- */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

nav a {
    color: #eaf6ff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #cde9ff;
}

/* Active nav */
nav a.active {
    border-bottom: 2px solid white;
    padding-bottom: 4px;
}

/* -------------------------- */
/* Header */
/* -------------------------- */
header {
    text-align: center;
    padding: 100px 20px 60px 20px;
}

header img {
    width: 120px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------------------- */
/* Glass Box Section */
/* -------------------------- */
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Headings inside glass box */
.glass-box h1, .glass-box h2, .glass-box h3 {
    color: #ffffff;
}

/* Blog readability */
.glass-box p {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 20px;
}

/* Headings hierarchy */
h1 { font-size: 2.4em; margin-bottom: 15px; }
h2 { font-size: 1.8em; margin: 30px 0 10px; }
h3 { font-size: 1.4em; margin: 20px 0 8px; }

/* -------------------------- */
/* Buttons */
/* -------------------------- */
.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* -------------------------- */
/* Videos iframe */
/* -------------------------- */
iframe {
    width: 100%;
    height: 315px;
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
}

/* -------------------------- */
/* Footer */
/* -------------------------- */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #e0f0ff;
    opacity: 0.9;
}

/* -------------------------- */
/* Blogs Page: Cards & Grid */
/* -------------------------- */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Blog images inside cards */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* Card content area */
.blog-content {
    padding: 18px 20px 25px;
}

.blog-content h2 a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #cde9ff;
}

.blog-content p {
    color: #eaf6ff;
    font-size: 0.98em;
    line-height: 1.7;
    opacity: 0.9;
    margin: 10px 0 18px;
}

/* -------------------------- */
/* Blog Post Pages: Image & Layout Fix */
/* -------------------------- */
.blog-image {
    width: 100%;
    max-width: 750px;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* -------------------------- */
/* Responsive */
/* -------------------------- */
@media(max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }

    iframe {
        height: 180px;
    }

    .glass-box {
        padding: 25px;
    }

    .btn {
        padding: 8px 18px;
        font-size: 0.95em;
    }

    .blog-card img {
        height: 160px;
    }

    .blog-list {
        gap: 15px;
    }
    }
