:root {
    --dark-bg: #0B0C10;
    --navbar-bg: #1F2833;
    --light-gray: #C5C6C7;
    --cyan-accent: #66FCF1;
}
body {
    background-color: var(--dark-bg);
    color: var(--light-gray);
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
body, html {
    overflow-x: hidden;
    width: 100%;
  
}
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

.bg-custom {
    background-color: var(--navbar-bg) !important;
}


.text-accent {
    color: var(--cyan-accent) !important;
}


.navbar-dark .navbar-nav .nav-link {
    color: var(--light-gray) !important;
    transition: 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--cyan-accent) !important;
}


.bg-video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}


.position-relative.z-1 {
    z-index: 1;
}

.social-icons a {
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    color: cyan;
}
.bg-custom {
    background-color: #0B0C10; 
    box-shadow: 0px 2px 10px #66FCF1; 
}

.profile-img {
    width: 100%;
    max-width: 250px;  
    height: auto; 
    border: 2px solid cyan;
    background: transparent;
    display: block;
    margin: 0 auto; 
    margin-top: 60px;
}

.gradient-text {
    background: linear-gradient(to right, #0d6efd, #dc3545); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.nav-item {
    position: relative;
    transition: color 0.3s ease-in-out;
}
 .spaced-text{
    letter-spacing: 0.3rem;
    }
.nav-item:hover{
    text-decoration: underline;
    color: white;
}
.border-cyan {
    border: 2px solid #66FCF1; 
    color: white; 
    transition: 0.3s ease-in-out;
}

.border-cyan:hover {
    background-color: #66FCF1; 
    color: #0B0C10;
}

.text-accent {
    color: #66FCF1;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-box h4 {
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-box p {
    margin: 0;
    font-size: 14px;
}


.glitch-img {
    position: relative;
    filter: brightness(1.1);
    animation: glitch 2s infinite;
    width: 350px;
}
.bg-cyan {
    background-color: cyan;
    border-radius: 15px;
}
.custom-btn {
    position: relative;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid transparent;
 
    background-color: #222831; 
    color: white; 
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 10px rgba(0, 255, 255, 0.4);
}

.custom-btn:hover {
    transform: scale(1.05); 
    background-color: cyan; 
    border-bottom-color: #222831;
    border-left-color: #222831;
    border-right-color: #222831;
    border-top-color: #222831;
    

    box-shadow: 0px 7px 15px rgba(255, 255, 255, 0.6);
    color: black;
}
.icon-size {
    width: 16px;  
    height: 16px;
    object-fit: contain; 
}
.card-img-top {
    transition: filter 0.2s ease-in-out;
    cursor: pointer;
}

/* .card-img-top:hover {
    filter: grayscale(0%);
} */
.bg-purple {
    background: linear-gradient(to right, #ff00ff, #ff0077);
}

.text-purple {
    color: #a100ff;
}
.service-box {
    background: #222831; 
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 12px rgba(0, 255, 255, 0.4); 
}
/* .service-box:hover {
    transform: translateY(-5px);
    transform: scale(1.03);
    background-color: cyan; 
    border: 2px solid rgba(255, 255, 255, 0.6);

    box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.6); 
    color: black;
} */
.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.service-box p {
    flex-grow: 1;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#successMessage {
    display: none; 
    position: fixed; 
    width: 25%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #222831;
    color: whitesmoke;
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid cyan;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 1000; 
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.success-gif {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 10px;
}
#Contact_form{
    box-shadow: 0px 5px 12px rgba(0, 255, 255, 0.5);  
}
@keyframes glitch {
    0% { transform: translateX(0); }
    25% { transform: translateX(3px); }
    50% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}
.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1s infinite ease-in-out;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.5);
      opacity: 0.6;
    }
  }

/* Responsive Fixes */
@media (max-width: 1200px) {
    .glitch-img {
        width: 300px; 
    }
}

@media (max-width: 992px) {
    .bg-video {
        height: 100vh; 
        object-fit: cover;
    }

    .glitch-img {
        width: 300px;
    }
    #about h2 {
        font-size: 1.1rem;
    }

    #about p {
        font-size: 0.8rem;
    }

    .stat-box {
        padding: 8px 15px;
    }

    .service-box {
        padding: 20px;
    }

    .custom-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    
}

@media (max-width: 768px) {

    .glitch-img {
        width: 200px;
    }
    #about h2 {
        font-size: 1.1rem;
    }
    #about p {
        font-size: 0.8rem;
    }
    .profile-img {
        margin-top: 60px;
    }
    .social-icons a {
        font-size: 20px;
    }
    #projects{
        margin-top: 20px;
    }
    .about-text {
        margin-top: 20px;
    }

    .stat-box h4 {
        font-size: 16px;
    }

    .custom-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    #successMessage {
        width: 80%;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .bg-video {
        height: 100vh;
        object-fit: cover;
    }

    .glitch-img {
        width: 180px; /* Reduce image size further */
    }
    #about h2 {
        font-size: 1.5rem;
    }

    #about p {
        font-size: 0.9rem;
    }
    #projects{
        margin-top: 20px;
    }
    .stat-box {
        padding: 6px 10px;
    }

    .custom-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .service-box {
        padding: 12px;
    }

    #successMessage {
        width: 90%;
        font-size: 14px; 
        padding: 15px;
    }
     @media (max-width: 768px) {
    .navbar-brand {
      font-size: 1rem; 
    }
    .spaced-text{
    letter-spacing: 0.15rem;
    }
    .nav-link {
      font-size: 0.875rem; 
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
      margin-right: 1rem !important;
    }

    .navbar {
      padding-top: 0.3rem;
      padding-bottom: 0.3rem;
    }

    .navbar-toggler {
      padding: 0.25rem 0.5rem;
      font-size: 0.9rem;
    }
  }
}
@media (max-width: 768px) {
    .navbar-brand {
      font-size: 1rem; 
    }

    .nav-link {
      font-size: 0.875rem; 
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
      margin-right: 1rem !important;
    }

    .navbar {
      padding-top: 0.3rem;
      padding-bottom: 0.3rem;
    }

    .navbar-toggler {
      padding: 0.25rem 0.5rem;
      font-size: 0.9rem;
    }
  }

