/* ============================================= */
/* 🎨 BASE & RESET STYLES */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f7941d;
    --secondary-color: #2e3a59;
    --light-bg: #f9f9f9;
    --dark-text: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================= */
/* 🔶 TOP BAR STYLES */
/* ============================================= */
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ============================================= */
/* 🔷 HEADER & NAVIGATION STYLES */
/* ============================================= */

/* ============================================= */
/* 🎥 HERO SLIDER STYLES */
/* ============================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slide {
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 1.2s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.02);
    animation: zoomInSlide 10s ease-in-out infinite alternate;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    max-width: 200px;
    padding: 0;
    opacity: 0;
    animation: fadeSlideLeft 1s ease forwards;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotate(-5deg);
    animation: wordIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slide.active .word:nth-child(1) {
    animation-delay: 0.3s;
}

.slide.active .word:nth-child(2) {
    animation-delay: 0.5s;
}

.slide.active .word:nth-child(3) {
    animation-delay: 0.7s;
}

.slide-content p.line {
    font-size: 1.8rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(40px);
    animation: textRise 1s ease forwards;
    animation-delay: 1s;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: #f7941d;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(40px);
    animation: textRise 1s ease forwards;
    animation-delay: 1.2s;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(247, 148, 29, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 3;
}

.dots {
    display: flex;
    gap: 15px;
}

.dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dots span.active {
    opacity: 1;
    background: #f7941d;
    transform: scale(1.2);
}

.arrow {
    font-size: 2.5rem;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 20px;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.arrow:hover {
    color: #f7941d;
    opacity: 1;
    transform: scale(1.2);
}

/* ============================================= */
/* 🌟 MAIN HERO SECTION STYLES */
/* ============================================= */
.hero {
    background: linear-gradient(to right, #f7941d10, #fff);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -100px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.1), transparent 70%);
    animation: pulseBackground 10s infinite;
    z-index: 0;
}

.container.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.hero-text {
    flex: 1 1 500px;
    animation: slideInLeft 1.2s ease forwards;
    opacity: 0;
}

.hero-text h2 {
    font-size: 1.4rem;
    color: #f7941d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease forwards;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    animation: slideInRight 1.4s ease forwards;
    opacity: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* ============================================= */
/* 🎯 VISION & MISSION SECTION STYLES */
/* ============================================= */
.vision-mission {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.vision-mission .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vm-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.vm-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff8a00, #ff5e00);
    z-index: -1;
}

.vm-card.vision::before {
    background: linear-gradient(to bottom, #00b4db, #0083b0);
}

.vm-card.mission::before {
    background: linear-gradient(to bottom, #ff8a00, #ff5e00);
}

.vm-card.values::before {
    background: linear-gradient(to bottom, #38ef7d, #11998e);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 30px;
}

.vm-card.vision .vm-icon {
    background: linear-gradient(135deg, #00b4db, #0083b0);
}

.vm-card.mission .vm-icon {
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
}

.vm-card.values .vm-icon {
    background: linear-gradient(135deg, #38ef7d, #11998e);
}

.vm-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.vm-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.vm-card.values ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-card.values li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.vm-card.values li i {
    color: #38ef7d;
    margin-right: 10px;
    margin-top: 3px;
}

/* ============================================= */
/* 🛠️ SERVICES SECTION STYLES */
/* ============================================= */
/*  */
/* ============================================= */
/* 🤝 CLIENTS SECTION STYLES */
/* ============================================= */
.clients-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.clients-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color, #f7941d);
}

.clients-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: slideClients 30s linear infinite;
    align-items: center;
}

.clients-track img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s;
    filter: grayscale(100%);
}

.clients-track img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* ============================================= */
/* 🌀 ANIMATIONS */
/* ============================================= */
@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInSlide {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes fadeSlideLeft {
    0% {
        opacity: 0;
        transform: translate(-50px, -50%) skewX(10deg);
    }

    100% {
        opacity: 1;
        transform: translate(0, -50%) skewX(0);
    }
}

@keyframes letterIn {
    0% {
        opacity: 0;
        transform: translateY(40px) rotate(-15deg) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }

    100% {
        transform: translateY(0) rotate(0) scale(1);
    }
}

@keyframes textRise {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseBackground {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes wordIn {
    0% {
        opacity: 0;
        transform: translateY(60px) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* ============================================= */
/* 📱 RESPONSIVE STYLES */
/* ============================================= */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 4rem;
    }

    .slide-content p.line {
        font-size: 1.5rem;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 992px) {
    .vm-container {
        flex-direction: column;
        gap: 20px;
    }

    .vm-card {
        min-width: 100%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .service-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {

    /* Header & Navigation */
    .main-header {
        position: relative;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .hamburger.active {
        transform: rotate(90deg);
    }

    #navMenu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(46, 58, 89, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 20px;
        opacity: 0;
        visibility: hidden;
    }

    #navMenu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        margin-bottom: 5px;
        opacity: 1;
        transform: none;
        animation: none;
    }

    nav ul li a {
        color: white;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        border-radius: 6px;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: var(--primary-color);
        color: white;
        transform: translateX(10px);
        border-bottom-color: transparent;
    }

    /* Dropdown Menu Mobile */
    .dropdown-menu {
        position: static !important;
        display: none !important;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0 0 6px 6px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }

    .dropdown-menu li a {
        padding-left: 30px !important;
        font-size: 0.9em;
        background: rgba(0, 0, 0, 0.1);
    }

    .dropdown-menu li a:hover {
        background-color: rgba(247, 148, 29, 0.8) !important;
    }

    /* Dropdown Indicator */
    .dropdown>a::after {
        content: '+';
        display: inline-block;
        margin-left: 10px;
        font-size: 1.2em;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after {
        content: '-';
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
        max-height: 500px;
        padding: 10px 0;
    }

    /* Hero Slider */
    .slide-content {
        left: 5%;
        width: 90%;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .slide-content p.line {
        font-size: 1.3rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .slider-nav {
        bottom: 30px;
    }

    /* Services */
    .services-slider-container {
        padding: 0 20px;
    }

    .service-card {
        flex: 0 0 calc(100% - 30px);
    }

    .slider-controls {
        margin-top: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Vision & Mission */
    .vision-mission {
        padding: 60px 0;
    }

    .vm-card {
        padding: 30px 20px;
    }

    .vm-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .vm-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p.line {
        font-size: 1.1rem;
    }

    .dots span {
        width: 12px;
        height: 12px;
    }

    .arrow {
        font-size: 2rem;
    }

    .services-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .slider-controls {
        gap: 20px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}


/* Reset any default margin/padding that might cause overflow */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Main container for the slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Each individual slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    color: white;
}

.slide.active {
    opacity: 1;
}

/* The video element for the background */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Remove background image for video slide */
.slide:has(.background-video) {
    background-image: none !important;
}

/* Styles for slides with background images */
.slide[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

/* The text content section */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    max-width: 600px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button styling */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Slider navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh; /* Slightly shorter on mobile */
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
        padding: 15px;
        text-align: center; /* Center align on mobile */
    }
    
    .slide-content h1 {
        font-size: 2em; /* Smaller heading */
        margin-bottom: 8px;
    }
    
    .slide-content p {
        font-size: 1em; /* Smaller paragraph text */
        margin-bottom: 15px;
    }
    
    .btn-primary {
        padding: 10px 20px; /* Slightly smaller button */
        font-size: 0.9em;
    }
    
    .slider-nav {
        bottom: 10px; /* Move navigation up slightly */
    }
    
    .arrow {
        padding: 8px 12px; /* Smaller arrows */
        font-size: 16px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .hero-slider {
        height: 70vh; /* Even shorter for very small devices */
    }
    
    .slide-content h1 {
        font-size: 1.8em;
    }
    
    .slide-content p {
        font-size: 0.9em;
    }
    
    .btn-primary {
        padding: 8px 16px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (max-width: 1000px) {
    .hero-slider {
        height: 100vh; /* Full height in landscape */
    }
    
    .slide-content {
        top: 40%; /* Adjust vertical position */
    }
    
    .slider-nav {
        bottom: 5px; /* Move navigation up more */
    }
}