@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0b0b0b;
  color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 600; 
}

p {
  font-weight: 400; 
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-container {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 0 20px rgba(124, 255, 178, 0.15);
  pointer-events: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link i {
  font-size: 14px;
}

.nav-link:hover {
  background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
  color: #0b0b0b;
  box-shadow: 0 0 12px rgba(124, 255, 178, 0.6);
}

.nav-link.active {
  background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
  color: #0b0b0b;
  box-shadow: 0 0 14px rgba(124, 255, 178, 0.7);
}
.nav-link i {
  width: 20px;
  height: 20px;
}

/* Tooltip Styling */
.nav-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(124, 255, 178, 0.25);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
  opacity: 0;
  transition: all 0.25s ease;
}

.nav-link:hover::after,
.nav-link:hover::before {
  opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: radial-gradient(circle at top, rgba(124, 255, 178, 0.12), transparent 60%);
}

.hero-container {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1rem;
  color: #bfbfbf;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
  color: #0b0b0b;
  box-shadow: 0 0 14px rgba(124, 255, 178, 0.4);
}

.primary-btn:hover {
  box-shadow: 0 0 20px rgba(124, 255, 178, 0.7);
  transform: translateY(-2px);
}

.secondary-btn {
  border: 1px solid #7FD1FF;
  color: #7FD1FF;
  background: transparent;
}

.secondary-btn:hover {
  background: rgba(127, 209, 255, 0.12);
  box-shadow: 0 0 14px rgba(127, 209, 255, 0.4);
  transform: translateY(-2px);
}

/* Social Icons */
.hero-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.hero-socials a {
  color: #ffffff;
  font-size: 18px;
  transition: all 0.25s ease;
}

.hero-socials a:hover {
  color: #7CFFB2;
  transform: translateY(-2px);
}

/* ========================================
   ABOUT PREVIEW SECTION
======================================== */

.about-preview {
    padding: 120px 20px;
    position: relative;
}

.about-preview .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* About Card - Glassmorphic */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.2), rgba(127, 209, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(124, 255, 178, 0.15);
}

/* Left Side Container */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Image Container */
.about-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Image Border Glow */
.about-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    border-radius: 16px;
    z-index: 0;
    opacity: 0.6;
    filter: blur(12px);
}

/* Social Icons Below Image */
.about-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    animation: slideUpFade 0.8s ease 0.4s forwards;
    opacity: 0;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.15), rgba(127, 209, 255, 0.15));
    border-color: #7CFFB2;
    box-shadow: 0 0 20px rgba(124, 255, 178, 0.4);
    transform: translateY(-3px);
}

/* About Content */
.about-content {
    animation: fadeInRight 0.8s ease 0.2s forwards;
    opacity: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.about-text {
    color: #B0B0B0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Stats Card */
.about-stats-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.about-stats-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 255, 178, 0.15);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: #7CFFB2;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

/* Button - Gradient */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    color: #0B0B0B;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 255, 178, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(124, 255, 178, 0.5);
}
/* ========================================
   FEATURED PROJECTS SECTION
======================================== */

.featured-projects {
    padding: 120px 20px;
    position: relative;
}

.featured-projects .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Heading */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subheading {
    text-align: center;
    color: #bfbfbf;
    font-size: 1.05rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 255, 178, 0.25);
    box-shadow: 0 20px 60px rgba(124, 255, 178, 0.15);
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    border-radius: 50%;
    color: #0b0b0b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 255, 178, 0.6);
}

.project-link i {
    width: 22px;
    height: 22px;
}

/* Project Content */
.project-content {
    padding: 24px;
}

.project-domain {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7CFFB2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Tech Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 14px;
    background: rgba(124, 255, 178, 0.12);
    border: 1px solid rgba(124, 255, 178, 0.25);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #7CFFB2;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(124, 255, 178, 0.2);
    border-color: rgba(124, 255, 178, 0.4);
}

/* CTA Section */
.projects-cta {
    text-align: center;
}

/* ========================================
   BLOG OVERVIEW SECTION
======================================== */

.blog-overview {
    padding: 120px 20px;
    position: relative;
}

.blog-overview .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Posts Container */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
}

/* Blog Card - Horizontal Layout */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 255, 178, 0.25);
    box-shadow: 0 20px 60px rgba(124, 255, 178, 0.15);
}

/* Blog Image */
.blog-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

/* Blog Category Badge */
.blog-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 16px;
    background: rgba(124, 255, 178, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(124, 255, 178, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7CFFB2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Content */
.blog-content {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #bfbfbf;
}

.blog-date i,
.blog-read-time i {
    width: 16px;
    height: 16px;
    color: #7CFFB2;
}

/* Blog Title */
.blog-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-title {
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Excerpt */
.blog-excerpt {
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Read More Link */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7CFFB2;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: #7FD1FF;
}

.blog-read-more i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* CTA Section */
.blog-cta {
    text-align: center;
}

/* Secondary Button */
.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #7FD1FF;
    color: #7FD1FF;
    background: transparent;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(127, 209, 255, 0.12);
    box-shadow: 0 0 20px rgba(127, 209, 255, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    padding: 120px 20px;
    position: relative;
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
}

/* CTA Card - Glassmorphic */
.cta-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.3), rgba(127, 209, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(124, 255, 178, 0.2);
    border-color: rgba(124, 255, 178, 0.25);
}

/* CTA Heading */
.cta-heading {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* CTA Text */
.cta-text {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text.secondary {
    color: #bfbfbf;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* CTA Socials */
.cta-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-social-label {
    font-size: 0.9rem;
    color: #bfbfbf;
    font-weight: 500;
}

.cta-social-icons {
    display: flex;
    gap: 14px;
}

.cta-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.cta-social-icon i {
    width: 20px;
    height: 20px;
}

.cta-social-icon:hover {
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.15), rgba(127, 209, 255, 0.15));
    border-color: #7CFFB2;
    box-shadow: 0 0 20px rgba(124, 255, 178, 0.4);
    transform: translateY(-3px);
}

/* ========================================
   FOOTER SECTION
======================================== */

.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px 20px;
    position: relative;
    margin-top: 120px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left: Branding */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Middle: Quick Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    color: #bfbfbf;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #7CFFB2;
    transform: translateX(4px);
}

/* Right: Social Icons */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social-icon i {
    width: 18px;
    height: 18px;
}

.footer-social-icon:hover {
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.15), rgba(127, 209, 255, 0.15));
    border-color: #7CFFB2;
    box-shadow: 0 0 16px rgba(124, 255, 178, 0.4);
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #bfbfbf;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    border: none;
    border-radius: 50%;
    color: #0b0b0b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 255, 178, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(124, 255, 178, 0.6);
}

.back-to-top i {
    width: 24px;
    height: 24px;
}

/* ========================================
   ANIMATIONS FOR HOME ABOUT SECTION
======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .nav-container {
    width: 95%;
    padding: 8px 12px;
  }

  .nav-menu {
    justify-content: space-between;
    gap: 6px;
  }

  .nav-link span {
    display: none; 
  }

  .nav-link {
    padding: 10px;
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }
}

/* ========================================
   RESPONSIVE DESIGN FOR HOME ABOUT SECTION
======================================== */

@media (max-width: 968px) {
    .about-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .about-preview {
        padding: 80px 20px;
    }

    .about-card {
        padding: 30px 20px;
        gap: 30px;
    }

    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 300px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-socials {
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .about-stats-card {
        padding: 20px;
        gap: 16px;
    }
}

/* ========================================
   RESPONSIVE DESIGN FEATURED PROJECTS
======================================== */

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .featured-projects {
        padding: 80px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .section-subheading {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .project-image {
        height: 200px;
    }

    .project-title {
        font-size: 1.2rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN BLOG OVERVIEW IN HOME PAGE
======================================== */

@media (max-width: 968px) {
    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-image {
        min-height: 240px;
    }

    .blog-content {
        padding: 28px 24px;
    }

    .blog-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 640px) {
    .blog-overview {
        padding: 80px 20px;
    }

    .blog-posts {
        gap: 24px;
        margin-bottom: 40px;
    }

    .blog-image {
        min-height: 200px;
    }

    .blog-content {
        padding: 24px 20px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
    }

    .blog-meta {
        gap: 16px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .section-subheading {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
}

/* ========================================
   RESPONSIVE DESIGN HOME PAGE CTA BEFORE FOOTER
======================================== */

@media (max-width: 968px) {
    .cta-card {
        padding: 50px 40px;
    }

    .cta-heading {
        font-size: 2.2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .cta-section {
        padding: 80px 20px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-heading {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 0.95rem;
    }

    .cta-text.secondary {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .cta-buttons {
        margin-bottom: 32px;
    }

    .cta-social-icons {
        gap: 12px;
    }

    .cta-social-icon {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   RESPONSIVE DESIGN FOOTER
======================================== */

@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-menu a:hover {
        transform: translateX(0);
    }

    .footer-socials {
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 20px 20px;
        margin-top: 80px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-name {
        font-size: 1.3rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}