
        /* Base Styles & Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-color: #2563eb;
            --secondary-color: #0ea5e9;
            --accent-color: #06b6d4;
            --dark-color: #1e293b;
            --light-color: #f8fafc;
            --text-color: #334155;
            --success-color: #10b981;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-color);
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        section {
            padding: 5rem 0;
        }
        
        h1, h2, h3, h4 {
            color: var(--dark-color);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }
        
        h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            border-radius: 2px;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .btn:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
        }
        
        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
        }
        
        /* Top Contact Bar */
        .top-contact-bar {
            background-color: var(--dark-color);
            color: white;
            padding: 10px 0;
            font-size: 0.9rem;
        }
        
        .contact-info {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-right: 20px;
        }
        
        .contact-item i {
            margin-right: 8px;
            color: rgb(211, 0, 0);
        }
        
        /* Navigation */
        .navbar {
            position: sticky;
            top: 0;
            background-color: rgb(255, 255, 255);
            box-shadow: 0 2px 10px rgb(74, 107, 255);
            z-index: 1000;
            padding: 15px 0;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-weight: 700;
            font-size: 1.5rem;
            color: rgb(255, 255, 255)
        }
        
        .logo-img {
            width: 40px;
            height: 40px;
            margin-right: 10px;
            /* background-color: var(--primary-color); */
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-item {
            margin-left: 30px;
        }
        
        .nav-link {
            color: rgb(0, 0, 0);
            font-weight: 500;
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .hamburger {
            display: none;
            cursor: pointer;
        }
        
        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            background-color: var(--dark-color);
            transition: all 0.3s ease;
        }
        
        /* Hero Section */

        /* Services Section */
        .services {
            background-color: white;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 3rem;
        }
        
        .service-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .service-img {
            height: 200px;
            overflow: hidden;
        }
        
        .service-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .service-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .service-desc {
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        /* Technologies Section */
        .technologies {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
        }
        
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 3rem;
        }
        
        .tech-item {
            background: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .tech-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .tech-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        .tech-name {
            font-weight: 600;
            color: var(--dark-color);
        }

        /* Projects Section */
.projects-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  margin-bottom: 3rem;
}

.projects-section h2 {
  text-align: center;
  color: #005fa3;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: #0077cc;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.project-desc {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: #e6f0ff;
  color: #0077cc;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-link {
  color: #0077cc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #005fa3;
  text-decoration: none;
}

.projects-cta {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-link {
  color: #0077cc;
  font-weight: 600;
  text-decoration: underline;
}

.cta-link:hover {
  color: #005fa3;
}

/* Animation delays for project cards */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Responsive design for projects */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    margin: 0 1rem;
  }
  
  .project-tech {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 3rem 0;
  }
  
  .projects-section h2 {
    font-size: 2rem;
  }
  
  .project-content {
    padding: 1rem;
  }
}



        
        /* Contact Form */
        .contact {
            background-color: white;
        }
        
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .contact-info-box {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 40px;
            border-radius: 10px;
            height: fit-content;
        }
        
        .contact-info-box h3 {
            color: white;
            margin-bottom: 30px;
        }
        
        .contact-detail {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }
        
        .contact-icon {
            margin-right: 15px;
            font-size: 1.2rem;
            color: white;
            min-width: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark-color);
        }
        
        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        textarea.form-input {
            min-height: 150px;
            resize: vertical;
        }
        
        /* Footer */
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .footer-about p {
            margin-bottom: 20px;
            opacity: 0.8;
        }
        
        .footer-heading {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--accent-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-link-item {
            margin-bottom: 12px;
        }
        
        .footer-link {
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
        }
        
        .footer-link:hover {
            color: white;
            padding-left: 5px;
        }
        
        .footer-contact-item {
            display: flex;
            margin-bottom: 15px;
        }
        
        .footer-contact-icon {
            margin-right: 15px;
            color: var(--accent-color);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
            font-size: 0.9rem;
        }
        
        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .animate {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        .animate.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            h2 {
                font-size: 2rem;
            }
            
            .hero-heading {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            
            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                gap: 0;
                flex-direction: column;
                background-color: white;
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                padding: 20px 0;
            }
            
            .nav-item {
                margin: 16px 0;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .hero-content {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-text {
                padding-right: 0;
                margin-bottom: 40px;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .contact-info {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            .contact-item {
                margin-right: 0;
            }
        }
        
        @media (max-width: 576px) {
            section {
                padding: 3rem 0;
            }
            
            .hero {
                padding: 5rem 0;
            }
            
            .hero-heading {
                font-size: 2rem;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }
#mailtolink {
    color: white;
}

.site-name {
  font-family:fantasy;
  color: var(--dark-color);; /* deep blue-gray for good contrast on white */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* subtle shadow */
  border-bottom: 2px solid #2c3e50; /* matching underline */
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;

}
.site-name:hover {
  color:  #9c36a5;; /* slightly darker on hover */
  border-bottom-color: #9c36a5;
  text-shadow: 2px 2px 6px rgba(26, 39, 51, 0.3);
}









/* Hover effect: brighten and lift */
.contact-form:hover {
  filter: brightness(1.05);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Labels: color and smooth transition */
.form-label {
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Inputs and textarea: base styles with animated subtle background gradient */
.form-input {
  border: 1.5px solid #ccc;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  color: #333;
  background: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 3s ease;
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: bgPulse 8s ease-in-out infinite;
}

/* Focus effect: glowing border, subtle shadow, and background highlight */
.form-input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
  color: #000;
  background: linear-gradient(270deg, #e0f0ff, #ffffff);
  background-size: 400% 400%;
  animation: bgFocusPulse 4s ease-in-out infinite;
}

/* Button: gradient background with subtle moving light effect */
.btn {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  cursor: pointer;
  user-select: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  border-radius: 50px; /* keep shape consistent */
}

/* Button hover: darker gradient, stronger shadow, slight lift */
.btn:hover {
  background: linear-gradient(135deg, #0056b3, #232a32);
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.6);
  transform: translateY(-2px);
}

/* Button active press effect */
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.4);
}

/* Button subtle moving light shine animation */
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.15) 100%);
  transform: rotate(25deg);
  animation: shineMove 3s linear infinite;
  pointer-events: none;
  border-radius: 50px;
  z-index: 1;
}

.form-label {
  color: rgb(25, 0, 167);
}



















.tech-item.animate {
  background: linear-gradient(135deg, #da1fda 0%, #05918c 100%);
  color: rgb(255, 255, 255);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  animation-name: float;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, box-shadow;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  user-select: none;
}

.tech-item.animate .tech-icon {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.tech-item.animate:hover {
  box-shadow: 0 25px 40px rgb(0, 0, 0);
  transform: translateY(-15px) scale(1.05);
}
.tech-name {
    color: rgb(0, 179, 255);
}

.hero {
  position: relative;
  overflow: hidden; /* Important to hide bubbles outside */
  background: #0a0a23; /* Optional: dark background to see bubbles clearly */
  color: white; /* Optional: text color */
}

/* Bubbles container */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* So bubbles don't block clicks */
  z-index: 0; /* Behind content */
}

/* Bubble style */
.bubble {
  position: absolute;
  bottom: -50px; /* Start below the hero section */
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  opacity: 0.6;
  animation-name: floatUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Different sizes, positions, durations, and delays */
.bubble:nth-child(1) {
  width: 15px;
  height: 15px;
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 10px;
  height: 10px;
  left: 25%;
  animation-duration: 6s;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  width: 20px;
  height: 20px;
  left: 40%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.bubble:nth-child(4) {
  width: 12px;
  height: 12px;
  left: 55%;
  animation-duration: 7s;
  animation-delay: 1s;
}

.bubble:nth-child(5) {
  width: 18px;
  height: 18px;
  left: 70%;
  animation-duration: 9s;
  animation-delay: 3s;
}

.bubble:nth-child(6) {
  width: 14px;
  height: 14px;
  left: 85%;
  animation-duration: 8s;
  animation-delay: 5s;
}

.bubble:nth-child(7) {
  width: 11px;
  height: 11px;
  left: 15%;
  animation-duration: 6.5s;
  animation-delay: 2.5s;
}

.bubble:nth-child(8) {
  width: 16px;
  height: 16px;
  left: 35%;
  animation-duration: 9.5s;
  animation-delay: 1.5s;
}

.bubble:nth-child(9) {
  width: 13px;
  height: 13px;
  left: 60%;
  animation-duration: 7.5s;
  animation-delay: 4.5s;
}

.bubble:nth-child(10) {
  width: 10px;
  height: 10px;
  left: 80%;
  animation-duration: 8.5s;
  animation-delay: 3.5s;
}

/* Animation keyframes */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

/* Ensure hero content is above bubbles */
.hero-content {
  position: relative;
  z-index: 1;
}

.services {
  background-color: #546b8b;
}
#ourservices {
  color: white;
}
#technologies {
  background-color: rgb(157, 164, 227);
}

/* Background gradient for contact section */
#contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #a3b1c6 0%, #0a1a2a 100%);
  color: white;
  padding: 60px 0;
}

/* Containers for rain and hail */
.rain, .hail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* so clicks pass through */
  z-index: 0; /* behind content */
  overflow: hidden;
}

/* Raindrop style: thin vertical lines */
.rain .raindrop {
  position: absolute;
  bottom: 100%; /* start above the container */
  width: 2px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  animation-name: fallRain;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Hail style: small circles */
.hail .hail-drop {
  position: absolute;
  bottom: 100%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation-name: fallHail;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Rain falling animation */
@keyframes fallRain {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* Hail falling animation */
@keyframes fallHail {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  100% {
    transform: translateY(90vh);
    opacity: 0;
  }
}
.tech-icon {
  color: black;
}
#projects {
  background-color: #1e293b;
}
#projecthead {
  color: white;
}
#toptext {
  color: white;
}
/* Animation class added by JS */
.wave-animated {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.wave-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.4),
    rgba(37, 99, 235, 0.6),
    rgba(59, 130, 246, 0.4),
    transparent
  );
  animation: waveMove 2.5s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Ensure button text is above the wave */
.wave-animated > * {
  position: relative;
  z-index: 2;
}

@keyframes waveMove {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}
 .nav-menu {
    list-style: none;
    display: flex;
    gap: 0px;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .nav-link {
    display: inline-block;
    padding: 6px 12px; /* minimal padding for balance */
    border: 1.5px solid rgba(0, 0, 0, 0.15); /* very light border */
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    transition: 
      border-color 0.3s ease, 
      background-color 0.3s ease, 
      box-shadow 0.3s ease,
      color 0.3s ease;
  }
  .nav-link:hover,
  .nav-link:focus {
    border-color: #1a73e8; /* bright blue */
    background-color: #e8f0fe; /* very light blue background */
    color: #1a73e8;
    box-shadow: 0 2px 6px rgb(64, 79, 99);
    outline: none;
  }

  
  @media (max-width: 600px) {
  .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .service-card {
    padding: 0.5rem !important; /* reduce padding */
  }

  .service-card .service-img img {
    width: 100% !important;
    height: auto !important;
    max-height: 120px; /* limit image height */
    object-fit: cover;
  }

  .service-card .service-content {
    padding: 0.3rem !important;
  }

  .service-card .service-title {
    margin-top: -75px !important;
    font-size: 1rem !important; /* smaller title */
    margin-bottom: 0.3rem !important;
  }

  .service-card .service-desc {
    font-size: 0.85rem !important; /* smaller description */
    margin-bottom: 0.5rem !important;
  }

  .service-card .btn {
    font-size: 0.8rem !important; /* smaller button text */
    padding: 0.3rem 0.6rem !important;
  }
}
@media (max-width: 600px) {
  /* Existing styles... */

  .service-card .service-img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .service-card .service-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
  cursor: pointer;
  will-change: transform, box-shadow, background-color;
}

.service-card:hover {
  background-color: #f0f8ff; /* subtle light blue background on hover */
  box-shadow:
    0 8px 16px rgba(0, 123, 255, 0.3),
    0 12px 24px rgba(0, 123, 255, 0.2),
    0 16px 32px rgba(64, 255, 226, 0.1);
  transform: scale(1.05);
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
  cursor: pointer;
  will-change: transform, box-shadow, background-color;
}

.service-card:hover {
  background-color: #f0f8ff; /* subtle light blue background */
  box-shadow:
    0 8px 16px rgba(0, 123, 255, 0.3),
    0 12px 24px rgba(0, 123, 255, 0.2),
    0 16px 32px rgba(0, 123, 255, 0.1);
  animation: shake 0.5s ease-in-out;
  animation-iteration-count: 1;
}
.error-message {
    font-size: 0.9em;
    color: red;
    margin-bottom: 5px;
}
.required {
    color: red;
    margin-left: 2px;
}
#custom-dev-card {
      width: 100%;
      max-width: 380px;
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
      text-align: center;
      padding: 30px;
      transition: all 0.4s ease;
      opacity: 0;
      transform: translateY(20px);
      animation: customFadeInUp 0.8s forwards 0.3s;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0 auto;
    }

    #custom-dev-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    #custom-dev-card__profile-image {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin: 0 auto 20px;
      overflow: hidden;
      border: 5px solid #f7f7f7;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      position: relative;
    }

    #custom-dev-card__profile-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      display: block;
    }

    #custom-dev-card:hover #custom-dev-card__profile-image img {
      transform: scale(1.05);
    }

    #custom-dev-card__name {
      font-size: 1.8rem;
      color: #2d3748;
      margin-bottom: 8px;
      font-weight: 700;
    }

    #custom-dev-card__title {
      color: #6629ff;
      font-size: 1rem;
      margin-bottom: 20px;
      font-weight: 500;
    }

    #custom-dev-card__description {
      color: #4a5568;
      line-height: 1.6;
      margin-bottom: 25px;
      text-align: center;
      font-size: 0.95rem;
    }

    #custom-dev-card__social-links {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 25px;
    }

    #custom-dev-card__social-link {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    #custom-dev-card__social-link:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

    #custom-dev-card__contact-btn {
      display: inline-block;
      padding: 12px 30px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
      cursor: pointer;
      user-select: none;
    }

    #custom-dev-card__contact-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

    /* Animation */
    @keyframes customFadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive */
    @media (max-width: 480px) {
      #custom-dev-card {
        padding: 20px;
      }

      #custom-dev-card__profile-image {
        width: 120px;
        height: 120px;
      }

      #custom-dev-card__name {
        font-size: 1.5rem;
      }
    }
    #developerabout {
      background-color: #94bdff;
    }
    #contactmyform {
      color: white;
      text-align: center;
    } 
    @media (max-width: 480px) {
  .contact-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon {
    font-size: 1.5rem; /* Adjust icon size if needed */
    margin-bottom: 0.3rem;
  }

  .contact-detail h4 {
    font-size: 1rem; /* Smaller heading on small screens */
    margin-bottom: 0.2rem;
  }

  .contact-detail p {
    font-size: 0.9rem; /* Smaller paragraph text */
    word-wrap: break-word; /* Ensure long text wraps */
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .site-name {
    font-size: 1.1rem; /* reduce font size to fit in one line */
    white-space: nowrap; /* prevent wrapping to next line */
    overflow: hidden;
    text-overflow: ellipsis; /* optional: add ellipsis if text is too long */
  }
}
@media (max-width: 480px) {
  .top-contact-bar .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem; /* reduce space between items */
  }

  .top-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* reduce space between icon and text */
    font-size: 0.85rem; /* smaller text */
    line-height: 1.1;
  }

  .top-contact-bar .contact-item i {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }

  .top-contact-bar .contact-item span {
    white-space: nowrap; /* keep text in one line */
    overflow: hidden;
    text-overflow: ellipsis; /* truncate if too long */
  }

  /* Optional: reduce padding/margin of the container */
  .top-contact-bar {
    padding: 4px 8px;
  }
}
