/* -------------------------------- */
/* 1. Smooth scrolling for anchors */
html {
    scroll-behavior: smooth;
}

/* -------------------------------- */
/* 2. Font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s ease-in-out; /* smooth general transitions */
}

/* -------------------------------- */
/* 3. Smooth hover effects for buttons and links */
a, button, .btn-classic {
    transition: all 0.3s ease-in-out;
}

/* -------------------------------- */
/* 4. Smooth image hover and transform */
img, .slides img, .video-thumbnail img {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Optional: Smooth hover scale */
img:hover, .btn-classic:hover {
    transform: scale(1.02);
}

/* -------------------------------- */
/* 5. Smooth color/background transitions */
body, .footer, .slider-text, .navbar, .nav-links a {
    transition: background-color 0.3s ease, color 0.3s ease;
}





:root {
        --primary-bg: #0B1A2E;       /* Dark Velvet Blue */
        --accent: #BF8B16;           /* Royal Gold */
        --text-dark: #F0E6D2;        /* Light Gold Beige */
        --hover: #D99E2B;            /* Bright Gold */
        --light-bg: #1C2B3A;         /* Midnight Gray */
        --error: #A94442;            /* Deep Crimson Red */
        --success: #4C9F70;          /* Emerald Gold Mix */
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        scroll-behavior: smooth;
    }
    body {
        font-family: Arial, sans-serif;
       /* background: var(--light-bg);
        color: var(--text-dark);*/
        line-height: 1.6;
    }
    header {
        position: fixed;
        top: 0;
        width: 100%;
        background: var(--primary-bg);
        z-index: 1000;
        border-bottom: 2px solid var(--accent);
    }
    .container {
        max-width: 1200px;
        margin: auto;
        padding: 0 20px;
    }
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 115px;
        top: auto;
    width: 100%;
    z-index: 999;
    }
    /*nav .logo img {*/
    /*    height: 50px;*/
    /*}*/
    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        margin-right:80px;
    }
    nav ul li a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }
    nav ul li a:hover {
        color: var(--hover);
    }
    /* Hamburger */
    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }
    .hamburger span {
        height: 3px;
        width: 25px;
        background: var(--text-dark);
        margin: 4px 0;
    }
    @media(max-width: 768px) {
        nav ul {
            position: absolute;
            top: 70px;
            left: 0;
            background: var(--primary-bg);
            width: 100%;
            flex-direction: column;
            align-items: center;
            display: none;
            /*border-top: 2px solid var(--accent);*/
        }
        nav ul.active {
            display: flex;
        }
        .hamburger {
            display: flex;
        }
    }
   .slider {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    height: 400px;
}

/* Slides Flex Container */
.slides {
    display: flex;
    width: 300%; /* 3 slides */
    animation: slide 12s forwards; /* forwards = stays at last frame */
}

/* Each Slide Image */
.slides img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Slider Text Overlay */
.slider {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    height: 400px;
}

/* Slides Flex Container */
.slides {
    display: flex;
    width: 400%; /* 3 slides + 1 duplicate */
    animation: slide 12s linear infinite;
}

/* Each Slide Image */
.slides img {
    width: 25%; /* 4 slides → 25% each */
    height: 400px;
    object-fit: cover;
}

/* Slider Text Overlay */
.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
.slider-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.slider-text .btn-classic {
    padding: 12px 30px;
    background: #e2151b;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* Keyframes for smooth looping */
@keyframes slide {
    0%   { transform: translateX(0%); }
    25%  { transform: translateX(-25%); }  /* Slide 2 */
    50%  { transform: translateX(-50%); }  /* Slide 3 */
    75%  { transform: translateX(-75%); }  /* Duplicate slide 1 */
    100% { transform: translateX(0%); }    /* Jump back to start */
}

    /* Sections */
    section {
        padding: 80px 20px;
        text-align: center;
        /*background: var(--primary-bg);*/
    }
    section:nth-child(even) {
        background: var(--light-bg);
    }
    h1, h2 {
        margin-bottom: 20px;
        color: var(--accent);
    }
    p {
        max-width: 800px;
        margin: auto;
    }


    /*about us*/
  .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    /*background: var(--primary-bg);*/
}
.about-text {
    flex: 1;
    min-width: 300px;
    color: var(--text-light);

}

.left-text {
    text-align: left;
}

li{
    list-style-type: none;
}

.about-image {
    position: relative;
    flex: 1;
    min-width: 300px;
    /*background: var(--primary-bg);*/
}
.about-image img {
    width: 100%;
    border-radius: 10px;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(191, 139, 22, 0.7);
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    padding: 20px 28px;
    cursor: pointer;
    transition: background 0.3s;
}
.play-button:hover {
    background: rgba(217, 158, 43, 0.85);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.video-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}
.video-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}
.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .video-content iframe {
        height: 250px;
    }
}



/* Services Section */
#services {
    padding: 80px 20px;
    background: var(--light-bg);
    text-align: center;
}
#services h2 {
    color: var(--accent);
    margin-bottom: 40px;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.service-card {
   /* background: var(--primary);*/
    background-color:#BF8B16 ;
    color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
    clip-path: polygon(0 0, 100% 0, 100% 90%, calc(100% - 50px) 100%, 0 100%);
    cursor: pointer;
}
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.service-card h3 {
    color: #0B1A2E;
    margin: 15px 0 10px;
}
.service-card p {
    padding: 0 15px;
    color: white;
}
.more-btn {
    margin: 15px 0 20px;
    padding: 8px 16px;
   /* background: var(--accent);*/
   background-color: #0B1A2E;
    /*color: var(--primary);*/
    color: #F0E6D2;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}
.more-btn:hover {
    background: var(--hover);
}

/* Slide Up Animation */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}
.modal-content {
    background: var(--primary);
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    animation: zoomIn 0.3s ease;
}
.modal-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}
.modal-content h3 {
    color: var(--accent);
}
.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/*contact form*/
/* Contact Section */
#contact {
    padding: 80px 20px;
   /* background: var(--primary);*/
   background-color: #0B1A2E;
    color: white;
    text-align: center;
}
#contact h2 {
    color: var(--accent);
    margin-bottom: 20px;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: auto;
}
.contact-info {
    flex: 1;
    min-width: 250px;
    font-size: 1.1rem;
    line-height: 1.8;
}
.contact-info a {
    color: var(--accent);
    text-decoration: none;
}
.contact-info a:hover {
    color: var(--hover);
}

/* Contact Form */
form {
    flex: 1;
    min-width: 300px;
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.form-group {
    margin-bottom: 15px;
    text-align: left;
}
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--accent);
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
}
textarea {
    resize: none;
}
.contact-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-btn:hover {
    background: var(--hover);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: left;
    }
}

/*skils*/
#skills {
    text-align: center;
    padding: 60px 20px;
    background: var(--light-bg, #1C2B3A);
    color: var(--text-light, #F0E6D2);
}
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.skill {
    text-align: center;
}
.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--light-bg, #BF8B16) 0deg, #333 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light, #F0E6D2);
    position: relative;
}
.circle span {
    position: absolute;
    font-weight: bold;
}
.skill h3 {
    margin-top: 15px;
    font-size: 1.1rem;
}



/*our works*/
#our-work {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}
#our-work h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
#our-work p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.stat-box {
    background: #fff;
    border-radius: 8px;
    padding: 30px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.stat-box h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 5px;
}
.stat-box p {
    color: #333;
    font-size: 1rem;
    margin: 0;
}


/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 20px;
}
.filter-btn {
    background: #fff;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* Gallery Grid */
.work-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}
.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.work-item img {
    width: 100%;
    display: block;
}
.work-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}
.work-item:hover .overlay {
    opacity: 1;
}
.search-icon {
    font-size: 2rem;
    color: #fff;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0,0,0,0.7);
}
.modal-content {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    border-radius: 8px;
}
.modal-content img {
    max-width: 100%;
    margin-bottom: 15px;
}
.close-modal {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}



  .video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none; /* toggled to flex when opened */
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 16px;
  }
  .video-content {
    position: relative;
    width: min(960px, 94vw);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
  }
/*  .video-content iframe,
  .video-content video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: none; 
  }*/
  .video-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 32px;
    color: #fff;
    background: transparent;
    border: 0;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
  /* Optional: nicer play button on cards */
  .play-overlay {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    background: rgba(0,0,0,.6); border-radius: 999px; padding: 16px;
  }
  .play-overlay svg { display:block }


  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-item img {
    max-width: 100px; /* adjust as needed */
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.client-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}


.why-list {
    list-style: none; /* remove default bullets */
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.why-list li {
    background: #f8f9fa;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #e2151b;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease-in-out;
}

.why-list li:hover {
    background: #ffe60014; /* subtle hover effect */
}

.why-list li strong {
    color: #0B1A2E; /* emphasize title */
}
