* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

/* Custom css */
.d-none {
	display: none!important;
}
a.col-2 {
	text-decoration: none!important;
}
h1 {
	font-size: 3rem;
	line-height: 1.2;
}
.fs-5 {
	font-size: 5em;
}
.w-100 {
	width: 100%!important;
}
.mt-n1 {
	margin-top: -20px!important;
}
.py-1 {
	padding-top: 5px!important;
	padding-bottom: 5px!important;
}
.py-2 {
	padding-top: 10px!important;
	padding-bottom: 10px!important;
}
.py-3 {
	padding-top: 20px!important;
	padding-bottom: 20px!important;
}
.pt-4 {
	padding-top: 30px!important;
}
.py-4 {
	padding-top: 30px!important;
	padding-bottom: 30px!important;
}
.pt-5 {
	padding-top: 40px!important;
}
.py-5 {
	padding-top: 40px!important;
	padding-bottom: 40px!important;
}
.pt-6 {
	padding-top: 60px!important;
}
.py-6 {
	padding-top: 50px!important;
	padding-bottom: 50px!important;
}

.auto-img {
	margin: 20px auto;
	width: 100%!important;
	border-radius: 20px;
}

.ql-video {
  width: 100% !important;   /* full width */
  max-width: 100%;           /* prevent overflow */
  height: auto;              /* auto height */
  aspect-ratio: 16 / 9;      /* maintain 16:9 ratio */
}

/* Solid and Gradient Backgrounds */
.gradient-tag {
  padding: 2px 10px;
  font-size: 0.8rem!important;
  line-height: 1.2!important;
  font-weight: normal!important;
  text-transform: uppercase;
  color: #000000!important;
  background-image: linear-gradient(to right, #c7d9f2, #b3d9f2, #b3ecf2, #b3f2ec, #d9f2d9);
  border-radius: 20px;
}

.gradient-text {
  background-image: linear-gradient(to right, #054aa9, #0077c6, #009cbf, #00bba3, #7fd589);
  background: -webkit-linear-gradient(to right, #054aa9, #0077c6, #009cbf, #00bba3, #7fd589);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient {
  background-image: linear-gradient(to right, #87b3e6 0%, #b3e6b3 100%);
}

.bg-gradient1 {
	background-image: linear-gradient( 135deg, #b3fff5 10%, #f6a3d2 100%);
}

.bg-gradient1 h2,
.bg-gradient1 i,
.bg-gradient1 p {
	color: #333333;
}

.bg-black {
  background: #000000;
}

/* Group Button style */
.btn-group {
  margin: 20px auto;
  padding: 0;
  background: transparent;
  text-decoration: none;
  border: none;
  outline: none;
  display: inline-flex; /* keeps items aligned in one line */
  align-items: center;  /* ensures vertical alignment */
  cursor: pointer;
}

.btn-group i,
.btn-group span {
  display: inline-flex;           /* flex for easy centering */
  align-items: center;            /* vertical centering */
  justify-content: center;        /* horizontal centering */
  background: var(--accent-color);
  color: #ffffff;
  height: 40px;                   /* fixed height for both */
  transition: all 0.3s ease;
}

.btn-group span {
  padding: 0 20px; /* padding only horizontally */
  border-radius: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* thin glass border */
  position: relative;
  overflow: hidden;
}

.btn-group i {
  margin-left: -2px;
  width: 40px;       /* square so it's a circle */
  border-radius: 20px 50% 50% 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* thin glass border */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Fixed hover selectors - remove the extra class name */
.btn-group:hover i,
.btn-group:hover span {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Shimmer effect on hover */
.btn-group:hover i::after,
.btn-group:hover span::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 0.6s ease-out;
  pointer-events: none;
  z-index: -1;
}

/* Ensure the icon and text content is properly positioned */
.btn-group i,
.btn-group span {
  position: relative;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.btn-group:disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
  transform: none;
}

/* Default button */
.btn {
	padding: 5px 20px;
	color: #ffffff;
	background: var(--accent-color);
	border-radius: 20px;
	cursor: pointer;
}

/* Also fix disabled state for child elements */
.btn:disabled,
.btn-group:disabled i,
.btn-group:disabled span {
  background: var(--text-secondary);
  transform: none;
  box-shadow: none;
}

/* Gradient Animation for hero H1 text */
.gradient-text.animated {
    background-size: 400% 400%;
	animation: gradientAnimation 12s linear infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating hero animation (smoother) */
@keyframes heroFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(40px, 60px);
  }
  50% {
    transform: translate(-40px, 80px);
  }
  75% {
    transform: translate(60px, -40px);
  }
}

/* Reset default list styles */
ul,
ol {
  margin: 1em 0;
  padding-left: 2em;
  font-size: 1rem;
  line-height: 1.6;
}

/* Style for unordered lists */
ul {
  list-style-type: disc; /* You can change to circle, square */
}

/* Style for ordered lists */
ol {
  list-style-type: decimal; /* You can change to lower-roman, upper-alpha, etc. */
}

/* Nested list indentation */
ul ul,
ol ol,
ul ol,
ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 2em;
}

/* Optional: spacing between list items */
li {
  margin-bottom: 0.4em;
}

/* Optional: align list index numbers nicely for large indexes (10+, 100+) */
ol li {
  padding-left: 0.25em;
  text-indent: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    /* Glass effect */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--nav-bdr);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 60px; /* Explicitly set height */
    margin: 0 auto;
    padding: 0 1rem; /* Add horizontal padding */
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%; /* Full height for proper alignment */
}

.nav-left a {
    display: flex;
    align-items: center;
    height: 100%;
}

#hamburger,
.hamburger {
	display: none;
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.75rem; /* Add proper padding */
    border-radius: 4px;
    transition: background-color 0.3s ease;
    height: 44px; /* Set explicit height */
    width: 44px; /* Set explicit width */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger:hover {
    background-color: var(--border-color);
}

.brand-logo {
    max-height: 30px;
    height: auto;
    width: auto;
    display: block;
}

/* For brand logo */ 
#brand-logo-mobile {
    display: none;
}
#brand-logo {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%; /* Full height for proper alignment */
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1; /* Reset line-height for proper centering */
}

.nav-link:hover {
    color: var(--text-color);
}

/* Right side navigation controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    height: 100%; /* Full height for proper alignment */
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.theme-toggle:hover {
    background-color: var(--border-color);
}

/* Important links container */
.imp-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%; /* Full height for proper alignment */
}

.imp-links.hidden {
    display: none !important;
}

.imp-links.visible {
    display: flex !important;
}

/* Search Bar Styles */
.search-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 16px;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: all 0.3s ease;
}

.search-bar.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
}

.search-bar.visible {
    display: flex !important;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-size: 0.9rem;
    width: 100%;
    padding: 4px 5px;
    border-radius: 10px!important;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-bar #clear-search {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    margin-top: 3px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-bar #clear-search:hover {
    color: var(--text-color);
    background-color: var(--border-color);
}

/* Off-screen Menu */
.off-screen-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 2000;
    transition: left 0.3s ease;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.off-screen-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: var(--border-color);
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-links .nav-link {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    overflow: hidden;
	background-image: 
	linear-gradient(var(--grid) 2px, transparent 2px),  /* horizontal thick */
	linear-gradient(90deg, var(--grid) 2px, transparent 2px),  /* vertical thick */
	linear-gradient(var(--grid) 1px, transparent 1px),  /* horizontal thin */
	linear-gradient(90deg, var(--grid) 1px, transparent 1px);  /* vertical thin */
	
	background-size: 
	80px 80px,  /* thick grid (outer) */
	80px 80px,  
	20px 20px,  /* thin grid (inner, 4 rows/cols in 80px) */
	20px 20px;
	
	background-position: 
	0 0,
	0 0,
	0 0,
	0 0;
}

.hero {
    position: relative;
    z-index: 10;
    padding: 8rem 2rem 4rem;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
	padding-top: 70px;
	height: calc(100vh - 120px);
}

.hero-text {
    width: 60%;
}

.hero-image {
	position: absolute;
	bottom: 0;
	right: 0;
    width: 40%;
	height: auto;
}

#hero-blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-blur-circle {
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: heroFloat 20s infinite ease-in-out;
}

#hero-blur1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #ff00ff;
    top: 10%;
    left: 2%;
    animation-delay: 0s;
}

#hero-blur2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #ffff00;
    bottom: 10%;
    left: 15%;
    animation-delay: -7s;
}

#hero-blur3 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: #00fdff;
    top: 5%;
    right: 0;
    animation-delay: -14s;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.1rem;
	font-weight: normal!important;
    color: var(--text-color);
    margin-top: 20px!important;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Avatar Status */
.stats-card {
    position: relative;
	width: 50%;
}
.profile-avatars {
    display: flex;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 16px;
    position: relative;
}
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.avatar:not(:first-child) {
    margin-left: -10px;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stats-inline {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-left: 12px;
}
.stats-number {
    display: none;
}
.stats-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}
/* Add subtle animation */
.stats-card {
    animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.avatar {
    transition: transform 0.2s ease;
}
.avatar:hover {
    transform: translateY(-2px);
    z-index: 10;
}

/* Section Styles */
.section,
.footer {
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}
/* Remove border from the first section */
.section:first-of-type {
    border-top: none;
}
.inner-section {
    padding: 4rem 2rem;
    max-width: 80%;
    margin: 0 auto;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}
.inner-section.post {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: var(--card-bg);
}
.inner-section.img {
    padding: 0;
}
.inner-section.img img {
    width: 100%;
	margin-bottom: -8px;
}
.title-header,
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	width: 100%;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.right-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.right-link:hover {
    text-decoration: underline;
}

/* Card */
.card {
    background: var(--card-bg-light);
    border: 1px solid var(--border-light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card::before,
.card::after {
  content: none!important;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Goo effects */
.goo-wrapper {
	margin-bottom: 30px;
}
.goo {
	display: inline;
	padding: 0.5rem 1rem;
	font-size: 1.5rem;
	line-height: 1.45;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	filter: url('#goo');
	-webkit-filter: url('#goo');
}
.goo {
	color: var(--text-secondary);
	background: var(--card-bg);
}

/* Row/Columns having no gaps */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  justify-content: center; /* center columns horizontally */
  box-sizing: border-box; /* optional, apply globally */
}

/* Common column styles */
.row .col,
.row .col-2,
.row .col-3 {
  position: relative; /* for vertical line pseudo-element */
  padding: 20px;
  box-sizing: border-box;
}

/* column layout */
.row .col {
  flex: 0 0 calc(80% - 1rem);
}

/* 3-column layout */
.row .col-3 {
  flex: 0 0 calc(33.3333% - 1rem);
}
/* Clear Horizontal/Vertical lines for column */
.clear-vl::before,
.clear-vl::after,
.clear-hl::before,
.clear-hl::after {
  content: none!important;
}
/* Vertical line for 3-column */
.row .col-3::after {
  content: '';
  position: absolute;
  top: 0;
  right: -0.75rem; /* half the gap */
  width: 1px;
  height: 100%;
  background-color: var(--border-color);
}

/* Remove vertical line from last .col-3 */
.row .col-3:last-child::after {
  content: none;
}

/* 2-column layout */
.row .col-2 {
  display: flex;
  flex: 0 0 calc(50% - 0.75rem); /* 50% minus half gap */
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

/* Vertical line for 2-column odd children */
.row .col-2:nth-child(odd)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -0.75rem;
  width: 1px;
  height: 100%;
  background-color: var(--border-color);
}
.row .col-2:last-child::after {
  content: none;
}

/* Add horizontal line */
.row .col-2:last-child::before {
  content: '';
  position: absolute;
  top: -0.75rem; /* half the gap */
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
}

/* Alternate odd/even flex direction */
.row .col-2:nth-child(even) {
  flex-direction: row-reverse;
}

/* Images in 2-column layout */
.row .col-2 img {
  width: 30%;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Last odd item full width */
.row .col-2:nth-child(odd):last-child {
  flex: 0 0 100%;
}

/* Blog */
.blog-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.blog-tags {
	display: inline-block;
    margin-top: 0.5rem;
}

.blog-tags .tag {
    display: inline-flex; /* use flex to align items */
    align-items: center;  /* vertical centering */
    gap: 0.2rem;          /* space between text and image */
    font-weight: 500;
}

.tag {
	transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-tags .tag {
    margin: 0.2rem 0.1rem;
	background: var(--accent-color);
	color: white;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: normal;
	text-decoration: none;
}

.blog-date,
.blog-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-date {
	margin: 0.4rem auto;
}

/* Blog and Pages */
.post-section {
	margin: 0 auto;
	width: 75%;
}
.post-section img {
	margin: 5px auto;
	width: 100%;
	border-radius: 5px;
}
.post-section p {
	margin: 5px auto;
	font-size: 18px;
}
.post-section .date {
	margin-left: 10px;
	color: var(--text-secondary);
}
.post-section a {
	color: var(--accent-color);
}
.post-section .tags {
	margin-top: 30px;
}
.post-section .tag {
	display: inline-block;
	margin: 5px 3px;
	padding: 5px 10px;
	color: white;
	background: var(--accent-color);
	text-decoration: none;
	border-radius: 5px;
}

/* Info List */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.6;
}

.info-list li:last-child {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
}

.info-list strong {
  margin-right: 5px;
}

/* Footer */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem;
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--text-color);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* reCAPTCHA notice styling */
.recaptcha-notice {
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--border-color);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.recaptcha-notice a {
    color: var(--accent-color);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}


/* Loading state for submit button */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error message styling */
.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--nav-bdr);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Legal Links */
.legal-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.legal-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--text-color);
}

.office-address p {
    color: white!important;
}
/* Responsive Design */
@media (max-width: 768px) {
    #hamburger,
	.hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-container {
        padding: 0 1rem; /* Ensure padding on mobile */
    }

    .search-bar {
        min-width: 250px;
        right: 10px;
    }
	
    .hero-content {
		padding-top: 0px;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
		height: auto;
    }
	
	.hero-text {
		width: 100%;
	}
	
    .hero-text h1 {
        font-size: 2.5rem;
    }
	
	.stats-card {
		margin: 0 auto;
		width: 100%;
	}
	
	.profile-avatars {
		justify-content: center
	}

    .hero-image {
        display: none;
    }
	
	.post-section h1 {
		font-size: 2.5em;
		line-height: 1.3em;
	}
	
	.hero.inner-section {
		padding-top: 10rem;
	}
	
	.inner-section {
		max-width: 90%;
	}
	
	.post-section {
		width: 90%;
	}

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
	
	.row .col-3:nth-child(1),
	.row .col-3:nth-child(2) {		
		flex: 0 0 calc(50% - 1rem);
	}
	.row .col-3:nth-child(3) {
		flex: 0 0 100%;
	}
	
	/* Remove vertical line from second col-3 */
	.row .col-3:nth-child(2)::after {
		content: none;
	}
	
	/* Add horizontal line for 100% width col-3 */
	.row .col-3:nth-child(3)::before {
		content: '';
		position: absolute;
		top: -0.75rem; /* half the gap */
		left: 0;
		width: 100%;
		height: 1px;
		background-color: var(--border-color);
	}
	
	.row .col-2 {
		flex: 0 0 100%;
		flex-direction: row;
		padding: 10px;
		align-items: flex-start;
	}
	
	.row .col-2 img {
		width: 40%;
	}
	
	/* Remove vertical line from col-2 */
	.row .col-2:nth-child(odd)::after {
		content: none;
	}
	
	/* Add horizontal line for 100% width col-2 (except first one) */
	.row .col-2:not(:first-child)::before {
		content: '';
		position: absolute;
		top: -0.75rem; /* half the gap */
		left: 0;
		width: 100%;
		height: 1px;
		background-color: var(--border-color);
	}
	
	.row .col-2:nth-child(odd):last-child {
		flex: 0 0 100%;
	}
	
	.row .col {
		flex: 0 0 95%;
	}
	
	.goo-wrapper {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
    .navbar {
         padding: 0;
    }
	
    .nav-container {
        padding: 0 0.75rem; /* Slightly less padding on very small screens */
    }

    .hamburger {
        padding: 0.5rem; /* Slightly smaller padding on very small screens */
        height: 40px;
        width: 40px;
        font-size: 1.3rem;
    }
	
	#brand-logo {
		display: none;
	}
	
	#brand-logo-mobile {
		display: inline-block;
	}

    .search-bar {
        min-width: 200px;
        right: 5px;
    }

    .theme-toggle {
        min-width: 35px;
        min-height: 35px;
        font-size: 1rem;
    }

	.hero.inner-section {
		padding-top: 8rem;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.inner-section {
		max-width: 97%;
		padding: 10px 5px;
	}
	
	.inner-section.post {
		padding-top: 1rem;
		padding-bottom: 1rem;
    }
	
	.post-section {
		width: 97%;
		padding: 10px;
	}
	
	.section-header {
		padding: 20px 10px;
		margin-bottom: 0px;
	}

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-image {
        display: none;
    }
	
	.res-img {
		height: 200px;
	}
	
	.row .col-3 {
		display: flex;
		padding: 5px;
	}
	
	/* Remove vertical line from all col-3 */
	.row .col-3::before {
		content: none;
	}
	
	/* Add horizontal line for all col-3 except first one */
	.row .col-3:not(:nth-child(-n+2))::before {
		content: '';
		position: absolute;
		top: -0.75rem; /* half the gap */
		left: 0;
		width: 100%;
		height: 1px;
		background-color: var(--border-color);
	}
	
	.row .col-2 {
		flex: 0 0 100%;
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	
	.row .col-2 img {
		width: 100% !important;
		max-width: none !important;
		flex-shrink: 0;
	}
	
	.row .col-2 .content {
		width: 100%;
		text-align: left;
	}
	
	/* Reset flex direction for even children */
	.row .col-2:nth-child(even) {
		flex-direction: column; /* or whatever your default is */
	}
	
	/* Remove vertical line from all col-2 */
	.row .col-2::after {
		content: none;
	}
	
	/* Add horizontal line for all col-2 except first one */
	.row .col-2:not(:first-child)::before {
		content: '';
		position: absolute;
		top: -0.75rem; /* half the gap */
		left: 0;
		width: 100%;
		height: 1px;
		background-color: var(--border-color);
	}
}