@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Nunito', sans-serif;
}

:root {
    --bg-color: #191f36;
    --snd-bf-color: #262B40;
    --text-color: #fff;
    --main-color: #59B2F4;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: default;
}

.navbar a {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 700;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-img img {
    width: 25vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.4rem);
    }
    100% {
        transform: translateY(0);
    }
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--snd-bf-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background: var(--snd-bf-color);
    padding: 5rem 10%; /* Add padding for better spacing */
}

.about-img img {
    width: 25vw;
}

.about-content {
    max-width: 700px; /* Increase width of the text container */
    line-height: 1.8;  /* Improve readability */
}

.heading {
    text-align: left;
    font-size: 5rem; /* Increase font size */
    font-weight: 800;
    color: var(--text-color);
}

.heading span {
    color: var(--main-color);
}

.about-content h3 {
    font-size: 2.8rem; /* Make subheading larger */
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.6rem; /* Increase paragraph font size */
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: justify; /* Optional: for clean text block appearance */
}

.about-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
}


.services {
    background: var(--snd-bf-color);
    padding: 8rem 9% 5rem;
    margin-top: 5rem; /* Added margin to separate it from the About section */
}


.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.services-box {
    background: #1e2539;
    padding: 3rem; /* Increased padding for more space inside */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: 350px; /* Increased width */
    height: 400px; /* Increased height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.services-box:hover {
    transform: scale(1.05);
}

.services-box i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.services-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.services-box p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--main-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.btn:hover {
    background: #4689c8;
}

.portfolio {
    background: var(--snd-bg-color);
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2rem;
}

.portfolio-box {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .4s ease-in-out;
    opacity: 0.85;
}

.portfolio-box:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: .4s ease;
}    

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
}

.portfolio-layer h4 {
    font-size: 2rem;
    color: white;
}

.portfolio-layer p {
    font-size: 1.4rem;
    margin: .3rem 0 1rem;
    color: #f1f1f1;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 1.8rem;
    color: var(--snd-bg-color);
}

/* Contact Section Styling */
.contact {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Keeps it in the middle */
    width: 100%;
}

/* Increased Heading Size */
.contact h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.contact form {
    max-width: 900px; /* Increased width */
    min-height: 500px; /* Increased height */
    padding: 40px;
    background: rgba(255, 255, 255, 0.15); /* Slightly brighter background */
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Input Fields */
.contact form .input-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 18px; /* Increased padding */
    font-size: 1.2rem; /* Slightly larger text */
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-bottom: 15px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

/* Adjust Input Fields to Fit */
.contact form .input-box input {
    width: 48%;
}

/* Change Placeholder Text Color */
.contact form .input-box input::placeholder,
.contact form textarea::placeholder {
    color: #ffffff; /* White placeholders */
    opacity: 1;
}

/* Textarea Styling */
.contact form textarea {
    resize: none;
    min-height: 200px; /* Increased height */
}

/* Hover Effects */
.contact form .input-box input:focus,
.contact form textarea:focus {
    border-color: #00aaff;
    background: rgba(255, 255, 255, 0.3);
}

/* Submit Button */
.contact form .btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    background: #007bff;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

.contact form .btn:hover {
    background: #0056b3;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--snd-bg-color);
    padding-top: 2.5rem; /* Adding transparent padding */
    padding-bottom: 2.5rem;
    backdrop-filter: blur(5px); /* Light blur effect */
}    

.footer-text {
    font-size: 1.6rem;
}

/* Scroll to Top Button */
.footer-iconTop {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.2rem; /* Slightly larger padding */
    background: rgba(173, 216, 230, 0.2); /* Light transparent blue */
    border-radius: .8rem;
    transition: 0.5s ease;
    border: 2px solid rgba(173, 216, 230, 0.6); /* Light blue border */
}

/* Hover effect */
.footer-iconTop:hover {
    background: rgba(173, 216, 230, 0.4);
    box-shadow: 0 0 1.5rem rgba(173, 216, 230, 0.8);
}

/* Angle-Up Icon */
.footer-iconTop a i {
    font-size: 2.6rem; /* Slightly bigger */
    color: #add8e6; /* Light Blue */
    transition: 0.3s ease;
}

/* Change color on hover */
.footer-iconTop:hover a i {
    color: #ffffff;
}

/* BREAKPOINT */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3%;
    }

    .services {
        padding: 7rem;
    }

    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: 70vh; /* Increased height */
        width: 90%; /* Increased width */
        margin: 0 auto; /* Centered */
    }

    .contact form input,
    .contact form textarea {
        color: #ffffff; /* White text */
    }

    .contact form input::placeholder,
    .contact form textarea::placeholder {
        color: #ffffff; /* White placeholder */
        opacity: 0.8;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }


    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content {
        order: 2;
    }


    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about {
        flex-direction: column;
    }

    .about-img img {
        width: 90vw;
        margin-top: 4rem;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .portfolio h2 {
        margin-bottom: 3rem;
    }

    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        min-height: 80vh; /* More space */
        width: 95%; /* More width */
        padding: 5rem 2rem; /* More padding */
    }
}
/* Glassmorphism container */
.container {
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.container p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Bubble container */
.bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Common bubble styles */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(60px);
  animation: float 20s infinite ease-in-out;
}

/* Individual bubbles */
.bubble1 {
  width: 300px;
  height: 300px;
  background: #ff6ec4;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.bubble2 {
  width: 200px;
  height: 200px;
  background: #7873f5;
  top: 30%;
  left: 70%;
  animation-delay: 5s;
}

.bubble3 {
  width: 250px;
  height: 250px;
  background: #42e695;
  top: 60%;
  left: 30%;
  animation-delay: 2s;
}

.bubble4 {
  width: 180px;
  height: 180px;
  background: #f093fb;
  top: 80%;
  left: 60%;
  animation-delay: 7s;
}

.bubble5 {
  width: 220px;
  height: 220px;
  background: #667eea;
  top: 20%;
  left: 40%;
  animation-delay: 3s;
}

/* Bubble animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(20deg);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 30px;
  }

  .container h1 {
    font-size: 2rem;
  }

  .container p {
    font-size: 1rem;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Nunito', sans-serif;
}

:root {
    --bg-color: #0f172a;
    --snd-bf-color: #1e293b;
    --text-color: #ffffff;
    --main-color: #3b82f6;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
}

/* Bubble background */
.bubbles {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.bubble1 { width: 300px; height: 300px; background: #60a5fa; top: 10%; left: 5%; animation-delay: 0s; }
.bubble2 { width: 250px; height: 250px; background: #f472b6; top: 30%; left: 70%; animation-delay: 5s; }
.bubble3 { width: 350px; height: 350px; background: #34d399; top: 60%; left: 30%; animation-delay: 2s; }
.bubble4 { width: 200px; height: 200px; background: #c084fc; top: 80%; left: 60%; animation-delay: 7s; }
.bubble5 { width: 280px; height: 280px; background: #60a5fa; top: 20%; left: 40%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(20deg); }
}

/* Glassmorphism section styling */
section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.services-box,
.portfolio-box,
.contact form {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6;
}

.footer {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.footer-iconTop a i {
    color: #93c5fd;
}

.footer-iconTop:hover {
    background: rgba(59, 130, 246, 0.3);
}

.footer-iconTop:hover a i {
    color: #ffffff;
}



@media (max-width: 617px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .home-img img {
        width: 80vw;
        margin-top: 8rem;
    }

    .about-img img {
        width: 100vw;
        margin-top: 4rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }
}
