* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    color: #222;
    line-height: 1.5;
    overflow-x: hidden;
    backdrop-filter: blur(3px);
}

/* Container for consistent padding */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== DESKTOP NAVBAR STYLES (Your Original Table Navbar) ========== */
.desktop-nav {
    display: block;
    width: 100%;
    padding: 20px 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo_box {
    padding: 0 50px 0 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.navlinks_container {
    padding: 0 50px 0 0;
}

.navlinks_box {
    padding: 6px 30px;
    border-radius: 90px;
    background-color: #dcdcdc;
}

.navlinks_innerbox a {
    padding: 0 25px;
    color: #222;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.navlinks_innerbox a:hover {
    color: #000;
    text-decoration: none;
}

.booking a {
    color: #222;
    text-decoration: underline;
    text-decoration-thickness: 0.1px;
    text-underline-offset: 5px;
    font-weight: 500;
}

.booking a:hover {
    color: #000;
}

/* ========== MOBILE NAVBAR STYLES (Slide-in) ========== */
#mobile-navbar, .menu-toggle-btn, .overlay {
    /* display: none; */
}

/* Mobile navbar container */
#mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background-color: #f0f0f0;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 40px 20px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 20px rgba(0,0,0,0.05);
}

#mobile-navbar.show {
    transform: translateX(0);
}

/* Profile picture area */
.nav-profile {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d4d4d4;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #d4d4d4;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-pic i {
    font-size: 3rem;
    color: #888;
}

.nav-name {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 0.85rem;
    color: #666;
}

/* Navigation links */
.nav-links-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link {
    padding: 12px 18px;
    color: #222;
    font-weight: 400;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.nav-link i {
    font-size: 1.3rem;
    color: #555;
}

.nav-link:hover {
    background-color: #e0e0e0;
}

.nav-link.active {
    background-color: #222;
    color: #f8f8f8;
}

.nav-link.active i {
    color: #f8f8f8;
}

/* Special booking link in nav - WITH underline */
.nav-booking-link {
    margin-top: 20px;
    padding: 15px 18px;
    background-color: #222;
    color: white !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.nav-booking-link i {
    color: white;
    font-size: 1.3rem;
}

.nav-booking-link:hover {
    background-color: #3a3a3a;
}

/* Menu toggle button (hamburger) */
.menu-toggle-btn {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1001;
    background-color: #e8e8e8;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border: 1px solid #d4d4d4;
}

.menu-toggle-btn i {
    font-size: 1.8rem;
    color: #222;
}

.menu-toggle-btn:hover {
    background-color: #d4d4d4;
}

/* Close button inside navbar */
.close-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    display: none;
}
.bx bx-x{
    position: fixed;
}
/* Overlay when menu is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========== HERO SECTION ========== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 80px 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: #444;
    max-width: 500px;
    margin: 25px 0 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #222;
    color: white;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #222;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.btn-secondary {
    background-color: transparent;
    color: #222;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #222;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    filter: grayscale(0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.btn-primary:hover .arrow-icon,
.btn-secondary:hover .arrow-icon {
    transform: translate(3px, -3px);
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media screen and (max-width: 900px) {
    /* Hide desktop navbar on mobile/tablet */
    .desktop-nav {
        display: none;
    }
    
    /* Show mobile navbar elements */
    .menu-toggle-btn {
        display: flex !important;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
    }
    
    #mobile-navbar {
        display: flex !important;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    #mobile-navbar.show {
        transform: translateX(0);
    }
    
    .overlay {
        display: block !important;
    }
    
    .close-nav {
        display: block;
    }
    
    /* Hero section adjustments for tablet */
    .hero-grid {
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

/* Mobile-specific styles - Image above text */
@media screen and (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    /* Image comes first (above text) */
    .hero-image {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* Text comes after image */
    .hero-content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 28px;
    }
    
    .close-nav {
        display: block;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .menu-toggle-btn {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    #mobile-navbar {
        width: 250px;
    }
    
    .hero-image img {
        max-width: 90%;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* For very large screens */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}


/* ========== ABOUT SECTION REDESIGN ========== */

#about {
    padding: 120px 40px;
    background-color: #ffffff;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* TEXT SIDE */
.about-text {
    flex: 1.2;
}

.about-role {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #777;
    display: block;
    margin-bottom: 12px;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 20px;
    max-width: 600px;
}

/* BLOG LINE */
.about-blog {
    margin-top: 35px;
}

.writes {
    font-weight: 500;
    margin-bottom: 8px;
}

.blog-link {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #222;
    text-decoration: none;
    border-radius: 80px;
    border: #222 solid ;
    padding: 10px;
    font-weight: 500;
    transition: 0.2s ease;
}

.blog-link:hover {
    color: #222 ;
    background-color: #f8f8f8;
}

/* IMAGE SIDE */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-6px);
}

@media screen and (max-width: 900px) {

    .about-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .about-text {
        align-items: center;
    }

    .about-text p {
        max-width: 100%;
    }

    .about-socials {
        justify-content: center;
    }   
}
/* SOCIAL LINKS */
.about-socials {
    display: flex;
    gap: 18px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.about-socials a {
    font-size: 1.6rem;
    color: #222;
    transition: all 0.25s ease;
}
.about-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-socials a:hover {
    transform: translateY(-4px);
    color: #555;
}
.about-socials {
    /* justify-content: center; */
}   

/* ================= SERVICES SECTION ================= */

#services {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f1f1f1 100%);
    position: relative;
    overflow: hidden;
}

/* subtle tech grid background */
#services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    pointer-events: none;
}

.section-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 15px;
    display: block;
}

.services-heading {
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 60px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* CARD */
.service-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    cursor: pointer;
}

/* IMAGE */
.service-image {
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

/* CONTENT */
.service-content {
    padding: 25px;
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 0.95rem;
    color: #555;
}

/* HOVER EFFECT */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.service-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* SIGNATURE */
.services-signature {
    text-align: center;
    margin-top: 80px;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #999;
}
@media screen and (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-heading {
        font-size: 2.1rem;
    }
}

#works {
  padding: 120px 0;
  background: #f8f8f8;
}

.works-heading {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 60px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.work-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.4s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.work-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.work-content {
  padding: 20px;
}

.work-content h3 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.view-btn {
  display: inline-block;
  margin: 5px 10px 5px 0;
  padding: 7px 16px;
  border: 1px solid #222;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.8rem;
  color: #222;
  transition: 0.3s ease;
}

.view-btn:hover {
  background: #222;
  color: #fff;
}

/* Bottom Buttons */
.portfolio-buttons {
  margin-top: 80px;
  text-align: center;
}

.main-btn, .alt-btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 40px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
}

.main-btn {
  background: #222;
  color: #fff;
}

.main-btn:hover {
  opacity: 0.85;
}

.alt-btn {
  border: 1.5px solid #222;
  color: #222;
}

.alt-btn:hover {
  background: #222;
  color: #fff;
}

.works-signature {
  text-align: center;
  margin-top: 60px;
  color: #999;
  font-size: 0.95rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width: 1000px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 700px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

#blog {
  padding: 120px 0;
  background: #ffffff;
}

.blog-heading {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #f8f8f8;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.4s ease;
}

.blog-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.read-btn {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid #222;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.8rem;
  color: #222;
  transition: 0.3s ease;
}

.read-btn:hover {
  background: #222;
  color: #fff;
}

/* Social Section */
.social-section {
  margin-top: 80px;
  text-align: center;
}

.social-section h4 {
  margin-bottom: 25px;
  font-weight: 400;
}

.social-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
  position: relative;
}

.social-links a::after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  background: #222;
  transition: 0.3s ease;
  margin-top: 5px;
}

.social-links a:hover::after {
  width: 100%;
}

/* Signature */
.blog-signature {
  text-align: center;
  margin-top: 60px;
  color: #999;
  font-size: 0.95rem;
}

/* Responsive */
@media(max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 700px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #222;
  font-size: 18px;
  transition: 0.3s ease;
}

.social-icon:hover {
  background: #222;
  color: #fff;
  transform: translateY(-5px);
}

#footer {
  background: #0f0f0f;
  color: #fff;
  padding: 120px 0 40px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-intro h2 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.footer-intro p {
  color: #aaa;
  margin-bottom: 30px;
  max-width: 400px;
}

.book-call-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #fff;
  border-radius: 40px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s ease;
}

.book-call-btn:hover {
  background: #fff;
  color: #000;
}

/* FORM */
.footer-form {
  flex: 1;
  max-width: 600px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.footer-form input,
.footer-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #1a1a1a;
  color: #fff;
}

.footer-form input:focus,
.footer-form textarea:focus {
  outline: 1px solid #fff;
}

.footer-form textarea {
  margin-top: 15px;
  width: 100%;
}

.footer-form button {
  margin-top: 20px;
  padding: 14px;
  border-radius: 40px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-form button:hover {
  background: #fff;
  color: #000;
}

/* Social Icons */
.footer-social {
  text-align: center;
  margin-top: 80px;
}

.footer-social a {
  margin: 0 15px;
  font-size: 18px;
  color: #fff;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #888;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #777;
}

/* Responsive */
@media(max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}