/* Base typography and body background */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1A1A;
    color: #CCCCCC;
    overflow-x: hidden;
}

/* Custom scrollbar for a sleek look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #222222;
}
::-webkit-scrollbar-thumb {
    background: #4A90E2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6A5ACD;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient buttons */
.btn-gradient {
    background: linear-gradient(90deg, #4A90E2, #6A5ACD);
    transition: all 0.3s ease;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #6A5ACD, #4A90E2);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

/* Service cards hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #222222;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}
video{
    max-width: fit-content!important;
}
.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #CCCCCC;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: #F0F0F0;
    text-decoration: none;
    cursor: pointer;
}

/* Hero gradient text */
.hero-gradient-text {
    font-size: 100px;
    background: linear-gradient(90deg, #4A90E2, #6A5ACD);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}
.hero-gradient-text:hover {
    /* no change on hover */
}

/* Video background styling */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    margin-top: 0;
}

/* Project detail page styles */
.project-section {
    background-color: #222222;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}
.project-section:hover {
    transform: translateY(-8px);
}
.project-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.gallery-image {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Navbar and logo adjustments */
.navbar-logo img {
    height: 2rem;
}

/* Transparent mobile menu override */
#mobile-menu {
    background-color: transparent;
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}
