

@import url('https://fonts.googleapis.com/css?family=Poppins;100,200,300,400,500,600,700,800,900');

/* custom variables */
@import 'variables.css';

  /* *{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Poppins";
    outline: none;
    border: none;
}*//**/
html{
    font-size: 62.5%;
    overflow-x: hidden;
} 
 body{
    background: var(--background-color);
    color: var(--text-color);
    padding-top: 80px;
    height: 100vh;
} 
body.login-active {
    overflow: hidden;
}

/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 15%;
    background: var(--background-glass);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 100px;
} */

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}
.sticky{
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.logo img {
    width: 50px;
    height: auto;  
}
.logo{
    font-size: 4rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    animation: SlideRight 1s ease forwards;
    opacity: 0;
    gap: 15px;
}

.navbar a{
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-left: 4rem;
    font-size: 1.7rem;
    animation: slideTop .5s ease forwards;
    opacity: 0;
    animation-delay: calc(.2s*var(--clr));
}

.navbar a:hover,.navbar a.active{
    color: var(--text-color);
}

.dropdown {
    position: relative;
    display: inline-block;       
}

.dropdown-content {
    position: absolute;    
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(10px);
    background: var(--background-glass);  
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
    
}

.dropdown-content a {
    white-space: nowrap;
    color: var(--text-color);
    gap: 15px;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;    
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 4px 0;
    font-size: 1.5rem;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--input-text-color));
    transform: translateX(4px);
}

.dropdown-content a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* Only the active dropdown link's icon uses --primary-color */
.dropdown-content a i {
    color: var(--text-color); /* default icon color */
    transition: color 0.3s;
}
.dropdown-content a.active i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.dropdown-content a:hover img {
    transform: scale(1.1);
}

#menu{
    font-size: 3.6rem;
    display: none;
} */
/* -------------------------------------- Action Section */
  
.action {    
    display: flex;    
    max-width: 100%;
    background: var(--background-glass);      
    border-radius: 12px;      
    border: 2px solid var(--container-color);
    justify-content: center;      
    align-items: center;
    height: auto;
    min-height: 90px;       
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: slideTop .5s ease forwards;
    opacity: 0;
    animation-delay: calc(.2s*var(--clr));
    transition: box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
  }
  .action:hover {    
    border-color: indigo;
    box-shadow: 0 0 30px #5c0074;
  }

  .action-section {
    width: 100%;
    display: flex; 
    background: transparent;
    gap: 3em; 
    flex-wrap: nowrap;
    max-height: 100px;
  }

  .action-section .btn {
    display: flex;
    font-size: 1.6rem;
    padding: 1rem 2.8rem;
    border: 1px transparent;
    border-radius: 10px;
    color: var(--input-bg-color);
    background: linear-gradient(to bottom, black, indigo);
    font-weight: 600;
    font-family: "Poppins"; 
    text-decoration: none;
    letter-spacing: 1px;
    border: none;
    outline: none;
  
  }

  .action-section .btn:hover {
    background: linear-gradient(to bottom, indigo, black);
    color: var(--text-color);
    border: 1px solid indigo;
    text-shadow: 0 0 15px var(indigo);
    box-shadow: 0 0 30px indigo;
  }

/* -------------------------------------- Buttons */
button.btn {
    position: relative;
    width: 120px;
    height: 30px;    
    margin: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    letter-spacing: 1px;
    font-family: "Poppins";
    font-weight: 400;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

button.btn:hover {
    letter-spacing: 3px;
    transition: 0.5s;
    box-shadow: 0 0 5px indigo, 
                0 0 10px rgb(103, 2, 175), 
                0 0 15px rgb(138, 1, 236);
}

button.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 80%;
    width: 50%;
    height: 100%;
    transform: skewX(45deg) translateX(-150%);
    background: linear-gradient(to left, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;    
}

button.btn:hover::before {
    transform: skewX(45deg) translateX(200%);
}

button.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    transition: 0.5s;
    z-index: -1;
}

button.btn:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    transform: translate(-50%, -50%) rotate(0deg);
    box-shadow: 0 0 5px indigo, 
                0 0 10px rgb(103, 2, 175), 
                0 0 15px rgb(138, 1, 236);
}

button.btn:nth-child(1)::after {
    background: indigo;
    box-shadow: 0 0 5px indigo, 
    0 0 15px indigo, 
    0 0 30px indigo, 
    0 0 60px indigo;
}

/* .btn{
    display: inline-block;
    font-size: 1.6rem;
    padding: 1rem 2.8rem;
    border-radius: 10px;
    color: var(--input-bg-color);
    background: linear-gradient(to bottom, black, indigo);
    font-family: "Poppins";
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    border: none;
    outline: none;
    transition: 0.5s ease, color 0.5s ease, border 0.5s ease;
}
.btn:hover{
    background: linear-gradient(to bottom, indigo, black);
    color: var(--text-color);
    border: 1px solid indigo;
    text-shadow: 0 0 15px var(--primary-color);
    box-shadow: 0 0 30px indigo;
} */

/* -------------------------------------- Contact Page */
/* Override autofill background and text color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    background-color: var(--container-color) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--container-color) inset !important;
    color: var(--text-color) !important;
    -webkit-text-fill-color: var(--text-color) !important;
    border-radius: .8rem; /* Ensures corners stay rounded */
}
/* 

.contact h2 {
    margin: 3rem;
}
.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
form input, textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    border: none;
    outline: none;
    color: var(--text-color);
    background: var(--container-color);
    border-radius: .8rem;
    box-sizing: border-box;
    margin-bottom: 1rem; 
}
form input {
    width: calc(50% - 10px);
}
textarea {
    resize: none;
    width: 100%;
    max-width: 70rem;
}
form .btn {
    margin-top: 2rem;
    cursor: pointer;
}
form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
} */

/* -------------------------------------- Footer Page */


.footer {
    margin-top: auto;
    width: 100%;
    background: linear-gradient(to bottom, indigo, black);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.footer-container p {
    font-size: 1.6rem;
    color: var(--text-color);
}

.footer-up {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, indigo, black);
    padding: 0.8rem;
    text-decoration: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    transition: transform 0.3s ease;
}

.footer-up:hover {
    transform: translateY(-5px);
}

.footer-up i {
    font-size: 1.8rem;
    color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-container p {
        font-size: 1.4rem;
    }
}

/* -------------------------------------- Animations */
@keyframes SlideRight {
    0%{
        transform: translateX(-100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes SlideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translate(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes Zoom{
    0%{
        transform: scale(0);
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes Float{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-24px);
    }
    100%{
        transform: translateY(0);
    }
}

@media print {
    .header, .footer {
      display: none !important;
    }
    body, html {
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 0 !important;
        margin: 0 !important;
    }
    section {
        page-break-after: avoid;
    }
 }


/* -------------------------------------- Responsiveness */
@media(max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media(max-width: 991px) {
    .header, .footer {
        padding: 2rem 3%;
    }
    .service, .portfolio {
        margin-bottom: 7rem;
    }
    section {
        padding: 10rem 3% 2rem;
    }
    .contact {
        min-height: auto;
    }
    .layout, .container {
        flex-direction: column;
        gap: 30px;
    }
    .main-content {
        padding: 10px;
    }
    .print-container {
        width: 100%;
    }
}

/* -------------------------------------- Responsiveness Tablet */
@media(max-width: 768px) {
    #menu {
        display: block;
    }
    
    .navbar {
        position: fixed;
        left: -100%;
        top: 100px;
        width: 100%;
        height: calc(100vh - 100px);
        padding: 2rem;
        background: var(--background-glass);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 2rem 0;
        padding: 1rem;
        border-radius: 6px;
        transition: background 0.3s ease;
    }
    
    .navbar a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 2rem;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown:hover .dropdown-content {
        transform: none;
    }
}

/* -------------------------------------- Responsiveness Phones */
@media(max-width: 671px) {
    .portfolio .portfolio-section {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 450px) {
    html {
        font-size: 50%;
    }
    .input-box input, .sidebar {
        width: 100%;
    }
    .form-container, .print-container {
        padding: 20px;
    }
}

@media(max-width: 365px) {
    .home-img img, .about-img img {
        width: 90vw;
    }
    .footer {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

/* -------------------------------------- Additional Styling */
.not-done-yet h2 {
    text-align: center;
    line-height: 1.2;
}

.not-done-yet h3 {
    font-size: 1.5rem;
}

.not-done-yet p {
    font-size: 2rem;
    margin: 2rem 0 3rem;
}

/* Responsive Adjustments for Smaller Screens */
@media screen and (max-width: 1024px) {
    .about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-section {
        width: 80%;
        padding: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .about-section {
        width: 90%;
        padding: 1.5rem;
    }
    .allheading {
        font-size: 3.5rem;
    }
    .about-section h3 {
        font-size: 2rem;
    }
    .about-section p {
        font-size: 1.6rem;
    }
}
