/* Global Styles */
:root {
    --primary-light: #e0f7fa; /* Light Cyan (lightest version of sky blue) */
    --primary-blue: #002444; /* Original primary blue footer*/
    --accent-blue: #4db6ac; /* Light teal */
    --background: #f3f4f6; /* Light gray */
    --text-dark: #111827; /* Dark Gray */
    --section-background: #ffffff; /* white */
    --section-light-blue: #e1f5fe; /* Light Blue for section bcg (skyblue version)*/
    --section-dark-blue: #b3e5fc; /* Soft Blue for bcg (skyblue version)*/
    --section-darker-blue: #81d4fa; /* Slightly Darker Blue (skyblue version)*/
}

{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* General style */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    padding: 0.5rem 5%;
    background: black; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
}

.navbar-left {
    justify-self: start;
}

.navbar-center {
    justify-self: center;
}

.navbar-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 50px;
    width: auto; 
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: white; 
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0rem;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0rem;
}

.nav-item i.fa-angle-down {
  font-size: 0.75em;    
  vertical-align: middle;
  margin-left: 4px;     
}

.nav-link:hover {
    color: yellow; 
    transform: translateY(-2px);
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: black;
    padding: 10px;
    border-radius: 5px;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    top: 100%;
    left: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 8px 6px;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: yellow;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.kofi-button-nav {
    background-color: #ffdd00;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease-in-out;
}

.kofi-button-nav:hover {
    background-color: #ffe85a;
    transform: translateY(-2px);
}

.kofi-icon {
    height: 18px; 
    width: 18px;
    object-fit: contain;
}

.menu-toggle {
    cursor: pointer; 
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Hide Ko-fi on mobile, show on desktop */
.desktop-only {
    display: block;
}

/* Full Page Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 1px solid #333;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-close {
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-close:hover {
    color: yellow;
}

.mobile-menu-content {
    padding: 2rem 5%;
    height: calc(95vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover {
    color: yellow;
}

.mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.mobile-nav-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.5rem 0;
}

.mobile-nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 0rem;
}

.mobile-nav-sublink {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.mobile-nav-sublink:before {
    content: "–";
    margin-right: 0.5rem;
    color: #666;
}

.mobile-nav-sublink:hover {
    color: yellow;
}

.mobile-kofi-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.mobile-kofi-button {
    background-color: #ffdd00;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
}

.mobile-kofi-button:hover {
    background-color: #ffe85a;
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .navbar-center {
        display: none; /* Hide desktop nav on mobile */
    }
}
        
/* Hero Section */
.hero {
    height: 100vh; /* Full ht. */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* left alignment */
    /* background: url('/assets/heroimage-aHdesign.png') center/cover no-repeat; /* Center and cover */
    padding: 0 5%; 
    position: relative;
    overflow: hidden; 
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}        

/* Hide on mobile */
@media (max-width: 768px) {
  .hero-background {
    display: none;
  }
}

/* Video Styling */
.bg-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Show/hide based on screen */
.mobile-only {
  display: none;
}
.desktop-only {
  display: block;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .mobile-only {
    display: block;
  }
    .desktop-only {
    display: none;
  }
    .bg-hero-video {
    object-fit: cover; /* for full screen cover-occupancy */
  }
}

.hero-content {
    text-align: left; 
    max-width: 500px; 
    color: #ffffff;
    z-index: 2; /* stack over flow */
}

/* Hero Section Styling */
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive Font size */
    margin-bottom: 1.5rem;
    margin-top: 2rem; 
    line-height: 1.2;
    z-index: 2;
}

/* Animated name... */
.highlight {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: bold;
    color: #3eedf8; 
}

/* Leter by letter Animation */
.highlight span {
    opacity: 0;
    animation: fadeIn 3s forwards;
}

/* Animation Keyframes */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Delay each letter (including !) */
.highlight span:nth-child(1) { animation-delay: 0.2s; }
.highlight span:nth-child(2) { animation-delay: 0.4s; }
.highlight span:nth-child(3) { animation-delay: 0.6s; }
.highlight span:nth-child(4) { animation-delay: 0.8s; }
.highlight span:nth-child(5) { animation-delay: 1s; }
.highlight span:nth-child(6) { animation-delay: 1.2s; }
.highlight span:nth-child(7) { animation-delay: 1.4s; }
.highlight span:nth-child(8) { animation-delay: 1.6s; }
.highlight span:nth-child(9) { animation-delay: 1.8s; }
.highlight span:nth-child(10) { animation-delay: 2s; }
.highlight span:nth-child(11) { animation-delay: 2.2s; }
.highlight span:nth-child(12) { animation-delay: 2.4s; }
.highlight span:nth-child(13) { animation-delay: 2.6s; }
.highlight span:nth-child(14) { animation-delay: 2.8s; }
.highlight span:nth-child(15) { animation-delay: 3s; } /* Added for '!' */

.hero p {
    font-size: 1.5rem; 
    margin: 0 auto 2rem;/* space below paraa*/
    color: #ffffff;
}


/* Mobile Styles */

@media (max-width: 768px) {
    .hero {
        height: 675px; 
        padding: 2rem 5%; 
        /*background: url('/assets/website-pw-mob.png') no-repeat center/contain;*/
        overflow: hidden;
        object-fit: cover;
        
}

.hero h1 {
    font-size: 2.0rem; /* small for mobile view */
    margin-top: 390px;
    color: #1A1A40;
}

highlight {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: bold;
    color: var(--text-dark);
    font-size: 2.8rem;
}

.hero-content {
    text-align: left; 
    max-width: 500px; 
    color: #111827;
    z-index: 2; /* stack over flow */
}

.hero p{
    color: var(--section-darker-blue);
    font-weight: bold;
    
}

/* Animation Keyframes */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

        /* Delay each letter (including !) */
        .highlight span:nth-child(1) { animation-delay: 0.2s; }
        .highlight span:nth-child(2) { animation-delay: 0.4s; }
        .highlight span:nth-child(3) { animation-delay: 0.6s; }
        .highlight span:nth-child(4) { animation-delay: 0.8s; }
        .highlight span:nth-child(5) { animation-delay: 1s; }
        .highlight span:nth-child(6) { animation-delay: 1.2s; }
        .highlight span:nth-child(7) { animation-delay: 1.4s; }
        .highlight span:nth-child(8) { animation-delay: 1.6s; }
        .highlight span:nth-child(9) { animation-delay: 1.8s; }
        .highlight span:nth-child(10) { animation-delay: 2s; }
        .highlight span:nth-child(11) { animation-delay: 2.2s; }
        .highlight span:nth-child(12) { animation-delay: 2.4s; }
        .highlight span:nth-child(13) { animation-delay: 2.6s; }
        .highlight span:nth-child(14) { animation-delay: 2.8s; }
        .highlight span:nth-child(15) { animation-delay: 3s; } /* Adding for ! at last */

            .hero p {
                font-size: 0.8rem; /* Smaller fontt for mobile */
            }
        }

        /* Content Sections */
        section {
            padding: 6rem 5%;
            margin: 2rem 0;
            border-radius: 10px; 
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        section:hover {
            transform: translateY(-5px); /* Lift effect hover */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
        }

        /* About Section */
        #about {
            background: var(--primary-light); 
        }

        /* Links Section */
        #social-links {
            background: var(--section-dark-blue); 
        }

        /* Values Section */
        #values {
            background: var(--primary-light);
        }

        /* Blog Section */
        #blog {
            background: var(--section-darker-blue); 
        }

        /* Contact Section */
        #contact {
            background: var(--section-dark-blue); 
            color: var(--text-dark);
        }



        /* About Section */

        .section-title {
            font-size: 2.8rem;
            color: var(--text-dark);
            margin-bottom: 4rem;
            text-align: center;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
        }

        /* Timeline */
        * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        /* style.css */

        body {
          font-family: 'Segoe UI', sans-serif;
          background-color: #f7f8fc;
          margin: 0;
          padding: 0;
        }
        
        .timeline-container {
          position: relative;
          width: 90%;
          max-width: 1100px;
          margin: 0 auto;
          padding: 30px 0;
          background: var(--section-darker-blue);
          color: var(--accent-blue);
        }
        
        .timeline-line {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 50%;
          width: 4px;
          background: var(--text-dark);
          transform: translateX(-50%);
          z-index: 1;
        }
        
        .timeline-item {
          position: relative;
          width: 50%;
          padding: 20px 40px;
          box-sizing: border-box;
        }
        
        .timeline-item::after {
          content: "";
          position: absolute;
          top: 35px;
          width: 20px;
          height: 20px;
          background: #3b82f6;
          border-radius: 50%;
          z-index: 2;
        }
        
        .timeline-item.left {
          left: 0;
          text-align: right;
        }
        
        .timeline-item.left::after {
          right: -10px;
        }
        
        .timeline-item.right {
          left: 50%;
          text-align: left;
        }
        
        .timeline-item.right::after {
          left: -10px;
        }
        
        .timeline-content {
          background-color: white;
          padding: 20px;
          border-radius: 12px;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          position: relative;
          z-index: 2;
        }
        
        .timeline-content img {
          width: 100%;
          border-radius: 8px;
          margin-top: 10px;  
          margin: 10px 0;
        }
        
        .timeline-content .date {
          display: block;
          font-weight: bold;
          color: #6b7280;
          margin-bottom: 8px;
          font-size: 0.95rem;
        }
        
        .timeline-content h3 {
          font-size: 1.4rem;
          color: #1f2937;
          margin: 0 0 5px;
        }
        
        .timeline-content h4 {
          font-size: 1.1rem;
          color: #3b82f6;
          margin: 0 0 10px;
        }
        
        .timeline-content p {
          font-size: 1rem;
          color: #4b5563;
          margin: 0;
        }

        .timeline-item:hover {
            transform: translateY(-4px);
            border-color: var(--accent-blue);
            box-shadow: 0 15px 35px rgba(0, 36, 68, 0.1);
        }
        
        /* Responsive Design */
        @media screen and (max-width: 768px) {
          .timeline-line {
            left: 8px;
          }
        
          .timeline-item {
            width: 100%;
            padding-left: 30px;
            padding-right: 15px;
          }
        
          .timeline-item.left,
          .timeline-item.right {
            left: 0;
            text-align: left;
          }
        
          .timeline-item::after {
            left: 0;
            transform: translateX(-50%);
          }
        }

        /* Links Section */
        .social-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 30px;
            justify-items: center;
            align-items: center;
            max-width: 1000px;
            margin: 0 auto;
        }

        .social-card {
            background: #fff;
            border-radius: 12px;
            padding: 25px;
            width: 160px;
            height: 160px;
            text-align: center;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .social-card i {
            font-size: 60px;
            margin-bottom: 12px;
            color: #333;
        }

        .gravatar-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 12px;
            filter: grayscale(100%) brightness(0.3) contrast(1.);
            border-radius: 50%;
            object-fit: cover;
            background-color: transparent;
            display: block;
        }

        .social-card span {
            font-size: 18px;
            font-weight: bold;
            color: #444;
        }

        .social-card:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        /* Values Section */
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 180px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            border-radius: 2px;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .value-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            border-left: 4px solid var(--primary-blue);
        }

        /* Blog Section */
        
        @import url('https://fonts.googleapis.com/css2?family=Zeyada&display=swap');
        /* Base styles speciffied for blog cards only */
        .blog-section {
            padding: 4rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            position: relative;
        }

        #blog h2.section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .blog-category {
            background: var(--section-background);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 25px rgba(0, 36, 68, 0.08);
            border: 1px solid var(--section-light-blue);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            height: fit-content;
        }

        .blog-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--section-darker-blue));
            border-radius: 24px 24px 0 0;
        }

        .blog-category:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0, 36, 68, 0.12);
            border-color: var(--accent-blue);
        }

        .category-header {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
        }

        .category-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-right: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .lifenotes-icon {
            background: linear-gradient(135deg, var(--section-light-blue), var(--section-dark-blue));
        }

        .codenotes-icon {
            background: linear-gradient(135deg, var(--accent-blue), var(--section-darker-blue));
        }

        .category-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
        }

        .category-description {
            color: #6b7280;
            font-size: 1rem;
        }

        .blog-container {
            min-height: 350px;
            position: relative;
        }

        .loading-message {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 250px;
            color: var(--accent-blue);
            font-size: 1.1rem;
            font-weight: 500;
        }

        .blog-card {
            background: linear-gradient(135deg, var(--section-background), var(--primary-light));
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--section-light-blue);
            position: relative;
            transition: all 0.3s ease;
            min-height: 320px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 15px rgba(0, 36, 68, 0.05);
        }

        .blog-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent-blue);
            box-shadow: 0 15px 35px rgba(0, 36, 68, 0.1);
        }

        .blog-image {
            width: 100%;
            height: 160px;
            border-radius: 16px;
            object-fit: cover;
            margin-bottom: 1.5rem;
            background: var(--section-light-blue);
            border: 1px solid var(--section-dark-blue);
        }

        .blog-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 1rem;
            line-height: 1.4;
            color: var(--primary-blue);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-excerpt {
            color: #6b7280;
            font-size: 1rem;
            margin-bottom: 1.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
            line-height: 1.6;
        }

        .blog-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .blog-date {
            color: #9ca3af;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .read-more {
            background: linear-gradient(135deg, var(--accent-blue), var(--section-darker-blue));
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
        }

        .read-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(77, 182, 172, 0.4);
        }

        .nav-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
            gap: 1.5rem;
        }

        .nav-arrow {
            background: var(--section-background);
            border: 2px solid var(--section-dark-blue);
            color: var(--primary-blue);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            transition: all 0.3s ease;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(0, 36, 68, 0.1);
        }

        .nav-arrow:hover:not(:disabled) {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(77, 182, 172, 0.3);
        }

        .nav-arrow:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            background: var(--section-light-blue);
            border-color: var(--section-dark-blue);
        }

        .nav-info {
            color: var(--primary-blue);
            font-size: 1rem;
            font-weight: 600;
            min-width: 80px;
            text-align: center;
            padding: 0.5rem 1rem;
            background: var(--section-light-blue);
            border-radius: 25px;
        }

        .subscribe-section {
            margin-top: 3rem;
        }

        .subscribe-card {
            background: linear-gradient(135deg, var(--section-light-blue), var(--primary-light));
            border: 2px solid var(--section-dark-blue);
            border-radius: 20px;
            padding: 1.8rem;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 36, 68, 0.08);
        }

        .subscribe-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(77, 182, 172, 0.15);
            border-color: var(--accent-blue);
        }

        .subscribe-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            color: var(--primary-blue);
        }

        .subscribe-description {
            color: #6b7280;
            margin-bottom: 2rem;
            font-size: 1rem;
            line-height: 1.6;
        }

        .subscribe-btn {
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(0, 36, 68, 0.2);
        }

        .subscribe-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 36, 68, 0.3);
        }

        /* blue container-content */
        .coming-soon {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 380px;
            flex-direction: column;
            gap: 1.5rem;
            background: linear-gradient(135deg, var(--section-light-blue), var(--primary-light));
            border-radius: 16px;
            padding: 0.3rem;
            border: 2px dashed var(--section-dark-blue);
        }

        .coming-soon-icon {
            font-size: 4rem;
            opacity: 0.7;
        }

        .coming-soon-text {
            font-size: 1.5rem;
            color: var(--primary-blue);
            font-weight: 700;
        }

        .coming-soon-desc {
            color: #6b7280;
            text-align: center;
            font-size: 1rem;
            line-height: 1.6;
            max-width: 280px;
        }

        @media (max-width: 1024px) {
            .blog-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2.5rem;
            }

            .blog-section {
                padding: 2rem 1rem;
            }

            .blog-category {
                padding: 2rem;
            }

            .category-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .category-icon {
                margin-right: 0;
            }

            .subscribe-form {
                flex-direction: column;
            }

            .nav-controls {
                gap: 1rem;
            }

            .nav-info {
                min-width: 60px;
                font-size: 0.9rem;
            }
        }

/* Contact Section */
#contact {
    padding: 6rem 5% 4rem;
    background: linear-gradient(135deg, var(--section-background) 0%, #f8fafc 50%, var(--section-light-blue) 100%);
    position: relative;
}

        /* Section Title */
        #contact h2.section-title {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 4rem;
            letter-spacing: -1px;
            text-align: center;
            position: relative;
        }

        #contact h2.section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            border-radius: 2px;
        }

        .contact-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        /* Left Side - Contact Info */
        .contact-info {
            text-align: left;
        }

        .contact-info h3 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            letter-spacing: -0.5px;
        }

        .contact-info p {
            font-size: 1.2rem;
            color: var(--text-dark);
            margin-bottom: 2.5rem;
            opacity: 0.8;
            line-height: 1.6;
        }

        #contact a.email-link {
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 1.3rem;
            padding: 0.8rem 2rem;
            border: 2px solid var(--primary-blue);
            border-radius: 50px;
            display: inline-block;
            margin: 0.5rem 0;
            transition: all 0.4s ease;
            background: transparent;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }

        #contact a.email-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            transition: left 0.4s ease;
            z-index: -1;
        }

        #contact a.email-link:hover::before {
            left: 0;
        }

        #contact a.email-link:hover {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 36, 68, 0.3);
            text-decoration: none;
        }

        /* Right Side - Contact Form */
        .form-container {
            padding: 2rem;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0, 36, 68, 0.08);
            border: 1px solid rgba(77, 182, 172, 0.1);
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 1.2rem;
        }

        input[type="text"],
        input[type="email"],
        textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.95rem;
            font-family: inherit;
            background: white;
            color: var(--text-dark);
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        textarea:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 80px;
            line-height: 1.5;
        }

        .submit-btn {
            width: 100%;
            padding: 0.9rem;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--accent-blue) 0%, #2dd4bf 100%);
            transition: left 0.4s ease;
        }

        .submit-btn:hover::before {
            left: 0;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 36, 68, 0.2);
        }

        .submit-btn span {
            position: relative;
            z-index: 1;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            #contact {
                padding: 4rem 3% 3rem;
            }
            
            #contact h2.section-title {
                font-size: 2.8rem;
                margin-bottom: 3rem;
            }
            
            .contact-container {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }
            
            .contact-info {
                text-align: center;
            }
            
            .contact-info h3 {
                font-size: 2rem;
            }
            
            .form-container {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            #contact {
                padding: 3rem 2% 2rem;
            }
            
            #contact h2.section-title {
                font-size: 2.2rem;
            }
            
            .contact-info h3 {
                font-size: 1.8rem;
            }
        }
/* Enhanced Footer */
footer {
    background: var(--primary-blue); 
    color: white;
    padding: 4rem 5%;
    margin-top: 0;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h3 {
    color: var(--primary-light);
    margin-bottom: 0rem;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s;
}

.social-link:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

.quick-links {
    text-align: center; 
    margin-top: 25px;
}

.quick-links nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legal {
    text-align: center;
    margin-top: 0.2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.6; 
}

/* Media Queries - responsiveness */
@media (min-width: 768px) {
    .footer-grid {
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-section {
        align-items: flex-start;
    }
}

/* Blog Card styles */
.blog-card {
    width: 100%;
    max-width: 360px;
    margin: 1rem auto;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.subscription-card {
    width: 100%;
    max-width: 260px;
    margin: 2rem auto;
    background: #442727;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* responsiveness */
@media (max-width: 768px) {
    .blog-card,
    .subscription-card {
        max-width: 90%;
        padding: 15px;
    }
}

/* About page styles */
.about-section {
    padding: 60px 20px;
    background-color: var(--section-light-blue);
    color: #333;
    line-height: 1.7;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
    color: #000000;
    font-style: oblique;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-section h3 {
    margin-top: 40px;
    color: #444;
}

.about-video-container {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.about-video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* responsiveness */
@media (max-width: 480px) {
    .about-video-container {
        max-width: 95%;
    }
}

.about-section .ending-note {
    font-style: italic;
    margin-top: 2em;
    color: #555;
}

.about-summary {
    font-style: italic;
    color: rgba(102, 126, 234, 0.4);
    font-size: 1.0rem;
}


/* Reading Section Styles */
.reading-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--section-light-blue) 0%, var(--section-background) 40%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.reading-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(77, 182, 172, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(0, 36, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(129, 212, 250, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

.reading-header {
    text-align: center;
    margin-bottom: 80px;
}

.reading-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.reading-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}


@keyframes glow {
    0%, 100% { 
        opacity: 1; 
        transform: scaleX(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scaleX(1.1);
    }
}

.reading-header p {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

.reading-lists {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.reading-list {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 
        0 25px 50px rgba(0, 36, 68, 0.12),
        0 10px 20px rgba(0, 36, 68, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reading-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.reading-list:hover::before {
    left: 100%;
}

.reading-list:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 35px 70px rgba(0, 36, 68, 0.18),
        0 15px 30px rgba(0, 36, 68, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.list-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.list-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    letter-spacing: -0.5px;
}

.current-reading h3 {
    color: var(--accent-blue);
}

.completed-reading h3 {
    color: var(--primary-blue);
}

.status-badge {
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.current-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--section-darker-blue));
    color: white;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.completed-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(77, 182, 172, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(77, 182, 172, 0);
    }
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    justify-items: center;
    align-items: start;
}

.book-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    group: hover;
}

.book-card:hover {
    transform: translateY(-15px) scale(1.08);
}

.book-cover {
    width: 170px;
    height: 255px;
    background: linear-gradient(135deg, var(--section-dark-blue), var(--section-darker-blue));
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 36, 68, 0.2),
        0 10px 20px rgba(0, 36, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 800;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    line-height: 1.3;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 36, 68, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.book-card:hover .book-cover::before {
    opacity: 1;
}

.book-card:hover .book-cover {
    box-shadow: 
        0 30px 60px rgba(0, 36, 68, 0.3),
        0 15px 30px rgba(0, 36, 68, 0.2);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.buy-button {
    display: block;
    width: 170px;
    padding: 5px 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--section-darker-blue));
    color: white;
    border: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.0rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:hover {
    background: linear-gradient(135deg, var(--section-darker-blue), var(--accent-blue));
    transform: translateY(-4px);
    box-shadow: 
        0 15px 30px rgba(77, 182, 172, 0.4),
        0 8px 16px rgba(77, 182, 172, 0.3);
}

.buy-button:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }

    .book-cover {
        width: 150px;
        height: 225px;
    }

    .buy-button {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .reading-section {
        padding: 80px 0;
    }

    .reading-header h2 {
        font-size: 2.8rem;
    }

    .reading-list {
        padding: 40px 25px;
    }

    .list-header h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 15px;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 25px;
    }

    .book-cover {
        width: 140px;
        height: 210px;
        font-size: 1rem;
    }

    .buy-button {
        width: 140px;
        padding: 12px 0;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .reading-section {
        padding: 60px 0;
    }

    .reading-header {
        margin-bottom: 60px;
    }

    .reading-header h2 {
        font-size: 2.3rem;
    }

    .reading-lists {
        gap: 60px;
    }

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

    .book-cover {
        width: 130px;
        height: 195px;
        font-size: 0.95rem;
    }

    .buy-button {
        width: 130px;
        font-size: 0.95rem;
    }

    .reading-list {
        padding: 35px 20px;
    }
}

@media (max-width: 360px) {
    .book-cover {
        width: 120px;
        height: 180px;
        font-size: 0.9rem;
        padding: 20px;
    }

    .buy-button {
        width: 120px;
        font-size: 0.9rem;
        padding: 11px 0;
    }

    .reading-header h2 {
        font-size: 2rem;
    }
}
