:root {
    --primary: #FBA814;
    --secondary: #430354;
    --accent1: #647680;
    /* FIXED: Added missing digit */
    --accent2: #702576;
    --neutral-light: #DDD98C;
    --neutral: #BBB79E;
    --neutral-dark: #A49F89;
    --white: #FFFFFF;
    --black: #222222;
    --gray: #f8f9fa;
    --dark-gray: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}


h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

html {
    scroll-behavior: smooth;
}

/* Enhanced Focus for Accessibility */
a:focus, button:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s;
}

#backToTop:hover {
    background: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--primary);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

section {
    padding: 80px 0;
}

.bg-gray {
    background-color: var(--gray);
}

.text-center {
    text-align: center;
}

.section-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-img img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--black);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(251, 168, 20, 0.1);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.55)), url('../images/Et-Web-background-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 20px;
    position: relative;
    min-height: 600px; /* Minimum height */
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.tagline {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Hero Services Slider */
.hero-services {
    margin-top: 30px;
}

.hero-services .section-title-center h2 {
    color: white;
    font-size: 2.8rem;
}

.hero-services .section-title-center p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.services-slider {
    width: 100%;
    padding: 30px 0 60px;
}

.service-slide {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 500px;
    cursor: pointer;
}

.service-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-image-text {
    position: absolute;
    bottom: 30px;
    /* Position from bottom */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
    width: 90%;
    padding: 12px 20px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.service-slide:hover .service-image-text {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
}


.service-slide:hover .service-image img {
    transform: scale(1.05);
    filter: blur(8px) brightness(0.6);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

/* Service Overlay (Description) */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 3, 84, 0.95) 0%, rgba(251, 168, 20, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-slide:hover .service-overlay {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    transform: scale(0.8);
    transition: all 0.5s ease 0.1s;
}

.service-slide:hover .service-icon {
    transform: scale(1);
}

.service-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.service-slide:hover .service-title {
    transform: translateY(0);
    opacity: 1;
}

.service-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.service-slide:hover .service-description {
    transform: translateY(0);
    opacity: 1;
}

.service-btn {
    display: inline-block;
    background-color: white;
    color: var(--secondary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
    margin-top: 20px;
}

.service-slide:hover .service-btn {
    transform: translateY(0);
    opacity: 1;
}

.service-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) ;
    background: rgba(255, 255, 255, 0.9);
    width: 60px ;
    height: 60px ;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 2rem ;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: white ;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) ;
    width: 15px ;
    height: 15px ;
    opacity: 1 ;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary) ;
    transform: scale(1.3);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-detail-content .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 60px;
    
}

.service-detail-content .about-text {
    width: 100%;
}

.about-text {
    flex: 1;
    text-align: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.value-card {
    flex: 1;
    min-width: 250px;
    margin: 15px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(251, 168, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    background-color: var(--neutral);
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Service Card Links */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    transform: translateY(-5px);
}

.service-card-link:hover .service-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-link {
    transform: translateX(5px);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-link i {
    transform: translateX(3px);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--neutral);
    color: var(--dark-gray);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(67, 3, 84, 0.9), rgba(251, 168, 20, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

/* Clients Section */

.clients-section {
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
}

.clients-marquee {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
}

.clients-track {
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: inline-flex;
    height: 80px;
    width: 150px;
    align-items: center;
    justify-content: center;
    margin-right: 20px;          /* optional spacing */
    white-space: normal;  
}

/* Logo image styling */
.client-logo img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(251, 168, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-details h3 {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact CTA */
.contact-cta {
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-cta h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--dark-gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-info-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-info-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-col h3:after {
    background-color: var(--primary);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-container img {
    width: 100%;
    height: auto;
    margin-right: 15px;
}

.footer-logo .logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo h2:after {
    display: none;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.make-it-happen {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin-top: 15px;
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Helvetica Neue', sans-serif;
}

.cert-details {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

/* ===== NEW STYLES FOR MULTI-PAGE SITE ===== */

/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Detail Hero */
.service-detail-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.service-detail-content {
    padding: 60px 0;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
}

.service-feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(251, 168, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

/* Process Steps */
.process-steps {
    margin: 60px 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gray);
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--dark-gray);
}

/* Portfolio Detailed Grid */
.portfolio-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item-detailed {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item-detailed:hover {
    transform: translateY(-10px);
}

.portfolio-item-detailed img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-item-details {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Team Detail Grid */
.team-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member-detail {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-detail:hover {
    transform: translateY(-5px);
}

.team-member-detail .member-img {
    height: 300px;
    overflow: hidden;
}

.team-member-detail .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-detail:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.team-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.team-contact-info a {
    width: 40px;
    height: 40px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-contact-info a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Map */
.contact-map {
    height: 400px;
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    margin: 40px 0;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray);
    padding: 15px 0;
    margin-bottom: 40px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--dark-gray);
}

.breadcrumb li:last-child {
    color: var(--primary);
    font-weight: 600;
}

/* About Page Specific */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision */
.mission-vision {
    margin-top: 80px;
}

/* Certifications Section */
.certifications-section {
    margin: 80px 0;
}

/* Contact Page Specific */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 60px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 168, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-details h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 168, 20, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-gallery-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Alternative: Clean text without background box */
.product-image-text {
    position: absolute;
    bottom: 15px; /* Position from bottom */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px; /* Smaller font size */
    font-weight: 600; /* Slightly lighter weight */
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Softer shadow */
    z-index: 2;
    width: 85%; /* Slightly narrower */
    padding: 6px 10px; /* Less padding */
    letter-spacing: 0.5px; /* Tighter letter spacing */
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.3); /* More transparent (0.3 instead of 0.6) */
    border-radius: 3px; /* Smaller radius */
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.product-card:hover .product-image-text {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    box-sizing: border-box;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    width: 100%;
}

.product-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.overlay-content .product-features {
    margin-top: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.overlay-content .product-features li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.overlay-content .product-features li i {
    color: #3498db;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Vehicle Image Slider */
.vehicle-image-slider {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.image-slider-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Slider */
.slider-main {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    height: 600px;
}

.slider-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slider-image-wrapper img.active {
    opacity: 1;
    transform: scale(1);
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    /* Changed to use your variable */
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-nav {
    left: 30px;
}

.next-nav {
    right: 30px;
}

/* Thumbnail Navigation */
.thumbnail-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.thumbnail-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 120px;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.thumbnail-item.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.thumbnail-item.active::after {
    background: linear-gradient(to top, rgba(251, 168, 20, 0.7), transparent);
    /* Using your primary color */
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-item span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 1200px) {
    .service-slide {
        height: 450px;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-description {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .slider-main {
        height: 500px;
    }

    .thumbnail-nav {
        gap: 15px;
    }

    .thumbnail-item {
        height: 100px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .service-slide {
        height: 400px;
    }

    .hero-services .section-title-center h2 {
        font-size: 2.2rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .page-hero {
        padding: 130px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.8rem;
    }

    .service-detail-hero {
        padding: 100px 0 50px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-cta {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        margin-top: 10px;
        border-radius: 5px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
    
        .dropdown-menu a {
        padding: 14px 25px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
        .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
        transition: transform 0.2s ease;
    }

    .mobile-menu-btn {
        display: block;
    }

    .values {
        flex-direction: column;
    }

    .client-logo {
        width: 140px;
        margin: 10px;
    }

    .footer-col {
        padding-right: 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none ;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .service-description {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .service-icon {
        font-size: 3rem;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid-detailed {
        grid-template-columns: 1fr;
    }

    .team-detail-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .service-detail-hero {
        padding: 100px 0 40px;
    }

    .contact-cta {
        padding: 40px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-gallery-section {
        padding: 60px 0;
    }

    .product-img {
        height: 280px;
    }

    .vehicle-image-slider {
        padding: 60px 0;
    }

    .slider-main {
        height: 400px;
        margin: 0 15px 20px;
        border-radius: 15px;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .prev-nav {
        left: 15px;
    }

    .next-nav {
        right: 15px;
    }

    .thumbnail-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .thumbnail-item {
        height: 90px;
    }
    
        .service-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .service-image img {
        object-fit: cover;      
        object-position: center;
        width: 100%;
        height: 100%;
    }

    .service-image-text {
        font-size: 14px;
        padding: 8px 12px;
        bottom: 20px;
    }
    
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }


    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
        .dropdown:hover .dropdown-menu {
        display: none;
    } 
    /* Mobile slider optimization */
    .services-slider {
        padding: 20px 0 40px;
    }

    .service-slide {
    height: auto;          /* Let Swiper calculate based on content */
    display: flex;
    align-items: stretch;
    }
    
    .mySwiper {
    width: 100%;
    height: auto;
}

    .service-image-text {
        font-size: 0.5rem;
        padding: 3px 7px;
        bottom: 10px;
        width: auto;
        max-width: 85%;
        background-color: rgba(0, 0, 0, 0.65);
        border-radius: 30px;
        backdrop-filter: blur(4px);
        letter-spacing: 0.5px;
    }

    .service-overlay {
        padding: 20px 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;  /* Align content to top for scrolling */
        background: linear-gradient(135deg, rgba(67, 3, 84, 0.98) 0%, rgba(251, 168, 20, 0.95) 100%);
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .service-description {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 12px;
        max-width: 100%;
        padding: 0 3px;
    }

    .service-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin-top: 7px;
        white-space: nowrap;
    }

    /* Swiper navigation buttons – make them smaller and touch-friendly */
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px ;
        height: 44px ;
        background: rgba(255, 255, 255, 0.85);
        color: var(--secondary) ;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.5rem ;
    }
    .swiper-pagination-bullet {
        width: 8px ;
        height: 8px ;
        margin: 0 5px ;
    }
    
    .service-slide.mobile-active .service-overlay {
        opacity: 1;
        transform: translateY(0);
    }
    .service-slide.mobile-active .service-image-text {
        opacity: 0;
        visibility: hidden;
    }
    
     .client-logo {
        height: 60px;
        padding: 10px 20px;
        margin: 0 20px;
    }
    .client-logo img {
        max-width: 120px;
    }

    
}

@media (max-width: 480px) {
    .service-slide {
        min-height: 360px;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .service-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .service-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .service-image-text {
        font-size: 0.9rem;
        padding: 6px 14px;
    }

}



