    /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            max-width: 100%;
        }

        html {
            scroll-behavior: smooth;
            
        }

        body {
            line-height: 1.6;
            overflow-x: hidden;
            font-size: 16px;
             max-width: 100vw;
        }

html,body{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    
}



        #custom-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.custom-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.custom-logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.custom-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    animation: 
        customOrbitalRotation 4s ease-in-out infinite,
        customBreatheScale 3s ease-in-out infinite alternate;
}

.custom-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
}

@keyframes customOrbitalRotation {
    0%, 100% {
        transform: 
            rotate3d(0, 1, 0, 0deg) 
            rotate3d(1, 0, 0, 0deg)
            scale(1);
    }
    25% {
        transform: 
            rotate3d(0, 1, 0, 90deg) 
            rotate3d(1, 0, 0, 45deg)
            scale(1.1);
    }
    50% {
        transform: 
            rotate3d(0, 1, 0, 180deg) 
            rotate3d(1, 0, 0, 90deg)
            scale(1);
    }
    75% {
        transform: 
            rotate3d(0, 1, 0, 270deg) 
            rotate3d(1, 0, 0, 45deg)
            scale(0.9);
    }
}

@keyframes customBreatheScale {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

.custom-loading-text {
    color: #E5E7EB;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.custom-loading-text span {
    display: inline-block;
    animation: customTextWave 1.5s ease-in-out infinite;
}

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

.custom-loading-text span:nth-child(1) { animation-delay: 0s; }
.custom-loading-text span:nth-child(2) { animation-delay: 0.1s; }
.custom-loading-text span:nth-child(3) { animation-delay: 0.2s; }
.custom-loading-text span:nth-child(4) { animation-delay: 0.3s; }
.custom-loading-text span:nth-child(5) { animation-delay: 0.4s; }
.custom-loading-text span:nth-child(6) { animation-delay: 0.5s; }

/* Optional Glow Effect */
.custom-logo img {
    filter: 
        drop-shadow(0 0 15px rgba(239, 68, 68, 0.4)) 
        brightness(1.2);
}

/* Orbital Background Effect */
.custom-orbital-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(
        circle, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(239, 68, 68, 0.05) 50%, 
        transparent 70%
    );
    animation: 
        customPulseBackground 3s ease-in-out infinite alternate,
        customRotateBackground 10s linear infinite;
    z-index: -1;
}

@keyframes customPulseBackground {
    0% { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}

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

        .cont {
            display: flex;
            margin: 0 auto;
            gap: 2rem;
        }

        .container-ab {
            display: flex;
            gap: 3rem;
            margin: 0;
        }

 .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 0rem;
        }


        /* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;  /* Adjusted padding for better spacing */
    z-index: 1000;
    transition: background-color 0.3s, padding 0.3s;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better contrast */
    padding: 1rem 1.5rem; /* Reduced padding for a more compact look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Increased shadow for depth */
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 5rem;
    height: auto;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
    font-size: 16px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FD151B;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #FD151B;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 4px;
    background-color: white;
    width: 100%;
    border-radius: 4px;
}

/* Mobile Navigation */
.nav-links.mobile {
    display: none;
}

.nav-links.mobile.active {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    padding: 2rem;
    justify-content: flex-start;
    z-index: 1001;
    border-radius: 0 0 24px 24px;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: -70px;
        left: -20%;
        width: 60%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease-in-out;
        padding: 4rem;
        border-radius: 0 12px 12px 0;
    }

    .nav-links.active {
        display: flex;
        margin: 5rem;
        border-radius: 16px;
    }

    .hamburger {
        display: flex;
    }

    #hero {
        height: 135vh;
    }

    #about{
        height: 170vh;
    }

    #services{
        height: 142vh;
    }

    #portfolio{
        height: 190vh;
    }

    #testimonials{
        height: 137vh;
    }
    
}

        /* Sections */
       section {
  min-height: 100vh;
  padding: 5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.section-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: block;
}

.section-contents {
    max-width: 1400px;
    margin: 0 0 0 8rem; /* Remove the fixed margin-left */
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 789px; /* Change height to min-height */
    align-items: center;
    justify-content: center;
    padding: 0 2rem; /* Add padding instead of margin */
}

.section-content h2{
    font-size: 3rem;
    margin-bottom: 3rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-content {
    margin: 1rem auto; /* Center content */
    position: relative;
    z-index: 2;
    flex: 1.8;
    padding: 0 2rem; /* Add padding instead of fixed margins */
    display: flex;
    align-items: center;
    flex-direction: column;
}

#hero {
  background-image: url('images/20.webp');
  color: white;
  text-align: center;
}

.image-section {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.gradient-image1, .gradient-image2:nth-child(1) {
            animation: slideIn 0.8s ease forwards 0.2s;
        }

        .gradient-image:nth-child(2) {
            background: linear-gradient(45deg, #a8e6cf, #3498db);
            animation: slideIn 0.8s ease forwards 0.4s;
        }

        @keyframes slideIn {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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


.gradient-image1, .gradient-image2 {
    height: 300px;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 4rem 5rem -2rem 4rem;
    max-width: 90%;
    background-size: cover;
    background-position: center;
    animation: float 6s ease-in-out infinite;
}

.gradient-image1 {
  background: url('./images/Figure Seven.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}

.gradient-image2 {
  background: url('./images/55.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}

.gradient-image1:hover, .gradient-image2:hover {
  transform: scale(1.02);
}

.hero-title {
  font-size: 7rem;
  margin-bottom: 1rem;
  opacity: 1;
}

.hero-pretitle {
  font-size: 1.2rem;
  opacity: 1;
}
        
.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  margin-top: -2rem;
  opacity: 1;
}

.cta.container{
    margin-bottom:0rem;
}

.cta-button {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  opacity: 1;
  border-radius: 32px;
  margin-top: 3rem;
  width: 100%;
}

.cta-button:hover {
  background: white;
  color: #333;
  transform: translateY(-5px);
}

.cta-butto {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  opacity: 1;
  border-radius: 32px;
  margin-top: 0rem;
  width: fit-content;
}

.cta-butto:hover {
  background: white;
  color: #333;
  transform: translateY(-5px);
}

.cta-butt {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    opacity: 1;
    border-radius: 32px;
    margin-top: 2rem;
    width: fit-content;
    display: flex;
    margin-left: 22rem;
}

.cta-butt:hover {
  background: white;
  color: #333;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  section {
    flex-direction: column;
    padding: 3rem 1rem;
  }

  .hero-content {
    margin: 25rem 0rem 0rem;
    text-align: center; /* Centers text on smaller screens */
  }

  .image-section {
    flex: unset; /* Removes flex-basis */
    margin: 2rem 0rem 20rem;
        display: flex;
        flex-direction: row;
        gap: 1rem;
  }

  .gradient-image1, .gradient-image2 {
    margin: 0 auto; /* Centers the images */
    height: 250px; /* Reduces image height for small screens */
  }

  .hero-title {
    font-size: 2.5rem; /* Smaller title size */
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem; /* Adjust subtitle font size */
  }

  .cta-button {
    font-size: 1rem; /* Slightly smaller button */
    padding: 0.8rem 1.5rem;
  }
}




        /*About Section*/
         #about {
            background-image: url('images/1.webp');
            color: white;
            text-align: center;
            background-attachment: fixed;
             height: 100vh;
        }
            .about{
                margin: 0px 6rem 0rem 6rem;
        padding: 1rem;
        display: flex;
        justify-content: center;
        border: 2px solid white;
        font-size: 1.3rem;
            }


        /*New skills*/
         .containers {
            backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 50px;
            width: 100%;
            max-width: 900px;
            box-shadow: 
                0 30px 60px rgba(0,0,0,0.4),
                0 0 120px rgba(73,93,237,0.3);
            transform-style: preserve-3d;
            transform: rotateX(10deg) rotateY(-5deg);
            transition: all 0.5s ease;
                 margin-right: 0rem;
        }

        .containers:hover {
            transform: rotateX(0) rotateY(0) scale(1.02);
            box-shadow: 0 25px 50px rgb(53 9 3),
                        0 0 100px rgb(124 19 7);
           
        }

        .header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 4px;
            background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
        }

        .header h1 {
            font-size: 3em;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #00f0ff, #4ecdc4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 20px rgba(78,205,196,0.5);
            position: relative;
            animation: glitch 2s infinite;
        }

        @keyframes glitch {
            2%, 64% { transform: translate(2px, 0) skew(0deg); }
            4%, 60% { transform: translate(-2px, 0) skew(0deg); }
            62% { transform: translate(0, 0) skew(5deg); }
        }

        .header p {
            color: rgba(255,255,255,0.7);
            line-height: 1.6;
            letter-spacing: 1px;
        }

        .skills {
            margin-top: 40px;
        }

        .skill {
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 1s ease;
        }

        .skill.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .skill-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .skill-name {
            color: #91e6e7;
            font-weight: 600;
            letter-spacing: 2px;
            text-shadow: 2px 1px black;
        }

        .skill-percentage {
            color: #4ecdc4;
            font-weight: 700;
        }

        .skill-bar {
            height: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, #00adb8, #07e3f0);
            border-radius: 4px;
            transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
        }

        .skill-progress::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }

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

        .tools {
            margin-top: 0px;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .tools h3 {
           margin-bottom: 20px;
           color: #00f0ff;
           letter-spacing: 2px;
           text-transform: uppercase;
           text-shadow: 2px 1px rgb(0 0 0 / 80%);
        }

        .tool-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tool-tag {
            background: rgba(22, 33, 62, 0.5);
            padding: 10px 18px;
            border-radius: 20px;
            font-size: 0.9em;
            color: rgba(255,255,255,0.7);
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .tool-tag:hover {
            background: rgba(22, 33, 62, 0.8);
            border-color: #00f0ff;
            transform: scale(1.05);
        }


        /* Skills Section */
         #skills {
            background-image: url('images/26.webp');
            color: white;
            text-align: center;
            background-attachment: fixed;
             height: 100vh;
        }


        
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding: 2rem;
            display: flex;
            flex-wrap: wrap;
            width: 1800px;
           justify-content: center;
        }

        .skill-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(50px);
            opacity: 0;
            transition: transform 0.3s;
        }

        .skill-card:hover {
            transform: translateY(-5px);
        }

        .progress-bar {
            width: 100%;
            height: 10px;
            background: #eee;
            border-radius: 5px;
            margin-top: 1rem;
            overflow: hidden;
        }

        .progress {
            width: 0;
            height: 100%;
            background: #333;
            transition: width 1s ease-out;
        }

        /* Portfolio Section */
         #services {
            background-image: url('images/2 (1).webp');
            color: white;
            text-align: center;
            background-attachment: fixed;
             height: 100vh;
        }

        
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            padding: 2rem;
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            opacity: 0;
            transform: translateY(50px);
        }

        .portfolio-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }

        .portfolio-overlay {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100%;
            padding: 1rem;
            background: rgba(0,0,0,0.8);
            color: white;
            transition: bottom 0.3s;
        }

        .portfolio-item:hover .portfolio-overlay {
            bottom: 0;
        }


.port-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
.port-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            transition: all 0.4s ease;
        }
.port-grid {
            display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0rem;
    width: 800px;
    height: 600px;
        }


/*services*/
.servicecontainer {
   width: 80rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0rem 1rem;
    height: 500px;
    margin: 0 13px 17px -111px;
    margin-top: 3rem;
}

.glass-section {
    flex: 1;
    max-width: 660px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05), inset 0 0 15px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    min-height: fit-content;
    height: 30rem;
}


.service-icon {
    width: 100%; /* Set the size of the image */
    height: 75px;
    margin-bottom: 1.5rem;
    object-fit: contain; /* Ensure the image keeps its aspect ratio */
    display: inline-block;
    transform: translateZ(50px);
}
.section-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.title{
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 10rem;
    margin-right: 7rem;
}
@media screen and (max-width: 768px) {
    .title {
        margin-right: 0; /* Remove margin on smaller screens */
    }
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(to right, var(--text-primary), rgba(224, 224, 255, 0.7));
    -webkit-background-clip: text;
    text-align: center;
}

.section-description {
    ccolor: rgb(248 231 231);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}





        #portfolio {
    background: url(images/beach2tone.webp);
    color: white;
    text-align: center;
    background-attachment: fixed;
    background-size: contain;
    height: 100vh;
    width: 100vw;
}

         #testimonials {
            background-image: url('images/63.webp');
            color: white;
            text-align: center;
            background-attachment: fixed;
             height: 100vh;
        }

        /* Contact Section */
        #contact {
            background-image: url('images/60.webp');
            color: white;
            text-align: center;
            background-attachment: fixed;
            height: 100vh;
        }
        
        .contact-form {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            max-width: 500px;
            width: 100%;
            opacity: 0;
            transform: translateY(50px);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #333;
            outline: none;
        }

        /* Footer */
        footer {
            background: #0e0e0e;
            color: white;
            padding: 2rem;
            text-align: center;
        }

        .social-links {
            display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;

    }

    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .social-link:hover {
        color: red;
        transform: scale(1.1);
    }

        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #333;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
        }

        .back-to-top.visible {
            opacity: 1;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }
        }


.carousel-container {
      width: 80%;
      max-width: 1400px;;
      position: relative;
      overflow: hidden;
      border-radius: 32px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
      height: 684px;
    }

    .carousel {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .carousel-item {
      min-width: 100%;
      height: 100%;
    }

    .carousel-item img {
  width: 100%;
  height: 480px;
  border-radius: 15px;
  object-fit: contain; /* Ensures the image fills the container without distortion */
}


    /* Minimalistic Navigation buttons */
    .prev, .next {
      position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 8px 0 0 0px;
    cursor: pointer;
    font-size: 2rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.5;
    }

    .prev:hover, .next:hover {
      background-color: rgba(255, 255, 255, 0.1);
      opacity: 1;
    }

    .prev {
      left: 10px;
     width: 4rem;
     height: 4rem;
    }

    .next {
      right: 10px;
     width: 4rem;
     height: 4rem;
    }

    /* Indicators */
    .indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }

    .indicator {
      width: 15px;
      height: 15px;
      background-color: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .indicator.active {
      background-color: #fff;
    }

    .indicator:hover {
      background-color: #ddd;
    }

    /* Pause on Hover */
    .carousel-container:hover .carousel {
      animation-play-state: paused;
    }

    /* Touch/Drag Support */
    .carousel-container {
      touch-action: none;
    }





/* Center the Entire Section */
#skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1rem;
}

/* Heading Styling */
.section-heading {
  font-weight: bold;
  color: #ffffff;
}

/* Carousel Styling */
.carousel-container {
  width: 80%;
  max-width: 1400px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  margin-top: -3rem;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: auto;
}

.carousel-item img {
  width: 100%;
  height: 480px;
  border-radius: 15px;
  object-fit: contain;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  z-index: 10;
  transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #fff;
}

.indicator:hover {
  background-color: #ddd;
}

.cta-container {
  margin-top: 0rem;
  margin-bottom: 4rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .section-heading {
    font-size: 2rem;
  }
    

  
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .section-heading {
    font-size: 2rem;
  }

  .cta-container {
  margin-top: 0rem; /* Space between the carousel and the button */
      margin-bottom: 18rem
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* General Responsive Section */


/* Tablet Devices */
@media (max-width: 768px) {
  .carousel-container {
    width: 95%;
    
    display: flex;
    height: 500px;
  }
  
  .carousel-item img {
    height: 500px;
  }

  .prev, .next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .indicators {
    bottom: 10px;
    gap: 5px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }

    .cta-container {
  margin-top: 0rem; /* Space between the carousel and the button */
            margin-bottom: 18rem
}

    cta.butto {
        padding: 0rem 2rem;
    }
}



        .gradient-text {
            background: linear-gradient(90deg, #fff, #939393);
            -webkit-background-clip: text;
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 0rem;
        }

        .description {
            color: #9ca3af;
            font-size: 1.25rem;
            max-width: 30rem;
            margin: 0 auto 2rem;
        }

        .contact-btn {
            display: inline-block;
            background: transparent;
            border: 2px solid #4fcdef;
            color: #4fcdef;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            font-size: 1.125rem;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .contact-btn:hover {
            background-color: #4fcdef;
            color: #0a0f1b;
        }

.image-container {
    background: url('images/3 (1).webp');
    border: 1px solid rgba(79, 205, 239, 0.2);
    height: 435px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    background-size: contain;
    width: 100%;
    margin-left: 0rem;
}

        }

        .image-placeholder {
            color: #9ca3af;
            font-size: 1.25rem;
        }

        @media (max-width: 768px) {
            .grid {
                text-align: center;
                width: 20rem;
                margin-top: 0rem;
                margin-bottom: 4rem;
            }

            .description {
                margin: 0 auto 1.5rem;
            }

            .content {
                   text-align: center;
                width: 27rem;
                margin-left: 0rem;
                order: 1;
}

            .image-container {
                order: 2;
                margin-left: 0rem;
}
            }
        }

.red-text {
  color: red !important;
  -webkit-text-fill-color: red !important;
}


.custom-icon {
    font-size: 6rem;
    border: 5px solid #fd151b;
    height: 4rem;
    margin-top: 5rem;
    padding: 8rem 2rem 6rem 2rem;
    margin-bottom: 4rem;
}


/*testimonial*/

.c {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .section-wrapper {
            display: flex;
            gap: 7rem;
            flex-wrap: wrap;
        }

        .left-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0rem;
            margin-left: 0rem;
            margin-bottom: 0rem;
        }

.right-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            height: 40rem;
            width: 1200px;
            margin-left: 0rem;
    }

        .image {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            margin-top: 3rem;
        }

        .image img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            filter: brightness(0.7);
            transition: transform 0.3s ease;
        }

        .image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .image:hover img {
            transform: scale(1.05);
        }

        .card {
    background-color: #00000029;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: -3rem;
    backdrop-filter: blur(7px);
}

        .testimonial-header,
        .project-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .testimonial-header img,
        .project-header .icon-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
        }

        .project-header .icon-circle {
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .rating {
            color: #f1c40f;
            margin-top: 1rem;
        }

        /* Medium Screens (Tablets) */
.flex{
    display: flex;
}


.section-con {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 60rem;
    justify-content: space-evenly;
    margin: 0rem auto;
}

.margin{
    margin-top: 0rem;
}

.contain {
      display: flex;
      justify-content: center;
      gap: 2rem;
      width: 100%;
      height: 28rem;
    }

    /* Artistic Contact Text */
    .text-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    h2 {
      font-size: 2rem;
      color: #fff;
      font-weight: 600;
      margin-bottom: 0rem;
      line-height: 1.2;
    }

    h2 span {
      color: #fff;
      display: block;
    }

    p {
      color: #fff;
      line-height: 1.8;
    }

    /* Glassmorphism Card */
    .form-container {
      background: rgb(141 77 77 / 20%);
      border-radius: 12px;
      padding: 2rem;
      backdrop-filter: blur(8px);
      border: 2px solid rgba(255, 255, 255, 255);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .form-container:hover {
      transform: scale(1.02);
    }

    input {
      width: 100%;
      padding: 10px;
      border: none;
      border-bottom: 2px solid #e2e8f0;
      background: transparent;
      color: #2d3748;
      font-size: 1rem;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }

    input:focus {
      outline: none;
      border-color: #1a202c;
    }

    .send-icon {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    input:hover + .send-icon {
      opacity: 1;
    }

    button {
      width: 100%;
      padding: 12px;
      background-color: #1a202c;
      color: white;
      font-size: 1.1rem;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    button:hover {
      background-color: #2d3748;
    }

    button:active {
      transform: scale(0.95);
    }

    .alert-text {
      font-size: 0.875rem;
      color: #4a5568;
      text-align: center;
      margin-top: 12px;
    }

    .alert-text svg {
      color: #e53e3e;
      margin-right: 8px;
    }

/* Improved Responsive Styles */






/* Additional Mobile-First Improvements */
* {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ensure touch targets are large enough */
a, button, .nav-links a {
    min-height: 44px;
    min-width: 44px;
    padding: 10px;
}



/* Responsive Adjustments */


@media screen and (max-width: 768px) {
    .title {
       margin-top: 4rem;
        font-size: 2rem;
        margin-bottom: 2rem;
        margin-left: 0rem;
    }

    .service-icon {
        width: 80px;
        margin-left: 8rem;
    }

    .cta-button {
        padding: 8px 16px;
        margin-top: 1rem;
    }

    .section-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: 0rem;
}

    .section-contents {
    max-width: 450px;
    margin: 0px 0 0 0rem;
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 789px;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}
}



@media (max-width: 1024px) {
  .carousel-container {
    width: 90%;
    height: 500px; /* Reduce height on smaller screens */
    display: flex;
  }
  
  .carousel-item img {
    height: 500px;
    object-fit: contain;
  }

  .prev, .next {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }

    .cta-container {
  margin-top: 0rem; /* Space between the carousel and the button */
            margin-bottom: 18rem
}

     #hero {
        height: 100vh;
    }

    #about{
        height: 195vh;
        display: grid;
    }

    #services{
        height: 120vh;
    }

    #portfolio{
        height: 125vh;
    }

    #testimonials{
        height: 100vh;
    }

    .card {
        margin-top: 0rem;
    }

    .contain {
        margin: auto;
    }
}






@media (min-width: 769px) and (max-width: 1024px)  {
            .port-grid{
                grid-template-columns: 1fr;
                width: 355px;
                height: 1000px;
            }

           .section-contents {
    max-width: 450px;
    margin: 0px 0 0 0rem;
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 789px;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

    .section-contents {
    max-width: 450px;
    margin: 0px 0 0 0rem;
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 789px;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}
    }



    @media (min-width: 769px) and (max-width: 1024px)  {
    /* Adjust for tablets and smaller screens */
    .cont, .container-ab {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content {
        align-items: center;
        gap: 15rem;
        justify-content: center;
        margin: 0;
        max-width: 52rem;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero-content {
        margin-top: 8rem;
    }

    .image-section {
        margin-bottom: 8rem;
        gap: 1rem;
        align-items: center;
        flex-direction: row;
        justify-content: center;
        height: 500px;
    }

    .about {
        margin: 0rem 0rem 8rem 0rem;
    }

    .section-content h2 {
        margin-bottom: 0;
        margin-top: 16rem;
    }

    .containers {
         padding: 150px;
            margin-top: 0rem;
    height: 74rem;
    }

    .skills {
        margin-top: -6rem;
    }

    .tool-tags {
            flex-direction: column;
    }

    section {
        padding: 2rem 1rem;
        min-height: auto;
        align-items: normal;
    }

    .section-content, .section-contents {
        padding: 0 0rem;
    }

    .section-content h2 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
        margin-top: 4rem;
    }

    .gradient-image1, .gradient-image2 {
       margin: 0rem 0rem 0rem 0rem;
            margin-bottom: 0rem;
        width: 50%;
        height: 400px;
    }

    h2 {
      font-size: 1.5rem;
      color: #fff;
      font-weight: 600;
      margin-bottom: -1rem;
      line-height: 1.2;
    }

    .section-content {
    margin: 0 0 0 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .flexbox {
        margin-right: 0rem;
        margin-top: 0rem;
        margin-bottom: 0rem;
        width: 600px;
        margin-left: 0rem; 
    }

    .carousel-container {
        margin-top: 0rem;
    }

    .title {
            margin-bottom: 1rem;
    margin-top: 5rem;
    margin-right: 0rem;
    }

        .servicecontainer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
            padding: 0rem 0rem;
    height: 700px;
    margin: 0 0px 0px 0;
    margin-top: 3rem;
}
    
    .glass-section {
        margin-left: 0rem;
            max-width: 600px;
        padding: 3rem;
        }

    .section-contents {
    margin: 0 0 0 0rem;
    }
    
}









/* Tablet (768px and below) */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 1rem;
  }

  .content {
    width: 100%;
  }

  .gradient-text {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .image-container {
    height: 350px;
  }
}



/* Tablets (768px and below) */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem; /* Reduce padding for smaller screens */
    }
    
    .navbar.scrolled {
        padding: 0.8rem 1rem;
        background: rgba(0, 0, 0, 0.7); /* Darker background for clarity */
    }
}




/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 1.5rem;
    }

    .logo img {
        max-width: 4rem; /* Slightly smaller logo for tablets */
    }

    .nav-links {
        gap: 1rem; /* Reduce space between links */
    }

    .flex{
        display: block;
    }

        .carousel-item img {
        height: auto;
        object-fit: contain;
    }
}


@media (min-width: 769px) and (max-width: 992px) {
    .section-con {
        max-width: 90%;
        margin: 0rem auto;
        height: 60rem;
    }

    .section-wrapper {
        gap: 5rem;
    }

    .left-column, .right-column {
        width: 100%;
        margin-left: 0;
        height: auto; /* Allow dynamic height */
    }

    .image img {
        height: 250px; /* Reduce height for smaller screens */
    }

    .custom-icon {
        font-size: 4rem;
        padding: 3rem 1rem 4rem 1rem;
        margin-top: 10rem;
    }

    .text-container {
    margin-top: 3rem;
}
    .contain{
        height: 27rem;
    }

    .text-container {
    margin-left: 0rem;
        }

    .card {
    margin-bottom: 0rem; 
    margin-top: 0rem;
}
}






@media (min-width: 769px) and (max-width: 992px) {
    .servicecontainer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .text-container {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .flexbox{
            margin-right: 0rem; 
            margin-top: 0rem;
            margin-bottom: 0rem;
            width: 600px;
    }

    .section-content h2 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
        margin-top: 4rem;
}

    .content {
        margin-bottom: 4rem;
    }
}








@media (min-width: 769px) and (max-width: 992px) {
    section {
        padding: 3rem 1rem;
    }

    .servicecontainer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .glass-section {
        margin-left: -3rem;
        width: 177%;
         min-width: auto;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    #about {
          height: 210vh;
    }
}






/* Mobile (480px and below) */
@media (max-width: 480px) {
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1rem;
    }

    .logo img {
        max-width: 4rem; /* Smaller logo for mobile */
    }

    .nav-links {
        display: none; /* Hide links on mobile, enable toggle menu if needed */
    }

    .flex{
        display: block;
    }
}



/* Mobile (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem; /* Compact padding */
    }
    
    .navbar.scrolled {
        padding: 0.6rem 0.8rem; /* Even smaller padding for mobile */
        background: rgba(0, 0, 0, 0.85); /* Higher opacity for readability */
    }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .gradient-image1, .gradient-image2 {
    height: 200px; 
    width: 300px;
  }

    .section-con {
        margin-top: 0rem;
    }

  .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

    .sectioin-wrapper {
        flex-direction: column;
    }

    .c {
        width: 400px;
    }

    .custom-icon {
        margin-top: 4rem;
        margin-bottom: 1rem;
    }

     #hero {
        height: 100vh;
    }

    #about{
        height: 215vh;
    }

    #services{
        height: 142vh;
    }

    #portfolio{
        height: 175vh;
    }

    #testimonials{
        height: 100vh;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
  .carousel-container {
    width: 100%;
    height: 100vh;
  }
  
  .carousel-item img {
    height: 40vh;
  }

  .prev, .next {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .indicators {
    bottom: 5px;
    gap: 3px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

    .cta-container {
  margin-top: 3rem; 
      margin-bottom: 10rem
}
}

.flexbox{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 0rem;
}

/*contact*/
.co {
            max-width: 1800px;
            margin: 0 -35rem;
            padding: 0 20px;
            display: flex;
            align-items: center;
        }

        .grid {
        display: grid;
        gap: 0rem;
        width: 1600px;
        justify-items: center;
        align-items: center;
        justify-content: center;
        margin-left: 0rem;
        margin-top: 1rem;
        }

        .content {
   text-align: center;
    width: 345px;
    margin-right: 0rem;
    margin-top: 0rem;
    padding: 0rem 0rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 2rem;
}
}

@media (max-width: 480px) {
    /* Ultra-small screens */
    .hero-title {
        font-size: 2.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .tool-tags {
        justify-content: center;
    }

    .tool-tag {
        padding: 8px 12px;
        font-size: 0.8em;
    }
    .section-content h2 {
     font-size: 2.3rem;
        margin-bottom: 1rem;
        margin-top: 4rem;
}
}




/* Mobile (480px and below) */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
          margin-top: -18rem;
  }

    .left-column {
        display: none;
    }

    .right-column {
        margin-left: -1.3rem;
    }

    .port-grid {
        display: flex;
        margin-top: 0rem;
        flex-direction: column;
        height: 930px;
        width: 330px;
    }

    .cont {
        flex-direction: column;
    }

    .servicecontainer {
    /*width: 80rem; */
    flex-direction: column;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0rem 1rem;
    height: 500px;
    margin: 0 0 0 0;
    margin-top: 3rem;
}
    

    .carousel-item img {
    height: 225px;
    object-fit: contain;
  }


  .content {
    width: 100%;
  }

  .gradient-text {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.7rem 2.2rem;
    width: 100%;
  }

  .image-container {
    height: 300px;
    width: 100%;
  }

    .section-content {
        height: 670px;
        width: 365px;
        margin: 0rem 0rem 0rem;
        padding: 1rem 1rem 1rem 1rem; 
    }

    .containers {
        height: 760px;
        width: 365px;
        margin: 0rem 0rem 0rem;
        padding: 1rem 1rem 3rem 1rem;
    }

    .about {
            margin: 0rem 6rem 0rem 0rem;
            width: 335px;
    }
}











