* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --gradient: linear-gradient(45deg, #00ffd5, #a800ce, #00fffb, #686de0);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body {
    background: #ffffff;
    min-height: 100vh;
}

/* Ensure the font is loaded */
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    background: #000000; /* Solid black background */
    border-bottom: var(--border);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: #000000; /* Still solid black on scroll */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 2.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    letter-spacing: -0.5px;
    color: #fffbfb;
    margin-right: 20px;
    margin-left: -60px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 75px;
    margin-right: 10px;
}

/* Main navigation links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    font-size: 1.2rem;
    margin-left: auto; /* This pushes the links to the right */
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 1.2rem; 
    letter-spacing: 0.4px; 
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgb(0, 0, 0);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
    animation: gradient 8s linear infinite;
}
/* Custom style for the 'Vertex' link */
.vertex-link {
    font-family: "Monoton", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem; /* Adjust size as needed */
    color: #00e7fc; /* Default text color */
    text-decoration: none;
    margin-left: 40px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease; /* Smooth transition for text color */
    margin-right: -60px;
}
.vertex-link .big-x {
    font-size: 5rem; /* Makes the X bigger */
    vertical-align: middle;
    line-height: 1;
    margin-top: 10px; /* Space between text and X */
    font-family: "Monoton", sans-serif;
    color: #ffffff;
}

/* Hover effect specifically for the 'Vertex' link */
.vertex-link:hover {
    color: transparent; /* Make text transparent so the gradient is visible */
    background: linear-gradient(45deg, #a200ff, #00f2ff, #32cd32); /* Gradient effect */
    background-size: 200% 200%; /* For animation effect */
    -webkit-background-clip: text; /* Makes the background apply to text */
    background-clip: text; /* Standard property for compatibility */
    animation: gradient 1.5s ease-in-out infinite; /* Apply the gradient animation with infinite loop */
}

/* Keyframes for the gradient movement (applies only to 'Vertex') */
@keyframes gradient {
    0% {
        background-position: 200% 0; /* Start the gradient from the right */
    }
    50% {
        background-position: -200% 0; /* Move the gradient to the left */
    }
    100% {
        background-position: 200% 0; /* End the gradient back at the right */
    }
}

/* Mobile view styling */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh; /* Full height of the viewport */
        width: 80%;
        max-width: 400px;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.99), rgba(20, 20, 20, 0.99));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
        z-index: 1000; /* Ensure it appears above other content */
    }

    .nav-links.active {
        right: 0; /* Slide the menu in */
    }

    .mobile-nav-toggle {
        display: block;
    }

/* Mobile view adjustments */
    .vertex-link {

        display: none;
    }

    .vertex-link .big-x {
        display: none;
    }
/* Desktop styling */
.logo {
    font-size: 2.1rem;         /* Font size for desktop */
    margin-left: -3mm;
    display: flex;
    margin-top: 10px;

}
.logo-img {

    display: none;
}

}

.mobile-nav-toggle {
    display: none; /* Hidden by default — shown in media query */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-top:20px
  }
  
  .mobile-nav-toggle .bar {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  

/* Active state for mobile menu toggle */
.mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translate(-50%, 5px) rotate(45deg);
    width: 24px;
}

.mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translate(-50%, -5px) rotate(-45deg);
    width: 24px;
}
@media (max-width: 768px) {
    .mobile-nav-toggle {
      display: flex;
    }
  }
/* Hide the link by default */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .mobile-mobile-link {
        text-decoration: none;
        text-align: center;
        display: inline-flex;
        align-items: center;
    }

    .mentry-text {
        color: #00fffb;
        font-size: 2.5rem;
        font-family: "Monoton", sans-serif;
    }

    .big-x {
        color: #ffffff;
        font-size: 4.5rem;
        font-family: "Monoton", sans-serif;
        margin-left: 5px; /* Adjust if needed */
        line-height: 1;
    }

    .mobile-mobile-link:hover {
        text-decoration: underline;
    }
}


/* Services Section */
#services {
    min-height: 100vh;
    padding: 120px 5% 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #5603a3, #02fff7, #22f272, #770297);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.section-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
    color: rgb(0, 0, 0);
    margin-bottom: 2rem;
}

/* Services Cards */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* Each Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    background: rgb(0, 0, 0);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37); /* Initial shadow */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure the card fills its container */
}

/* Hover Effect for Pop-Up */
.service-card:hover {
    transform: translateY(-10px); /* Moves the card up */
    box-shadow: 0 12px 50px rgba(31, 38, 135, 0.5); /* Bigger shadow for pop effect */
}

/* Constant Spinning Color Ring Around the Card */
.service-card:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 12px;
    border: 2px solid transparent; /* Invisible initial border */
    background: linear-gradient(45deg, #15f1a4, #8607cf3e, #640cfc, #03ffe2); /* Gradient color ring */
    background-size: 400%;
    z-index: -1; /* Place behind the card */
    animation: spin-ring 5s linear infinite; /* Animate the ring */
}

/* Keyframes for continuous spinning effect */
@keyframes spin-ring {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Service Card Title */
.service-title {
    font-size: 1.8rem;
    color: var(--gradient);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    line-height: 1.2;
}

/* Service Card Description */
.service-description {
    font-size: 1rem;
    color: white;
    opacity: 0.8;
    margin-bottom: 1.rem;
}

/* Service Image */
.service-image {
    margin-bottom: 1.8rem;
}

.service-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(31, 38, 135, 0.37);
}
.card-service-title {
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;/* Needed for gradient animation */
    animation: spin-ring 8s linear infinite;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 20px;
}


.btn:hover {
    background: #3d0295;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Portfolio Section */
.portfolio-section {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Portfolio Cards Container */
.portfolio-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping if screen size is small */
}

/* Each Portfolio Card */
.portfolio-card {
    background-color: #ffffff;
    border-radius: 8px;
    width: 30%; /* Adjusts to be side by side */
    min-width: 300px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    display: flex; /* Use flex to align video and text side by side */
    flex-direction: row; /* This makes the video and text sit side by side */
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Portfolio Card */
.portfolio-card:hover {
    transform: translateY(-10px); /* Moves the card up */
    box-shadow: 0 12px 50px rgba(52, 4, 87, 0.5); /* Bigger shadow for pop effect */
}

/* Portfolio Video */
.portfolio-image {
    flex: 1;
    margin-right: 15px; /* Adds space between the video and text */
}

.portfolio-image video {
    width: 100%; /* Make sure the video takes up full width of its container */
    height: auto;
    object-fit: cover;
}

/* Portfolio Text */
.portfolio-text {
    flex: 1;
    display: flex;
    flex-direction: column; /* Stack the text vertically */
    justify-content: center;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000;
}

.portfolio-description {
    font-size: 1rem;
    color: #000000;
}

.footer {
    position: fixed;
    bottom: -100px;  /* Initially hidden below the viewport */
    left: 0;
    width: 100%;
    background-color: #fffefe;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 20px;
    transition: bottom 0.3s ease;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* Center the content horizontally */
    gap: 30px;  /* Space between items */
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: rgb(0, 0, 0);
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    text-decoration: underline;  /* Underline links on hover */
}

/* Make footer visible when scrolled to the bottom */
.footer.show {
    bottom: 0;  /* Bring the footer into view */
}
.bottom-black-box {
    width: 100%;
    height: 400px;
    background-color: #000;
    display: flex;
    justify-content: space-between; /* Ensures content on both sides */
    align-items: center;
    padding: 40px 50px;
    box-sizing: border-box;
    flex-wrap: wrap; /* Makes it responsive on smaller screens */
}

/* Left-side content (title, subheading, description) */
.footer-info {
    color: white;
    max-width: 600px;
    flex-grow: 1; /* Ensures the left content takes up remaining space */
}

/* Title */
.footer-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Subheading */
.footer-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #dcdcdc; /* Light color for subheading */
}

/* Description */
.footer-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #dcdcdc;
    max-width: 500px;
}

/* Centered button section */
.button-section {
    display: flex;
    justify-content: center;
    gap: 40px; /* Adjust space between buttons */
    align-items: center;
    flex-grow: 1; /* Allow the buttons section to grow in available space */
}

.button-item h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.button-item .button {
    padding: 10px 50px;
    background-color: #ffffff; /* Button color */
    color: rgb(0, 0, 0); /* Default text color */
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #000000; /* Initial border color */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Added border-color transition */
    display: inline-block;
}

.button-item .button:hover {
    background-color: #000000; /* Darker shade for hover */
    color: #ffffff; /* Change text color to white on hover */
    border-color: #ffffff; /* Change border color to white on hover */
}



/* Social icons (right side) */
.social-menu ul {
    display: flex;
    padding: 0;
    margin: 0;
    gap: 20px;
    margin-left: -40px; /* Move the icons more to the left */
}

.social-menu ul li {
    list-style: none;
}

.social-menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: white;
    transition: 0.5s;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    text-decoration: none;
}

.social-menu ul li a i {
    font-size: 28px;
    color: #000000;
    transition: 0.5s;
}

.social-menu ul li a:hover {
    transform: translateY(-10px);
}

.social-menu ul li a:hover i {
    color: #ffffff;
}

/* Hover background colors */
.social-menu ul li:nth-child(1) a:hover { background-color: #e4405f; } /* Instagram */
.social-menu ul li:nth-child(2) a:hover { background-color: #0077B5; } /* LinkedIn */
.social-menu ul li:nth-child(3) a:hover { background-color: #25D366; } /* WhatsApp */
.social-menu ul li:nth-child(4) a:hover {
  background: linear-gradient(to bottom, #A020F0, #ffffff); /* Purple to white */
  color: #000; /* Optional: make icon color contrast better */
}


.about-contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-left: 0px; /* Moved more to the right */
  }
  
  .about-info, .contact-info {
    flex: 1;
    min-width: 250px;
    font-size: 1.3rem; /* Make text a bit larger */
  }
  
  .about-info h3,
  .contact-info h3 {
    font-size: 1.5rem; /* Slightly larger section titles */
    margin-bottom: 10px; /* Space below the title */
    margin-right: 30px;
  }
  
  .about-info p,
  .contact-info p {
    margin-bottom: 20px; /* Space between paragraphs */
    line-height: 1.6; /* Increase line height for readability */
    font-size: 1.1rem; /* Make text a bit larger */
    color: #dcdcdc; /* Light color for text */
  }
/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Portfolio Cards Container */
    .portfolio-cards {
        gap: 15px;  /* Reduced gap between cards on mobile */
        flex-direction: column; /* Stack the cards vertically */
        align-items: center; /* Center the cards */
    }

    /* Each Portfolio Card */
    .portfolio-card {
        width: 90%; /* Make cards take up more space */
        min-width: 200px; /* Ensure cards don’t get too small */
        flex-direction: column; /* Stack video and text vertically on mobile */
        padding: 10px;  /* Reduced padding for mobile */
    }

    /* Portfolio Video */
    .portfolio-image {
        margin-right: 0;  /* Remove space between video and text */
        margin-bottom: 10px; /* Add margin below video for separation */
    }

    .portfolio-title {
        font-size: 1rem;  /* Smaller title font for mobile */
    }

    .portfolio-description {
        font-size: 0.8rem; /* Smaller font size for description */
    }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 3rem;  /* Smaller font size for mobile */
    }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    #services .section-title {
        font-size: 3rem;  /* Smaller font size for mobile */
        margin-top: 50px;   /* Increase space above the title on mobile */
    }
}
/* Mobile Styles for Services Section */
@media (max-width: 768px) {

    /* Services Cards */
    .services-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));  /* Ensure cards adjust for smaller screens */
        gap: 1rem;
        width: 100%;
    }

    /* Each Service Card */
    .service-card {
        display: flex;
        flex-direction: column;
        background: rgb(0, 0, 0);
        padding: 1rem;  /* Adjusted padding for smaller cards */
        border-radius: 10px;  /* Slightly smaller border-radius */
        text-align: center;
        box-shadow: 0 4px 20px rgba(31, 38, 135, 0.25); /* Lighter shadow */
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: auto; /* Ensure cards fit their content */
    }

    /* Service Card Title */
    .card-service-title {
        font-size: 1.4rem;  /* Smaller title font size for mobile */
        color: #ffffff;
        margin-bottom: 0.6rem;
        text-align: center;
    }

    /* Service Card Description */
    .service-description {
        font-size: 1rem;  /* Smaller description font size */
        color: white;
        opacity: 0.8;
        margin-bottom: 0.8rem;
    }

    /* Service Image */
    .service-image img {
        width: 100%; /* Ensures the image takes up full width */
        height: auto;
        max-width: 450px; /* Increase max-width to make the image bigger */
        max-height: 250px; /* Increase max-height */
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.25);
    }

    .btn {
        font-size: 0.9rem; /* Smaller button text */
        padding: 0.5rem 1.5rem; /* Adjusted padding for buttons */
    }
}
@media (max-width: 768px) {
    .bottom-black-box {
      flex-direction: column;
      height: auto;
      padding: 30px 20px;
      align-items: flex-start;
    }
  
    .about-contact-wrapper {
      flex-direction: column;
      gap: 20px;
    }
  
    .footer-info {
      width: 100%;
    }
  
    .button-section {
      width: 100%;
      margin-top: 20px; /* Space between button section and other content */
      display: flex;
      flex-direction: column; /* Stack items vertically */
      justify-content: flex-start;
      gap: 20px;
      align-items: flex-start;
    }
  
    .button-item .button {
      padding: 8px 20px;
      font-size: 14px;
      margin-top: 10px;
    }
  
    /* Move social menu up */
    .social-menu {
      display: flex;
      justify-content: flex-start;
      gap: 15px;
      margin-top: 60px; /* Move social menu up */
    }
  
    .social-menu ul {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      gap: 15px;
      margin-left: 0;
    }
  
    .social-menu ul li a {
      width: 45px;
      height: 45px;
    }
  
    .social-menu ul li a i {
      font-size: 20px;
    }
  
    /* Put "Get In Touch" button below the social menu */
    .button-section .button-item {
      order: 2; /* Ensure button is below social menu */
      margin-top: 60; /* Reset margin-top for button */
    }
  }
  @media (max-width: 768px) {
    .footer {
      position: relative; /* Makes the footer part of normal flow */
      bottom: 0; /* Overrides the hidden effect */
      margin-top: 20px; /* Spacing from social icons */
      background-color: #f5f5f5; /* Slight background for visibility */
      padding: 20px 10px;
      text-align: center;
      z-index: 1; /* Ensure it's above background */
    }
  
    .footer-content {
      flex-direction: column; /* Stack links vertically */
      align-items: center;
      gap: 10px;
    }
  
    .footer-content p {
      font-size: 13px;
    }
  }
  @keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

