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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #fff;
    background-color: #000;
    position: relative;
    z-index: 0;
}

.service-card:hover,
.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
  transition: all 0.3s ease-in-out;
}

/* === Bounce on Social Icons === */
.footer-socials a:hover i,
.social-media a:hover i {
  animation: bounce 0.6s;
  color: #00bcd4;
}

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

/* === CTA Buttons Pulse + Shimmer (Only on .contact-btn and .btn) === */
.contact-btn,
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.contact-btn:hover,
.btn:hover {
  transform: scale(1.05);
}

.contact-btn::after,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  animation: shimmer 1.8s infinite;
  z-index: -1;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 100%;
  }
}

/* === Exclude shimmer from navbar and Get Now buttons === */
.navbar button span.text,
.service-card button span.text {
  all: unset;
  font-size: 1rem;
  cursor: pointer;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(5, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: gridMove 10s linear infinite;
    pointer-events: none;
    opacity: 0.2;
}

body::after {
    animation-direction: reverse;
}

@keyframes gridMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-40px, -40px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    color: #05A8FF;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #00bcd4;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: #05A8FF;
}

.navbar button {
    position: relative;
    padding: 0.5rem 1.5rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.navbar button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(5, 168, 255, 0.2), #05A8FF);
    transition: 0.4s;
    z-index: -1;
}

.navbar button:hover::before {
    left: 0;
}

.navbar button:hover {
    background-color: rgba(5, 168, 255, 0.15);
    color: #fff;
    box-shadow: 0 0 10px #05A8FF, 0 0 20px #05A8FF;
    transform: scale(1.08);
}

#menu-icon {
    display: none;
}

/* Home Section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 10% 2rem;
    min-height: 100vh;
    gap: 2rem;
}

.home-content {
    flex: 1;
}

.home-content h3 {
    font-size: 2rem;
}

.home-content h1 {
    font-size: 3rem;
    color: #05A8FF;
}

.home-content span {
    color: #05A8FF;
}

.home-content p {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
}
#typewriter {
  border-right: 2px solid #05A8FF;
  padding-right: 5px;
  white-space: nowrap;
  font-weight: bold;
  color: #05A8FF;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Social Media Links */
.social-media a {
    color: #05A8FF;
    font-size: 2.5rem;   /* ⬅️ increase this to make icons bigger */
    margin-right: 1rem;
    transition: 0.3s ease;
    position: relative;
    display: inline-block;
}

.social-media a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #05A8FF;
    transition: width 0.4s ease;
}

/* Hover effects */
.social-media a:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.3); /* ⬅️ slight zoom */
    text-shadow: 0 0 5px #05A8FF, 0 0 10px #05A8FF;
}

.social-media a:hover::after {
    width: 80%;
}


/* Home Image */
.home-img {
    flex: 1;
    text-align: center;
    padding-bottom: 0;
}

.home-img img {
    width: 300px;
    max-width: 100%;
    border: 5px solid #05A8FF;
    border-radius: 20px;
    margin-bottom: 0;
}

/* About Section */
/* About Section */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 10%;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%); /* Soft professional gradient */
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Subtle animated overlay for depth */
.about::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 70%);
  animation: overlayMove 20s linear infinite;
  z-index: 0;
}

@keyframes overlayMove {
  0% { transform: rotate(0deg) translate(0, 0); }
  100% { transform: rotate(360deg) translate(0, 0); }
}

/* Keep content above overlay */
.about-content, .about-img img, .skills, .btn {
  position: relative;
  z-index: 2;
}

/* About Image Styling */
.about-img img {
  width: 250px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Optional subtle gradient for text container */
.about-content {
  max-width: 600px;
  z-index: 2;
  color: #fff;
  padding: 2rem 2.5rem;
  background: rgba(30, 30, 30, 0.7); /* dark glass effect */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.5s ease;
}

/* Headings */
.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #00bcd4; /* accent color */
  text-shadow: 0px 2px 8px rgba(0, 188, 212, 0.4);
}

.about-content h3 {
  font-size: 1.5rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #d1d1d1;
}

/* Skills Styling */
.skills span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: 0.3s ease-in-out;
}

.skills span:hover {
  background: #00bcd4;
  color: #fff;
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #00bcd4;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #00bcd4;
  border: 1px solid #00bcd4;
}


/* Services Section */
.services {
    padding: 4rem 10%;
    background-color: rgba(5, 168, 255, 0.03);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #05A8FF;
    margin-bottom: 3rem;
    position: relative;
}

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

.service-card {
    background-color: #0d0d0d;
    padding: 2rem;
    border: 1px solid #00bfff;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card i {
    font-size: 3rem;
    color: #05A8FF;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: #ccc;
}

.service-card button {
    margin-top: 2rem;
    align-self: center;
    padding: 0.5rem 1.2rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(5, 168, 255, 0.2), #05A8FF);
    z-index: -1;
    transition: 0.4s ease;
}

.service-card button:hover::before {
    left: 0;
}

.service-card button:hover {
    background-color: rgba(5, 168, 255, 0.1);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 10px #05A8FF, 0 0 20px #05A8FF;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 15px #05A8FF;
    background-color: rgba(5, 168, 255, 0.05);
}

body {
  font-family: Arial, sans-serif;
  background: #111;
  margin: 0;
  padding: 0;
  color: #fff;
}

.heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 600;
  background: linear-gradient(45deg, #00bcd4, #0044ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0px 0px 10px rgba(0, 188, 212, 0.8), 0px 0px 20px rgba(0, 188, 212, 0.6);
  animation: textAnimation 1.5s ease-in-out infinite alternate;
}

.heading span {
  color: #00aaff;
}

/* Text animation for heading */
@keyframes textAnimation {
  0% {
    transform: translateY(10px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Underline animation on hover */
.heading:hover {
  text-decoration: underline;
  text-decoration-color: #00aaff;
  text-decoration-thickness: 3px;
  text-underline-position: under;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* For responsiveness */
  gap: 2rem;
  justify-items: center;
  padding: 2rem;
}

/* Project Card Styling */
.project-card {
  width: 320px;  /* Set width to make sure they stay centered */
  height: 420px;
  perspective: 1000px;
  display: flex;
  justify-content: center;  /* Align items in the center */
  align-items: center;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.project-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  overflow: hidden;
}

/* FRONT SIDE (Glass Effect) */
.card-front {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease;
}
.project-card:hover .card-front img {
  transform: scale(1.08);
}

/* BACK SIDE */
.card-back {
  background: rgba(20, 20, 20, 0.9);
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

.card-back h3 {
  margin-bottom: 1rem;
  color: #00aaff;
}

.card-back p {
  flex-grow: 1;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #ddd;
  overflow: auto;
}

/* Mobile View Fix */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr 1fr; /* Adjust grid for mobile */
  }

  .project-card {
    width: 90%;  /* Make the cards smaller on mobile */
    max-width: 350px; /* Set max width for better look */
  }
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #00aaff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  min-height: 45px; /* ensures all buttons have same height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: #0088cc;
  transform: scale(1.05);
}

html, body {
    overflow-x: hidden;  /* Prevent horizontal overflow */
}

* {
    max-width: 100%;  /* Prevent any element from exceeding the screen width */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #fff;
    background-color: #000;
}

/* Ensure images are fully responsive */
img, .home-img img, .about-img img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Ensure images are centered */
}

/* Ensure service card layout */
.service-card {
    width: 100%;
    max-width: 100%;
}

/* Section adjustments for mobile */
/* Section adjustments for mobile */
@media (max-width: 768px) {
    .home, .about, .services, .projects-container {
        width: 100%;  /* Ensure sections are full width on mobile */
        padding: 0 20px;  /* Add padding to avoid overflow on both sides */
    }

    .project-card {
        width: 100%;  /* Project cards should take up full width */
        max-width: 100%;
        margin-bottom: 20px; /* Add space between cards */
        padding: 0 20px;  /* Add padding on the left and right of the project card */
        display: flex;
        justify-content: center; /* Center the content */
        box-sizing: border-box;  /* Ensure padding does not affect the width */
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        padding: 0 20px; /* Add padding on the left and right of service cards */
    }

    .projects-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Center all the project cards */
        gap: 20px;  /* Space between cards */
    }

    /* Center images inside the project cards */
    .project-card img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

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

    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
    }
}


/* Modal Content */
.modal-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(5, 168, 255, 0.6);
    max-width: 950px;
    max-height: 90vh;   /* limit height to viewport */
    width: 100%;
    color: #f1f1f1;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow-y: auto;   /* enable scrolling if text overflows */
}
/* Headings */
.modal-content h3 {
    color: #05A8FF;
    font-size: 2.2rem;   /* increased size */
    text-align: center;
    font-weight: 700;
    margin: 0;
    margin-bottom: 1rem;
}

/* Description */
.modal-content p {
    margin-top: 1rem;
    line-height: 1.7;
    color: #ccc;
    text-align: center;
    max-width: 750px;
    white-space: normal; /* ensure text wraps */
    word-break: break-word; /* avoid long words breaking layout */
}

/* Image Container */
.modal-images {
    display: flex;
    justify-content: center;  /* center horizontally */
    flex-wrap: wrap;          /* wrap for multiple images */
    gap: 1.5rem;
    max-height: none;
    overflow-y: visible;
    padding: 10px;
}

/* Images */
.modal-images img {
    width: 340px;   /* bigger images */
    height: auto;
    border-radius: 14px;
    object-fit: contain;
    border: 1px solid #05A8FF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modal-images img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(5, 168, 255, 0.6);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: #05A8FF;
    transform: rotate(90deg) scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px; /* moved to right for cleaner UI */
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: #05A8FF;
    transform: rotate(90deg) scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}


/* Enlarged Image Overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    flex-direction: column;
}

.image-overlay img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px #05A8FF;
    border: 2px solid #05A8FF;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent image from blocking buttons */
    z-index: 1;
}

.image-overlay-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    z-index: 2;
    position: relative;
}

.image-overlay-controls button {
    background: #05A8FF;
    color: #000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.image-overlay-controls button:hover {
    background: #0395df;
    transform: scale(1.05);
}

.quote-section {
    position: relative;
    background: linear-gradient(135deg, #000000, #1e1e1e);
    padding: 5rem 2rem 8rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.quote-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fffdfd;
}

.quote-section h2 span {
    color: #00bcd4;
    font-weight: 700;
}

.quote-section .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.quote-section .contact-btn:hover {
    background: #0097a7;
}

.quote-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: auto;
    animation: waveScroll 6s linear infinite; /* Increased speed */
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

@keyframes waveScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Waves Base Style */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%2300bcd4" fill-opacity="1" d="M0,96L40,106.7C80,117,160,139,240,144C320,149,400,139,480,133.3C560,128,640,128,720,117.3C800,107,880,85,960,90.7C1040,96,1120,128,1200,149.3C1280,171,1360,181,1400,186.7L1440,192L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z"/></svg>') repeat-x;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.wave1 {
    animation: waveScroll 6s linear infinite;
    z-index: 1;
    bottom: 0;
    opacity: 0.2;
}

.wave2 {
    animation: waveScrollReverse 9s linear infinite;
    z-index: 2;
    bottom: 10px;
    opacity: 0.12;
}

.wave3 {
    animation: waveScroll 12s linear infinite;
    z-index: 3;
    bottom: 20px;
    opacity: 0.08;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #fff;
    background-color: #000;
    position: relative;
    z-index: 0;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 10%;
    min-height: 0vh;
    max-height: 50vh;
    background: linear-gradient(135deg, #0d7377 0%, #00bcd4 100%); /* Gradient background */
    color: #fff;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(0, 0, 0, 0.75); /* Darker background for contrast */
    padding: 3rem 2.5rem;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 550px;
}

/* Heading */
.contact-form-container h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00bcd4;
}

/* Subheading */
.contact-form-container p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Contact Buttons Container */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* General Button Style */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    background: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 50px; /* Rounded button */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: #008c9e;
    box-shadow: 0 6px 18px rgba(0, 188, 212, 0.6);
}

/* WhatsApp Button */
/* General button styles for WhatsApp and Email */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px; /* Rounded corners */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

.contact-btn i {
    font-size: 1.5rem; /* Size for the icons */
}

/* WhatsApp Button */
.contact-btn.whatsapp {
    background: #25D366; /* WhatsApp green */
    color: #fff;
}

.contact-btn.whatsapp:hover {
    background: #128C7E; /* Darker green on hover */
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Email Button */
.contact-btn.email {
    background: #007BFF; /* Email blue */
    color: #fff;
}

.contact-btn.email:hover {
    background: #0056b3; /* Darker blue on hover */
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.5);
}

/* Mobile Specific Adjustments */
/* Mobile Specific Adjustments for Contact Form and Buttons */
@media (max-width: 768px) {
    /* Ensure the buttons are full-width on mobile */
    .contact-btn.whatsapp, .contact-btn.email {
        width: 100%;  /* Make the buttons full width */
        padding: 1rem 2rem;  /* Adjust padding for better click area */
        font-size: 1.2rem;  /* Larger text for easier interaction */
        justify-content: center; /* Center the content inside the button */
    }

    /* Ensure icons are also adjusted for mobile */
    .contact-btn i {
        font-size: 2.5rem;  /* Larger icons for better tap interaction */
    }

    /* Optionally, you can make the contact form container full width on mobile */
    .contact-form-container {
        width: 100%;
        max-width: 100%;
        padding: 2rem; /* Adjust padding for mobile view */
    }
}


/* Icon Style */
.contact-btn i {
    font-size: 1.5rem;
}

/* Footer Section */
footer {
    background: #111;
    color: #bbb;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    color: #bbb;
}

footer .footer-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    flex-wrap: wrap;
}

footer .footer-left {
    flex: 1;
    color: #fff;
}

footer .footer-left h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer .footer-left p {
    font-size: 1rem;
}

footer .footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

footer .footer-socials a {
    color: #bbb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .footer-socials a:hover {
    color: #00bcd4;
}

/* Footer Bottom */
footer .footer-bottom {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Styling */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-section {
        padding: 4rem 5%;
    }

    .contact-form-container {
        padding: 2rem;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes waveScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes waveScrollReverse {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

/* Footer Styles */
.footer {
  background: linear-gradient(to right, #0a0a0a, #111);
  color: #ccc;
  padding: 50px 20px 20px;
  font-size: 14px;
  position: relative;
  z-index: 5;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-left h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-left p {
  line-height: 1.8;
  font-size: 15px;
  color: #bbb;
  max-width: 550px;
  margin: 0 auto;
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials a {
  display: inline-block;
  margin: 0 10px;
  color: #bbb;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.footer-socials a:hover {
  color: #fff;
  background-color: #00bcd4;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #00bcd4;
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,188,212,0.4);
}

.back-to-top:hover {
  background-color: #00a3bb;
  box-shadow: 0 0 14px rgba(0,188,212,0.6);
}
/* Section styling */
/* General styles for the certifications section */
.certifications-highlight {
    position: relative;
    padding: 7rem 0 6rem 0;
    background: linear-gradient(120deg, #00aaff 0%, #0044ff 100%);
    overflow: hidden;
    z-index: 2;
}

.certifications-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12) 0%, rgba(0,170,255,0.08) 60%, transparent 100%), url('img1.png') center/cover no-repeat;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    filter: blur(8px);
}

/* Content Styling */
.certifications-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 2rem 2.5rem 3rem 2.5rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 48px 0 rgba(0,170,255,0.18);
    backdrop-filter: blur(6px);
    animation: certFadeIn 1.2s cubic-bezier(.4,2,.6,1);
}

/* Title Animation */
.certifications-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: #ffe066;
    text-shadow: 0 0 24px #00aaff;
    animation: certTitlePulse 2.5s infinite alternate;
}

@keyframes certTitlePulse {
    0% { text-shadow: 0 0 24px #00aaff; }
    100% { text-shadow: 0 0 48px #fff, 0 0 24px #00aaff; }
}

.certifications-desc {
    font-size: 1.25rem;
    color: #e0eaff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: certDescFade 1.6s cubic-bezier(.4,2,.6,1);
}

/* Gallery Layout */
.certifications-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 1.5rem;
}

/* Individual Certificate Cards */
.certification-card {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,170,255,0.18);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.certification-card:hover {
    transform: translateY(-12px) scale(1.08) rotate(-2deg);
    box-shadow: 0 16px 64px rgba(0,170,255,0.32);
    background: rgba(255,255,255,0.22);
}

.certification-card img {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,170,255,0.18);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s, filter 0.3s;
    cursor: pointer;
    filter: drop-shadow(0 0 12px #00aaff);
}

.certification-card img:hover {
    transform: scale(1.15) rotate(-2deg);
    box-shadow: 0 12px 48px rgba(0,170,255,0.32);
    filter: drop-shadow(0 0 32px #00aaff);
}

.certification-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,170,255,0.12);
}

/* Full-Screen Overlay */
.cert-enlarge-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    animation: certEnlargeFade 0.3s;
}

@keyframes certEnlargeFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cert-enlarge-overlay img {
    max-width: 60vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 48px #00aaff;
    background: rgba(255,255,255,0.08);
}

.cert-enlarge-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.5rem;
    color: #ffe066;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 16px #ffe066;
    transition: background 0.2s;
}

.cert-enlarge-close:hover {
    background: rgba(255,224,102,0.18);
    color: #fff;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5% 2rem;
    }

    .about {
        flex-direction: column;
        padding: 2rem 5%;
    }

    .home-img img,
    .about img {
        width: 200px;
    }

    .services-container,
    .projects-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-images img {
        width: 80px;
        height: 130px;
    }
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #fff;
    background-color: #000;
    position: relative;
    z-index: 0;
}

/* === Bounce on Social Icons === */
.footer-socials a:hover i,
.social-media a:hover i {
  animation: bounce 0.6s;
  color: #00bcd4;
}

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

/* === CTA Buttons Pulse + Shimmer === */
.contact-btn,
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.contact-btn:hover,
.btn:hover {
  transform: scale(1.05);
}

.contact-btn::after,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  animation: shimmer 1.8s infinite;
  z-index: -1;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 100%;
  }
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar button {
    padding: 0.5rem 1.5rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

#menu-icon {
    display: none;
}

/* Home Section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 10% 2rem;
    min-height: 100vh;
    gap: 2rem;
}

.home-content h1 {
    font-size: 3rem;
    color: #05A8FF;
}

.home-content p {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.home-img img {
    width: 300px;
    border: 5px solid #05A8FF;
    border-radius: 20px;
    margin-bottom: 0;
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 10%;
  flex-wrap: wrap;
}

.about-img img {
  width: 250px;
  border-radius: 20px;
  object-fit: cover;
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #00aaff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #00aaff;
  border: 1px solid #00aaff;
}

/* Services Section */
.services {
    padding: 4rem 10%;
    background-color: rgba(5, 168, 255, 0.03);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #05A8FF;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: #0d0d0d;
    padding: 2rem;
    border: 1px solid #00bfff;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 15px #05A8FF;
}

.service-card i {
    font-size: 3rem;
    color: #05A8FF;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 cards per row */
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    width: 420px; /* Ensure cards take full width of each grid column */
    height: 480px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.card-front {
    background: rgba(0, 170, 255, 0.15);
}

.card-back {
    background: rgba(20, 20, 20, 0.9);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-back h3 {
    margin-bottom: 1rem;
    color: #00aaff;
}


/* Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.project-modal.active {
    display: flex;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 10%;
    min-height: 100vh;
    background: #0d7377;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Footer Section */
footer {
    background: #111;
    color: #bbb;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    color: #bbb;
}

footer .footer-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    flex-wrap: wrap;
}

/* Mobile Styling */
@media (max-width: 768px) {
    /* Navbar Styles */
    .navbar {
        display: none;  /* Initially hide the navbar */
        position: absolute;
        top: 100%;
        left: 0;
        background: #111;
        width: 100%;
        padding: 1rem;
        z-index: 100;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .navbar.active {
        display: flex; /* Show navbar when active */
    }

    /* Navbar links */
    .navbar a {
        color: #fff;
        text-decoration: none;
        padding: 0.8rem 2rem; /* Adjust button padding for mobile */
        font-size: 1.2rem;
        width: 100%; /* Ensure buttons take full width */
        text-align: center;
        transition: background 0.3s;
    }

    .navbar a:hover {
        background: #00bcd4;
    }

    /* Display the menu icon (hamburger) on mobile */
    .menu-icon {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        z-index: 101; /* Make sure it stays on top */
        cursor: pointer;
    }

    /* Header layout on mobile */
    .header {
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem 2rem;
        background: #111;
        z-index: 100;
    }

    /* Logo adjustment for mobile */
    .logo {
        font-size: 2rem;
        font-weight: bold;
        color: #05A8FF;
        text-decoration: none;
        margin-top: 1.5rem;
    }

    /* Ensure the title stays centered */
    .home {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5% 2rem;
    }

    /* Adjust about section for mobile */
    .about {
        flex-direction: column;
        padding: 2rem 5%;
    }

    /* Adjust the services and projects container for mobile */
    .services-container,
    .projects-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-container {
        padding: 2rem;
        width: 100%;
    }

    .social-media a {
        font-size: 2rem;
    }

    /* Ensure buttons have the right width */
    .contact-btn {
        width: 100%; /* Full width for buttons on mobile */
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-btn i {
        margin-right: 0.5rem;
    }
}

/* Default Navbar Styling */
/* Hide the navbar links on larger screens */
.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #111;
    z-index: 100;
}

.logo {
    color: #05A8FF;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 100; /* Ensure the logo stays on top */
}

/* Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
/* Container for the letter */
.letter-container {
    background-color: #fff;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    transform: translateY(30px); /* Initial position */
    animation: fadeInUp 1s ease-in-out forwards, popIn 1s ease-out 0.5s; /* Adjusted to ensure visibility */
    opacity: 1;  /* Ensure opacity is 1 initially */
    transition: transform 0.3s ease; /* Smooth transition on hover */
}

/* Letter Heading */
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 1.2s ease-in-out 0.5s forwards, slideInFromLeft 1s ease-out 1s; /* Animation with ease-in-out */
}

/* Letter Image Container */
.letter-image-container {
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 1.2s ease-in-out 0.8s forwards, bounceIn 1s ease-out 1.2s; /* Animation for the image container */
}

/* Letter Image */
.letter-image {
    width: 100%;
    max-width: 430px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.letter-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.5); /* Shadow effect on hover */
}

/* Hover effect for the container */
.letter-container:hover {
    transform: scale(1.02); /* Slight scale effect when hovering over the letter container */
}

/* For responsive view */
@media (max-width: 768px) {
    .letter-container {
        width: 90%;
    }

    h2 {
        font-size: 1.5rem;
    }

    .letter-image {
        width: 90%;
    }
}

/* Keyframe Animations */

/* Fade in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade in + Slide-up effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-in from the left */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pop-in effect for letter container */
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce effect for image container */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile View */
@media (max-width: 768px) {
    /* Navbar hidden initially on mobile */
    .navbar {
        display: none;  /* Hide navbar links initially */
        position: absolute;
        top: 0;
        right: 0; /* Position navbar on the right */
        background: #111;
        width: 250px; /* Set the width for the navbar */
        height: 100vh; /* Full height of the screen */
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        z-index: 100;
        transition: all 0.3s ease;
    }

    /* Show navbar when active (toggled) */
    .navbar.active {
        display: flex;
    }

    /* Show the hamburger menu next to the logo on mobile */
    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        z-index: 101; /* Ensure the hamburger is in front of the title */
        margin-left: auto; /* Push the icon to the right */
    }

    /* Mobile navbar link styling */
    .navbar a {
        color: #fff;
        text-decoration: none;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        transition: background 0.3s;
    }

    .navbar a:hover {
        background: #00bcd4;
    }

    /* Adjust layout for mobile */
    .header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    /* Ensure the logo stays centered on mobile */
    .logo {
        margin-top: 0;
    }

    /* Mobile button widths (if any) */
    .navbar button {
        width: 100%; /* Buttons will span the full width of the navbar on mobile */
    }
}

/* Desktop View */
@media (min-width: 769px) {
    /* Hide hamburger icon on desktop */
    #menu-icon {
        display: none;
    }

    /* Display navbar normally (horizontal layout) on desktop */
    .navbar {
        display: flex;
        align-items: center;
    }
}

