/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;    
    --secondary-color: #2980b9;  
    --text-color: #ffffff;          
    --bg-light: #000000;         
    --bg-white: #fff;
    --bg-black: #000000;            
    --accent-color: #e74c3c;     
    --dark-bg: #222;             
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

#header.scrolled {
    background-color: var(--bg-black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-speed) ease;
}

.scrolled .nav-container {
    height: 60px;
}

.nav-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 20px;
}

.left-nav, .right-nav {
    display: flex;
    align-items: center;
}

.nav-desktop a {
    margin: 0 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.nav-desktop a:hover {
    color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 50px;
    transition: height var(--transition-speed) ease;
}

.scrolled .logo-img {
    height: 40px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all var(--transition-speed) ease;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-black);
    flex-direction: column;
    text-align: center;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

/* Hide mobile nav container by default */
.mobile-nav-container {
    display: none;
    justify-content: center;
    width: 100%;
}

.nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
}

.nav-mobile a {
    padding: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000000;
}

.nav-mobile a:hover {
    background-color: #f8f8f8;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.25);
    z-index: -1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btn {
    display: inline-block;
    position: relative;
    bottom: -150px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #131212;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(50px);
}

.service-item.active {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-item p {
    color: #ffffff;
}

/* Clients Section */
.clients {
    background-color: var(--bg-BLACK);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-item {
    text-align: center;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(50px);
}

.client-item.active {
    opacity: 1;
    transform: translateY(0);
}

.client-item img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}

.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--bg-black);
}

.portfolio-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.category-btn {
    padding: 8px 20px;
    margin: 5px;
    background-color: var(--bg-white);
    border: 1px solid #ffffff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.category-btn:hover {
    background-color: #f0f0f0;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 250px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all var(--transition-speed) ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--bg-white);
    font-size: 20px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease 0.1s;
}

.portfolio-overlay p {
    color: #ddd;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Image Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.modal.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: auto;
}

.slides-container {
    width: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: white;
    padding: 15px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 5px;
    transition: background-color var(--transition-speed) ease;
}

.prev-btn {
    left: -50px;
}

.next-btn {
    right: -50px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1101;
}

.modal-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 80%;
    max-width: 1000px;
}

.modal-thumbnail {
    width: 80px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-speed) ease;
    object-fit: cover;
    border-radius: 3px;
}

.modal-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

/* Team Section */
.team {
    background-color: var(--bg-black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(50px);
}

.team-member.active {
    opacity: 1;
    transform: translateY(0);
}

.team-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    transition: all var(--transition-speed) ease;
}

.team-member:hover .team-img img {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

/*.team-member p {
    color: #666;
} */

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-img.active {
    opacity: 1;
    transform: translateY(0);
}

.about-img img {
    width: 100%;
    transition: all 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-text.active {
    opacity: 1;
    transform: translateY(0);
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
}

/* Portfolio Downloads Section */
.downloads {
    background-color: var(--bg-black);
    color: var(--bg-white);
}

.downloads .section-title::after {
    background-color: var(--bg-white);
}

.downloads-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-item {
    text-align: center;
    max-width: 600px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(50px);
}

.download-item.active {
    opacity: 1;
    transform: translateY(0);
}

.download-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.download-icon i {
    font-size: 50px;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.download-item p {
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-info.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: #666;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    font-size: 18px;
    color: var(--primary-color);
    width: 30px;
    margin-right: 10px;
}

.social-links {
    display: flex;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--bg-white);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-form.active {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--bg-white);
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
}

.footer-text a {
    color: var(--primary-color);
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Go to Top Button */
.go-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.go-top.active {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Color schemes */
/* Purple scheme */
/*
:root {
    --primary-color: #9b59b6;    
    --secondary-color: #8e44ad;  
    --text-color: #333;          
    --bg-light: #f9f9f9;         
    --bg-white: #fff;            
    --accent-color: #e74c3c;     
    --dark-bg: #222;             
}
*/

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .prev-btn {
        left: -30px;
    }
    
    .next-btn {
        right: -30px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop nav and show mobile elements */
    .nav-desktop {
        display: none;
    }
    
    .mobile-nav-container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Logo handling on mobile */
    .logo {
        display: none; /* Hide the logo on mobile */
    }
    
    /* Mobile nav positioning */
    .nav-mobile {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--bg-black);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-mobile.open {
        transform: translateY(0);
        opacity: 1;
    }

        /* Fixed container height */
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
            transition: height 0.3s ease;
        
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .prev-btn, .next-btn {
        padding: 10px;
        font-size: 20px;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}