/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
}

section {
  padding: 4rem 2rem;
  text-align: center;
}




/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .cards, .steps, .stack-logos {
    flex-direction: column;
    align-items: center;
  }
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 5;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.footer {
  background-color: #21903b;
  color: white;
  font-family: Arial, sans-serif;
  padding: 40px 20px 10px;
}
body.dark-mode  .footer {
  background-color: #222;
  color: white;
  font-family: Arial, sans-serif;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
}

.footer-container > div {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer h3 {
  text-decoration: underline;
  margin-bottom: 10px;
  font-size: 20px;
}

.footer p, .footer a {
  font-size: 14px;
  color: white;
  line-height: 1.6;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-social h3 {
  margin-bottom: 15px;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li {
  margin-bottom: 10px;
}

.social-list a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.social-list a:hover {
  color: #d4f7d4;
}

.social-list i {
  background-color: #ffffff30;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: background 0.3s, color 0.3s;
}

.social-list a:hover i {
  background-color: white;
  color: #28a745;
}



.footer-bottom {
  text-align: center;
  border-top: 1px solid #ffffff80;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
}
.send-message-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: white;
  color: #28a745;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.send-message-btn:hover {
  background-color: #dff0d8;
}




input::placeholder,
textarea::placeholder {
    color: rgb(180, 180, 180);
}

textarea {
    min-height: 8rem;
}

#error {
    color: red;
    font-size: 1rem;
}



/* Dark Mode Switch Styles  */
.toggle-switch {
  position: relative;
  width: 60px;
  height: 10px;
  margin-left: auto;
  margin-right: 40px;
  padding: 10px;
  --light:#0078FF;
  --dark: #060707;
  --link: rgb(27, 129, 112);
  --link-hover: rgb(24, 94, 82);
}


@media only screen and (max-width:576px) {
    #logo {
        width: 10rem;
    }

    .clients-img {
        max-width: 60px;
    }

    .toggle-switch {
            position: relative;
            width: 60px;
            height: 10px;
            padding: 10px;
            --light:#0078FF;
            --dark: #28292c;
            --link: rgb(27, 129, 112);
            --link-hover: rgb(24, 94, 82);
    }
    .navbar .toggle-switch {
        align-self: center;
        margin-left: 1rem;
        margin-right: 0;
    }    
    .switch-label {
        height: 22px;
        border-radius: 16px;
        border-width: 2px;
    }    
    .checkbox:checked ~ .slider::before {
        transform: translateX(16px);
    }
}

@media only screen and (max-width:320px) {
    #logo {
        width: 6rem;
    }

    .toggle-switch {
            position: relative;
            width: 60px;
            height: 10px;
            padding: 10px;
            --light:#0078FF;
            --dark: #28292c;
            --link: rgb(27, 129, 112);
            --link-hover: rgb(24, 94, 82);
    }
        
     .switch-label {
        height: 16px;
        border-radius: 10px;
        border-width: 2px;
    }
    .navbar .toggle-switch {
    align-self: center;
    margin-left: 1rem;
    margin-right: 0;
    }
    .slider::before {
        top: 1px;
        left: 2px;
        width: 10px;
        height: 10px;
    }
    .checkbox:checked ~ .slider::before {
        transform: translateX(10px);
    }    
}

@media only screen and (max-width:768px) {
    .footer-links {
        flex-direction: row;
        margin: 2rem 0;
    }

    .founder-text {
        padding-left: 1rem !important;
    }

    .clients-img {
        max-width: 80px;
    }

    .toggle-switch {
            position: relative;
            width: 60px;
            height: 10px;
            padding: 10px;
            --light:#0078FF;
            --dark: #28292c;
            --link: rgb(27, 129, 112);
            --link-hover: rgb(24, 94, 82);
        }
}

@media (max-width:1412px) {
    .clients-img {
        max-width: 105px;
    }
}

    .toggle-switch {
            position: relative;
            width: 60px;
            height: 10px;
            padding: 10px;
            --light:#0078FF;
            --dark: #070708;
            --link: rgb(27, 129, 112);
            --link-hover: rgb(24, 94, 82);
    }

.switch-label {
  position: absolute;
  width: 100%;
  height: 30px;
  background-color: var(--dark);
  border-radius: 25px;
  cursor: pointer;
  border: 3px solid var(--dark);
}

.checkbox {
  position: absolute;
  display: none;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider {
  background-color: var(--light);
}

.slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
  box-shadow: inset 12px -4px 0px 0px var(--light);
  background-color: var(--dark);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: var(--dark);
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Dark Mode Switch Styles for Body element*/
body.dark {background-color: #222;} 

body.dark .navbar .container-fluid {
    background-color: #292929;
    color: #fff;
}

body.dark .navbar-toggler{
    border-color: #fff;
    color:#f2f2f2;
    background-color: #f2f2f2;
}

body.dark .navbar .container-fluid .collapse .navbar-nav .nav-item .nav-link  {
    color: #fff !important;
}

body.dark h1, body.dark .support a {color: #fff;}





#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 1.5rem;
  background-color: light rgba(107, 107, 228, 0.906);
  color: rgb(5, 6, 8);
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

#backToTop:hover {
  background-color: #0272f1; /* darker shade of blue */
  transform: scale(1.1);
}

body.dark-mode #backToTop {
  background-color: #ccc;
}
body.dark-mode #backToTop:hover{
  background-color: #fefefe;
}

body.dark-mode .navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}




/* Dark Mode Switch Styles for Body element*/
body.dark {background-color: #222;} 

body.dark .navbar .container-fluid {
    background-color: #292929;
    color: #fff;
}

body.dark .navbar-toggler{
    border-color: #fff;
    color:#f2f2f2;
    background-color: #f2f2f2;
}

body.dark .navbar .container-fluid .collapse .navbar-nav .nav-item .nav-link  {
    color: #fff !important;
}

body.dark h1, body.dark .support a {color: #fff;}




/* DARK MODE STYLES */
body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

/* Navbar in Dark Mode */
body.dark-mode .navbar {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #333;
}

body.dark-mode .navbar .nav-link {
    color: #e0e0e0 !important;
    transition: color 0.3s ease;
}

body.dark-mode .navbar .nav-link:hover,
body.dark-mode .navbar .nav-link.active {
    color: #f0f0f0 !important;
}









/* Base dark mode styles */
.webdev-hero.dark-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 10%;
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  color: #ffffff;
  min-height: 90vh;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Text section */
.webdev-hero .hero-text {
  flex: 1 1 50%;
}

.webdev-hero .hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(90deg, #00ffe7, #0b84f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.webdev-hero .hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #d1d1d1;
}

/* Dark Glass Button */
.btn-glass-dark {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #00ffe7;
  color: #00ffe7;
  font-weight: 600;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-glass-dark:hover {
  background-color: #00ffe7;
  color: #0f0f0f;
  box-shadow: 0 0 10px #00ffe7;
}

/* Image animation */
.hero-illustration img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 255, 231, 0.4));
}

/* Floating animation for image */
.float-animation {
  animation: float 4s ease-in-out infinite;
}

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

/* Fade-in effect */
.fade-in {
  animation: fadeIn 1.5s ease-in;
}

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

/* Responsive design */
@media screen and (max-width: 768px) {
  .webdev-hero {
    flex-direction: column-reverse;
    padding: 3rem 2rem;
    text-align: center;
  }

  .webdev-hero .hero-text h1 {
    font-size: 2.2rem;
  }

  .webdev-hero .hero-text p {
    font-size: 1rem;
  }
}






/* Common Base Styles */
.webdev-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 2rem;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, color 0.3s ease;
}

.hero-text {
  max-width: 600px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Glass button base */
.btn-glass,
.btn-glass-light {
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, transform 0.2s;
  text-decoration: none;
  font-weight: 500;
}

/* Illustration */
.hero-illustration img {
  max-width: 400px;
  width: 100%;
  z-index: 2;
  transition: filter 0.3s ease;
}

/* Floating blurred circles */
.webdev-hero::before,
.webdev-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .webdev-hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-illustration img {
    margin-top: 2rem;
  }
}

/* 🌞 LIGHT MODE (default) */
body:not(.dark-mode) .webdev-hero {
  background: linear-gradient(135deg, #f4f6fa, #eaecee);
  color: #222;
}

body:not(.dark-mode) .hero-text p {
  color: #444;
}

body:not(.dark-mode) .btn-glass-light {
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  border: 1 px solid black;
}

body:not(.dark-mode) .btn-glass-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

body:not(.dark-mode) .webdev-hero::before {
  background: radial-gradient(circle, rgba(0, 123, 255, 0.1), transparent);
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
}

body:not(.dark-mode) .webdev-hero::after {
  background: radial-gradient(circle, rgba(0, 123, 255, 0.1), transparent);
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -80px;
}

/* 🌚 DARK MODE */
body.dark-mode .webdev-hero {
  background: linear-gradient(135deg, #1b2735, #090a0f);
  color: #fff;
}

body.dark-mode .hero-text p {
  color: #dcdcdc;
}

body.dark-mode .btn-glass-light {
  background: rgba(255, 255, 255, 0.37);
  color: #ffffff;
}

body.dark-mode .tech-title {

}

body.dark-mode .btn-glass-light:hover {
  background: rgba(75, 188, 248, 0.934);
  transform: scale(1.05);
  color: #222;
}

body.dark-mode .hero-illustration img {
  filter: drop-shadow(0 0 20px rgba(0, 162, 255, 0.3));
}

body.dark-mode .webdev-hero::before {
  background: radial-gradient(circle, rgba(0, 162, 255, 0.2), transparent);
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
}

body.dark-mode .webdev-hero::after {
  background: radial-gradient(circle, rgba(0, 162, 255, 0.2), transparent);
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -80px;
}

.hero-illustration img {
  max-width: 50%;
  height: auto;
 
  border-radius: 16px;
  transition: all 0.4s ease;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Light mode default */
}

/* Dark mode enhancements */
body.dark-mode .hero-illustration img {
  box-shadow: 0 0 30px rgba(0, 174, 255, 0.3); /* Soft neon glow */
  border: 1px solid rgba(0, 174, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.03);
}



/* Offer Section - Light Mode (Default) */
.webdev-offer-section {
  background-color: #f9f9f9;
  color: #222;
  padding: 60px 20px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.offer-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #111;
}

.offer-grid,
.offer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.offer-card {
  background: #ffffff;
  color: #333;
  border-radius: 12px;
  padding: 30px 25px;
  width: 280px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.offer-card i {
  font-size: 36px;
  color: #007bff;
  margin-bottom: 16px;
}

/* Hover effect */
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Dark Mode Styles */
body.dark-mode .webdev-offer-section {
  background-color: #111927;
  color: #f0f0f0;
}

body.dark-mode .offer-title {
  color: #ffffff;
}

body.dark-mode .offer-card {
  background: #d3d5d8;
  color: #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 174, 255, 0.575);
  border: 1px solid rgba(0, 174, 255, 0.08);
}

body.dark-mode .offer-card i {
  color: #00b7ff;
}

body.dark-mode .offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(207, 210, 212, 0.893);
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(94, 254, 254, 0.769);
}
.card i {
  color: #00eaff;
}
.offer-card h3 {
  color: #0f0f0f;
}
.offer-card {
  background: rgb(225, 208, 208);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 174, 255, 0.08);
}
.offer-card p {
  color:#060707;
}

/* Base Glass Section Styling */
.offer-section-glass {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: background 0.4s, color 0.4s;
}

.offer-glass-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
  transition: color 0.4s;
}

.glass-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 15px;
  scroll-behavior: smooth;
}

.glass-item {
  min-width: 250px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
  transition: transform 0.3s, background 0.4s;
  color: #222;
}

.glass-item:hover {
  transform: translateY(-5px);
}

.glass-item img {
  width: 64px;
  margin-bottom: 15px;
}

.glass-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.glass-item p {
  font-size: 14px;
  color: #444;
  transition: color 0.3s;
}

/* Dark Mode Overrides */
body.dark-mode .offer-section-glass {
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

body.dark-mode .offer-glass-title {
  color: #fff;
}

body.dark-mode .glass-item {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
}

body.dark-mode .glass-item p {
  color: #ccc;
}

/* dark mode for tech stack */
/* Default (Light Mode) */
.tech-section {
    background-color: #f9f9f9;
    color: #111;
    padding: 60px 20px;
    text-align: center;
}

.tech-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: inherit;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tech-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.tech-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: inherit;
}

/* Dark Mode */
body.dark-mode .tech-section {
    background-color: #111827;
    color: #f9fafb;
}
body.dark-mode .tech-title {
  color: white;
}
body.dark-mode .tech-card {
    background-color: #1f2937;
    box-shadow: 0 4px 12px rgba(255,255,255,0.05);
}

body.dark-mode .tech-card p {
    color: #e5e7eb;
}

/* dark mode in our process section */
body.dark-mode .our-process {
    background: #1f2937;
}

body.dark-mode .process-heading {
    color: #f9fafb;
}

body.dark-mode .label {
    background: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark-mode .label h4 {
    color: #f3f4f6;
}

body.dark-mode .label p {
    color: #d1d5db;
}
/* why choose us section in dark mode*/
body.dark-mode .why-growcraft-section {
    background: #0f172a; /* Deep slate */
}

body.dark-mode .why-heading {
    color: #f1f5f9;
}

body.dark-mode .why-heading span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .why-step:hover {
    transform: translateY(-5px);
}

body.dark-mode .why-content h3 {
    color: #e2e8f0;
}

body.dark-mode .why-content p {
    color: #94a3b8;
}

body.dark-mode .why-timeline::before {
    background: linear-gradient(to bottom, #60a5fa, #a78bfa);
    opacity: 0.2;
}
/* contact dark mode*/
body.dark-mode .contact-section {
    padding: 100px 20px;
    background: #0f172a; /* Dark slate */
    color: #f1f5f9; /* Light text */
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

body.dark-mode .contact-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f8fafc;
}

body.dark-mode .contact-content h2 span {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .contact-content p {
    font-size: 1.1rem;
    color: #cbd5e1; /* Light gray */
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

body.dark-mode .contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    font-weight: 600;
}

body.dark-mode .contact-btn:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    transform: translateY(-2px);
}
