
/* =====================
   THEME VARIABLES
===================== */
:root {
  --primary: #1A3A5F;
  --secondary: #5D7FA1;
  --accent: #FF725E;
  --background: #F5F3EF;
  --card: #E3E7EB;
  --text: #1A1A1A;
  --white: #ffffff;
}

/* =====================
   GLOBAL RESET & BASE
===================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 0;
  background-color: var(--background);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.65;
}

.top-header {
  padding: 10px 20px;
  background-color: var(--background);
  position: relative;
  z-index: 100;
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6, .Heading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.Heading {
  text-align: center;
  margin: 60px 0 40px;
}

/* =====================
   LOGO
===================== */
#logo-container {
  position: relative;
  width: 120px;
  padding: 10px;
  flex-shrink: 0;
}

#LogoHome {
  width: 100%;
}

/* =====================
   NAVIGATION BAR
===================== */
.nav-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  position: relative;
  z-index: 100;
  font-family: 'Source Sans 3', sans-serif;
  padding-right: 0; /* keep only right padding */
  padding-left: 0;  /* remove left padding */
}

.nav-bar ul,
.nav-bar ul li,
.nav-bar ul li ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu > li {
  position: relative;
}

.nav-bar ul li a {
  display: block;
  padding: 14px 22px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.nav-bar ul li a:hover {
  background-color: var(--secondary);
}

Main.css 

/* =====================
   BLOG SLIDER WRAPPER
===================== */
.blog-carousel {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.blog-carousel.is-dragging {
    cursor: grabbing;
}

.blog-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 12px 4px 20px;
}

.blog-grid.no-transition {
    transition: none;
}

.blog-card {
    flex: 0 0 340px !important;
    width: 340px !important;
}

/* Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #1A3A5F;
    background: transparent;
    color: #1A3A5F;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #1A3A5F;
    color: #fff;
    transform: scale(1.08);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c5cdd6;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.dot.active {
    background: #1A3A5F;
    width: 26px;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .blog-card { flex: 0 0 300px !important; width: 300px !important; }
}

@media (max-width: 600px) {
    .blog-card { flex: 0 0 82vw !important; width: 82vw !important; }
    .blog-grid { gap: 20px; }
}

/* General */
body.blogs-page {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #f9f9f9;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0;
}

.blogs-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blogs-main h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.blog-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Grid for blog cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Individual blog card */
.blog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;      /* pick a consistent height */
    object-fit: cover; /* crops without distortion */
    display: block;
}

/* Content section */
.blog-card-content {
    padding: 1rem;
    flex: 1; /* Ensures text takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title styling */
.blog-title {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    text-decoration: none;
    color: #1a73e8;
    transition: color 0.2s ease;
}

.blog-title:hover {
    color: #1558b0;
}

/* Date styling */
.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

/* Excerpt styling */
.blog-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    text-decoration: none;
}

.blog-card a {
    text-decoration: none; /* Remove underline for the entire link */
}

/* Optional: read-more button */
.read-more {
    text-decoration: none;
    color: #fff;
    background-color: #1a73e8;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    align-self: flex-start; /* Keep button aligned left */
}

.read-more:hover {
    background-color: #1558b0;
}

/* =====================
   IMPROVED FOOTER
===================== */
.site-footer {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    background-color: #0f0f0f;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TikTok Icon - Bottom Left */
.tiktok-icon-footer {
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.tiktok-icon-footer:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.5);
}

.footer-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 36px;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-button:hover {
    background-color: #ffffff;
    color: #0f0f0f;
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Copyright Text - Pushed Down */
.copyright {
    margin: 30px 0 0 0 !important;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Modal Z-Index Fix */
#logout-modal {
  z-index: 1100 !important;
}

#reset-password-modal {
  z-index: 1050 !important;
}

#auth-modal {
  z-index: 1000 !important;
}

.modal {
  z-index: 1000;
}

/* Responsive Footer */
@media (max-width: 600px) {
    .tiktok-icon-footer {
        left: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .footer-content {
        gap: 15px;
    }

    .contact-button {
        padding: 12px 28px;
        font-size: 14px;
    }

    .copyright {
        margin-top: 20px !important;
    }
}

/* =====================
   CONTACT PAGE STYLES
===================== */

.contact-page {
    background: linear-gradient(135deg, var(--background) 0%, #e8e4df 100%);
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 300;
}

/* Main Content Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Form Styling */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(93, 127, 161, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
}

/* reCAPTCHA */
.g-recaptcha {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff5e4d 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 114, 94, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1rem;
}

/* Status Message */
.contact-status {
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-header h1 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 30px 25px;
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 20px 15px;
    }

    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}