/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

body {
  font-family: 
     "Open Sans", "Helvetica Neue", sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
  animation: pageFadeIn 1.5s ease-in; 
}


/* GLOBAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* LOGO */
.logo a {
  text-decoration: none;
  color: #333;
  font-size: 1.6rem;
  font-weight: 700;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0077ff;
}

/* BUTTON */
.hire-btn {
  background: #0077ff;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover{
  background: #00bfff;
}

/* MOBILE MENU ICON */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* ANIMATION */
@keyframes slidedown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE STYLING ===== */
@media (max-width: 768px) {

  /* Show hamburger */
  .menu-icon {
    display: block;
  }

  /* Hide desktop nav + button */
  .nav-links,
  .hire-btn {
    display: none;
  }

  /* When menu is opened */
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 1.5rem 0;
    text-align: center;
    gap: 1.2rem;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    animation: slidedown .5s ease-out forwards;
    z-index: 200;
  }

  /* Show button under nav on mobile */
  #menu-toggle:checked + .menu-icon + .nav-links + .hire-btn {
    display: block;
    margin: 1rem auto 0;
    text-align: center;
  }

    /* Put menu icon on the right ALWAYS */
  .menu-icon {
    position: absolute;
    right: 20px;
    top: 22px;
    z-index: 200;
  }
}


/* ===== Banner ===== */
.banner {
  padding: 5rem 0;
  display: flex;
  align-items: center;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.banner-text {
  flex: 1;
  min-width: 280px;
}

.banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.banner-text h1 span {
  color: #0077ff;
}

.banner-text p {
  font-size: 1rem;
  max-width: 500px;
}

.banner-img {
  flex: 1;
  text-align: right;
}

.banner-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 10%;
  object-fit: cover;
}

/* ===== About Section ===== */
.about {
  padding: 5rem 0;
  background: #f9f9f9;
}

.about-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.about-left, .about-right {
  flex: 1;
  min-width: 280px;
}

.about-left h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1.5rem;
}

.socials a {
  display: inline-block;
  margin-right: 1rem;
}

.socials img {
  width: 28px;
  transition: transform 0.3s;
}

.socials img:hover {
  transform: scale(1.2);
}

.about-right p {
  font-size: 1rem;
  color: #555;
}

/* ===== Expertise Section ===== */
.expertise {
  padding: 5rem 0;
}

.expertise-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.expertise-left, .expertise-right {
  flex: 1;
  min-width: 280px;
}

.expertise-left h2 {
  font-size: 2rem;
  color: #222;
}

.expertise-right .expertise-item {
  margin-bottom: 2rem;
}

.expertise-item h3 {
  font-size: 1.25rem;
  color: #0077ff;
  margin-bottom: 0.5rem;
}

.expertise-item p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== Consultation Section ===== */
.Consultation {
  background: #f0f6ff;
  text-align: center;
  padding: 5rem 1rem;
}

.Consultation h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1.5rem;
}

.consult-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: #eee;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about,
.footer-links,
.footer-newsletter {
  flex: 1;
  min-width: 250px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-about p {
  color: #ccc;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0077ff;
}

/* Newsletter */
.footer-newsletter p {
  color: #ccc;
  margin-bottom: 1rem;
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.6rem;
  border: none;
  border-radius: 5px;
}

.footer-newsletter button {
  background: #0077ff;
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: #005fcc;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333; 
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom .socials {
  margin-bottom: 1rem;
}

.footer-bottom .socials a {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-bottom .socials img {
  width: 24px;
  filter: invert(1);
  transition: transform 0.3s ease;
}

.footer-bottom .socials img:hover {
  transform: scale(1.2);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 4rem 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #222;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  gap: 1.5rem;
  align-items: start;
}

/* Card */
.testimonial-card {
  background: #f7f9ff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17,17,17,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.testimonial-card .quote {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* Client info */
.client {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.client img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.client-info strong {
  display: block;
  color: #111;
  font-size: 0.95rem;
}

.client-info span {
  font-size: 0.85rem;
  color: #666;
}

/* === ABOUT PAGE STYLES === */

/* --- Banner --- */
.about-banner {
  height: 30vh;
  background: linear-gradient(to right, #0077ff, #00bfff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.about-banner h1 {
  font-size: 3rem;
  font-weight: 700;
}

/* --- Background Helpers --- */
.bg-light {
  background: #f0f6ff;
}
.bg-gray {
  background: #f8f8f8;
}

/* --- Div 2: Inspiring Words --- */
.about-inspire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}
.inspire-left {
  flex: 1;
}
.inspire-right {
  flex: 1;
  color: #555;
}

/* --- Div 3: Picture --- */
.about-photo {
  text-align: center;
  padding: 3rem 0;
}
.about-photo img {
  width: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Div 4: Journey --- */
.about-journey {
  padding: 4rem 0;
  text-align: center;
}
.about-journey h2 {
  margin-bottom: 1rem;
}
.about-journey p {
  max-width: 800px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

/* --- Div 5: Values --- */
.about-values {
  padding: 4rem 0;
  text-align: center;
}
.about-values h2 {
  margin-bottom: 1rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.value-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Div 6: Why Work With Me --- */
.about-workwithme {
  padding: 4rem 0;
  text-align: center;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Div 7: Why Software Dev --- */
.about-whydev-bg {
  background: #f0f6ff; /* full-width color */
  padding: 5rem 0;
}
.about-whydev {
  text-align: center;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
}
.about-whydev h2 {
  margin-bottom: 1rem;
}

/* === SERVICES PAGE STYLES === */

/* Banner */
.services-banner {
  height: 30vh;
  background: linear-gradient(to right, #0077ff, #00bfff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.services-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Intro Section */
.services-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}
.intro-left {
  flex: 1;
}
.intro-right {
  flex: 1;
  color: #555;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
  text-align: center;
}
.service-item {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.service-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.service-item h3 {
  margin-bottom: 0.5rem;
  color: #0077ff;
}
.service-item p {
  color: #555;
  line-height: 1.5;
}

/* === CONTACT PAGE STYLES === */

/* Banner */
.contact-banner {
  height: 30vh;
  background: linear-gradient(to right, #0077ff, #00bfff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.contact-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Intro Section */
.contact-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}
.intro-left {
  flex: 1;
}
.intro-right {
  flex: 1;
  color: #555;
  line-height: 1.6;
}

/* Image Section */
.contact-image {
  text-align: center;
  padding: 3rem 0;
}
.contact-image img {
  width: 60%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Work Together Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  padding: 4rem 0;
}
.work-left {
  flex: 1;
}
.work-left h2 {
  color: #0077ff;
  margin-bottom: 1rem;
}
.work-left p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* Contact Info */
.contact-right {
  flex: 1;
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.contact-right h3 {
  color: #0077ff;
  margin-bottom: 1rem;
}
.contact-right p {
  color: #444;
  margin-bottom: 0.8rem;
}

/* Social Icons */
.social-icons {
  margin-top: 1rem;
}
.social-icons a {
  margin-right: 0.5rem;
  display: inline-block;
}
.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.1);
}

/* === MY WORK PAGE STYLES === */

/* Banner */
.work-banner {
  height: 30vh;
  background: linear-gradient(to right, #0077ff, #00bfff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.work-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Intro */
.work-intro {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}
.work-intro h2 {
  color: #0077ff;
  margin-bottom: 1rem;
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}
.work-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.work-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.work-item h3 {
  color: #0077ff;
  margin-bottom: 0.5rem;
}
.work-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.btn-view {
  display: inline-block;
  background: #0077ff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-view:hover {
  background: #005fcc;
}

/* .btn{
  display: inline-block;
  background: #0077ff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition:  0.3s ease;
}
.btn:hover{
  background: #8bb1dd;
} */

/* CTA Section */
.work-cta {
  background: #f0f6ff;
  text-align: center;
  padding: 4rem 1rem;
}
.work-cta h2 {
  color: #0077ff;
  margin-bottom: 1rem;
}
.work-cta p {
  color: #555;
  margin-bottom: 1.5rem;
}
.work-cta .btn {
  background: #0077ff;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.work-cta .btn:hover {
  background: #005fcc;
}

 


/* ===== Simple Page Fade-in Animation ===== */

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

 
