* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.updates-wrapper {
    display: inline-block;
    position: relative;
    margin-left: 12px;
}

.updates-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.updates-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow);
    display: none;
    min-width: 160px;
    z-index: 9999;
    padding: 8px 0;
}

.updates-menu.show {
    display: block;
}

.updates-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    text-decoration: none;
}

.updates-menu a:hover {
    background: var(--light);
}

:root {
    --primary: #0d3b66;
    --secondary: #1a5a9e;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #28a745;
    --bg-color: #f5f7fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --border-color: #ddd;
    --shadow: rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] {
    --primary: #2d7acf;
    --secondary: #f4a261;
    --accent: #f4a261;
    --light: #2d2d2d;
    --dark: #f5f5f5;
    --gray: #b0b0b0;
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --card-bg: #1e1e1e;
    --header-bg: #1a1a1a;
    --border-color: #444;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.2s ease;
}

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

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-animate header {
    animation: headerSlideDown 520ms cubic-bezier(.22,.9,.3,1) 1 forwards;
}

@keyframes headerSlideDown {
    from { transform: translateY(-18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-animate .logo img {
    opacity: 0;
    transform: scale(0.95) translateY(-6px);
    animation: logoPop 520ms cubic-bezier(.22,.9,.3,1) 1 forwards;
}
@keyframes logoPop {
    from { opacity: 0; transform: scale(0.95) translateY(-6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.header-animate .nav-links a {
    opacity: 0;
    transform: translateY(-6px);
    animation: navLinkFade 420ms ease forwards;
}
.header-animate .nav-links li:nth-child(1) a { animation-delay: 180ms; }
.header-animate .nav-links li:nth-child(2) a { animation-delay: 260ms; }
.header-animate .nav-links li:nth-child(3) a { animation-delay: 340ms; }
.header-animate .nav-links li:nth-child(4) a { animation-delay: 420ms; }
.header-animate .nav-links li:nth-child(5) a { animation-delay: 500ms; }
.header-animate .nav-links li:nth-child(6) a { animation-delay: 580ms; }
@keyframes navLinkFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-links.active { animation: mobileNavOpen 260ms cubic-bezier(.22,.9,.3,1) both; }
@keyframes mobileNavOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 12px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.dark-mode-toggle {
    background: transparent;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark-mode-toggle i {
    font-size: 1.3rem;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: var(--secondary);
}

.dark-mode-toggle .fa-moon {
    opacity: 1;
    transform: translateY(0);
}

.dark-mode-toggle .fa-sun {
    opacity: 0;
    transform: translateY(20px);
    color: #f4a261;
}

[data-theme="dark"] .dark-mode-toggle .fa-moon {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="dark"] .dark-mode-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .dark-mode-toggle {
    border-color: #f4a261;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(244,162,97,0.3);
}

.hero {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 102, 0.9),
        rgba(26, 90, 158, 0.85)
    ), url('images/ula-kuzma-9i4DHlC80AQ-unsplash.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.highlight {
    color: var(--accent);
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.3);
    border: 2px solid var(--accent);
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary);
}

.page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--card-bg);
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: background-color 0.3s ease;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 35px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px var(--shadow);
}

/* About image animation */
.about-image-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* needed for 3D */
}

.about-image-anim .about-img {
    width: 320px;
    height: 320px;
    border-radius: 12px;
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(.22,.9,.3,1), box-shadow 0.4s;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.about-image-anim .about-img.will-reveal {
    transform: translateY(18px) scale(0.96) rotateX(10deg);
    opacity: 0;
}

.about-image-anim .about-img.revealed {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
}
.about-image-anim .about-img:hover {
    transform: translateY(-6px) scale(1.02) rotateX(0deg);
    box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}
/* ===== NEW SECTIONS (Why Choose Us, Happy Clients, Contact Preview) ===== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    font-style: italic;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.why-choose-us {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #0b0b0b 0%, #131418 100%);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.why-choose-us::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 30% 30%, rgba(26,90,158,0.12), transparent 40%);
    filter: blur(30px);
    pointer-events: none;
}

.why-choose-us .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.why-choose-us .section-title h2 {
    font-size: 2.6rem;
    color: var(--light);
    margin-bottom: 8px;
}

.why-choose-us .section-title p {
    color: rgba(255,255,255,0.65);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 14px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(2,6,23,0.6);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.35s cubic-bezier(.22,.9,.3,1), box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(2,6,23,0.7);
}

.feature-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 22px rgba(13,59,102,0.18), inset 0 -6px 16px rgba(0,0,0,0.2);
    transition: transform 0.35s, box-shadow 0.25s;
    flex-shrink: 0;
}

.feature-icon i { font-size: 32px; }

.feature-card:hover .feature-icon {
    transform: translateY(-6px) rotate(-6deg) scale(1.03);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--light);
    margin: 12px 0 12px;
    font-weight: 700;
}

.feature-card p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-top: 8px;
    flex-grow: 1;
}
.feature-card::before {
    content: "";
    position: absolute;
    left: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 20% 20%, rgba(26,90,158,0.06), transparent 40%);
    transform: rotate(10deg);
    pointer-events: none;
}
@keyframes floatUp {
    from { transform: translateY(18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.feature-card { opacity: 0; transform: translateY(18px); animation: floatUp 0.6s ease forwards; }
.feature-card:nth-child(1) { animation-delay: 0.08s; }
.feature-card:nth-child(2) { animation-delay: 0.16s; }
.feature-card:nth-child(3) { animation-delay: 0.24s; }
.feature-card:nth-child(4) { animation-delay: 0.32s; }
.feature-card:nth-child(5) { animation-delay: 0.40s; }
.feature-card:nth-child(6) { animation-delay: 0.48s; }

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .features-grid { grid-template-columns: 1fr; }
    .why-choose-us { padding: 60px 0; }
    .feature-card { min-height: auto; }
}
.happy-clients {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.happy-clients .section-title h2,
.happy-clients .section-title p {
    color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.client-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
}

.happy-clients .clients-grid > * {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.happy-clients .client-card {
   height: 100%;
}

.client-logo-item {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.client-logo {
    flex: 0 0 auto;
}

.client-card .client-desc {
    margin-top: auto;
}

.client-carousel .carousel-slide {
    align-items: stretch;
}

.client-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}
.client-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent);
}
.client-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
}
.client-card .client-name {
    font-style: italic;
    font-weight: 600;
    color: var(--accent);
}
.client-carousel .carousel-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.client-logo-item {
    background: rgba(255,255,255,0.03);
    padding: 36px 26px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(2,6,23,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 360px;
    border: 1px solid rgba(255,255,255,0.03);
}

.carousel-slide.active .client-logo-item:first-child {
    background: var(--primary);
    border-color: rgba(255,255,255,0.06);
}

.carousel-slide.active .client-logo-item:first-child .client-name,
.carousel-slide.active .client-logo-item:first-child .client-desc {
    color: #ffffff;
}

.carousel-slide.active .client-logo-item:first-child .client-logo {
    border-color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.06);
}
.client-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 14px;
    border: 3px solid rgba(255,255,255,0.04);
}
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.client-name {
    font-size: 1.15rem;
    margin: 8px 0 12px;
    color: var(--light);
    font-weight: 700;
}
.client-desc {
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    text-align: center;
    margin-top: auto;
    font-size: 0.95rem;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}
.dot {
    width: 12px;
    height: 6px;
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
}
.dot.active {
    background: var(--secondary);
    width: 36px;
    transition: width 0.25s;
}
@media (max-width: 992px) {
    .client-carousel .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .client-carousel .carousel-slide {
        grid-template-columns: 1fr;
    }
    .client-logo-item {
        min-height: 320px;
    }
}

.client-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, background 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.client-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.client-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.client-card .client-name {
    font-style: italic;
    font-weight: 600;
    color: var(--accent);
}

/* Contact Preview */
.contact-preview {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-info-box h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info-box p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 3px;
    min-width: 20px;
}

.contact-item strong {
    color: var(--primary);
    font-size: 0.95rem;
    display: block;
}

.contact-item span,
.contact-item a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
}

.address-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.address-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.address-card p {
    color: var(--gray);
}

.map-placeholder-small {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

/* Dark mode adjustments */
[data-theme="dark"] .happy-clients {
    background: linear-gradient(135deg, #1a2a3a, #0d3b66);
}

[data-theme="dark"] .client-card {
    background: rgba(30,30,30,0.8);
    border-color: #444;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-details-compact {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

/* Footer updates styling */
.footer-updates {
    margin-top: 10px;
}
.footer-updates a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
}
.footer-updates a:hover { color: var(--accent); }

[data-theme="dark"] footer {
   background-color: var(--header-bg);
    color: rgba(255,255,255,0.95);
}

[data-theme="dark"] .footer-col h3 {
    color: #ffffff;
}

[data-theme="dark"] .footer-links a {
    color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .footer-updates a {
    color: rgba(255,255,255,0.92);
}

[data-theme="dark"] .social-icons a {
    background-color: rgba(255,255,255,0.04);
}

[data-theme="dark"] .copyright {
    border-top-color: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent);
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(13,59,102,0.18);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top:hover {
    transform: translateY(0) scale(1.03);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

/* About Page */
.about-detail {
    padding: 80px 0;
}

.about-full {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-full h2 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.about-text-full p {
    margin-bottom: 20px;
    color: var(--gray);
}

.timeline-list {
    margin-left: 20px;
    color: var(--gray);
}

.timeline-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Timeline (About Page) */
.timeline {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}
.timeline-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 20px var(--shadow);
}
.timeline-marker {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}
.timeline-content h4 {
    margin: 0 0 6px 0;
    color: var(--primary);
}
.timeline-content p {
    margin: 0;
    color: var(--gray);
}

@media (max-width: 768px) {
    .timeline-item { padding: 14px; }
    .timeline-marker { flex: 0 0 48px; height: 48px; }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: background-color 0.3s ease;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 15px;
    color: white;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Services Page */
.services-detail {
    padding: 60px 0;
}

.service-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-full.reverse {
    direction: rtl;
}

.service-full.reverse .service-content {
    direction: ltr;
}

.service-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px var(--shadow);
}

.service-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content ul {
    margin-left: 20px;
    margin-top: 15px;
}

.service-content li {
    margin-bottom: 10px;
    color: var(--gray);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    border-radius: 20px;
    margin-top: 40px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.success-message {
    text-align: center;
    padding: 60px 0;
    background-color: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px var(--shadow);
}

.success-message i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail i {
    background-color: rgba(13, 59, 102, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: background-color 0.3s ease;
}

.contact-form h2 {
    color: var(--primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #e6893a;
}

/* Map Section */
.map-section {
    margin-top: 60px;
}

.map-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.map-placeholder {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    color: var(--text-color);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-image-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date i {
    margin-right: 5px;
}

.news-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news-read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    align-self: flex-start;
}
.happy-clients {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(13,59,102,0.02), rgba(26,90,158,0.01));
}
.happy-clients .section-title h2 { color: var(--primary); }
.happy-clients .section-title p { color: var(--gray); }

.client-carousel {
    position: relative;
    margin-top: 20px;
}
.carousel-container {
    overflow: hidden;
    border-radius: 14px;
    /* reduce shadow and use slightly toned background to reduce overall brightness */
    box-shadow: 0 8px 22px rgba(2,6,23,0.04);
    background: linear-gradient(180deg, rgba(250,250,252,0.95), rgba(245,247,250,0.96));
}
.carousel-track {
    display: flex;
    transition: transform 420ms cubic-bezier(.22,.9,.3,1);
    will-change: transform;
}
.carousel-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 28px;
    min-width: 100%;
    box-sizing: border-box;
}

.client-logo-item {
    background: white;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(13,59,102,0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.client-logo-item:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(13,59,102,0.08); }

.client-logo {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(245,247,250,0.9);
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; display:block; }

.client-name { font-size: 1.05rem; color: var(--primary); margin: 4px 0 0; font-weight:700; }
.client-desc { color: var(--gray); font-size: 0.95rem; margin-top: 6px; }

.carousel-dots { display:flex; justify-content:center; gap:10px; margin-top:18px; }
.dot { width:10px; height:10px; border-radius:50%; background: rgba(13,59,102,0.12); display:inline-block; transition: all 0.25s; }
.dot.active { width:36px; height:10px; border-radius:8px; background: linear-gradient(90deg,var(--primary),var(--secondary)); }

.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--card-bg); border: none; width:44px; height:44px; border-radius:50%; box-shadow:0 8px 20px rgba(2,6,23,0.08); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index: 5; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow svg { color: var(--primary); }
.carousel-arrow { color: var(--primary); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-slide { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .client-logo { width: 86px; height:86px; }
}
@media (max-width: 600px) {
    .carousel-slide { grid-template-columns: 1fr; padding: 16px; }
    .carousel-arrow { display: none; }
    .carousel-dots .dot.active { width: 28px; }
}

/* Accessibility: high contrast for dark mode */
[data-theme="dark"] .carousel-container { background: linear-gradient(180deg,#191b1f,#0f1113); }
[data-theme="dark"] .client-logo-item { background: #121214; border: 1px solid rgba(255,255,255,0.03); }
[data-theme="dark"] .client-name { color: #eaf2ff; }
[data-theme="dark"] .client-desc { color: rgba(255,255,255,0.75); }

.news-read-more:hover {
    gap: 12px;
    color: var(--primary);
}

.news-read-more i {
    font-size: 0.9rem;
}

[data-theme="dark"] .news-card {
    background: #1e1e1e;
}

[data-theme="dark"] .news-title {
    color: #f4a261;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .about-content,
    .contact-container,
    .service-full {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .service-full.reverse {
        direction: ltr;
  
}
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dark-mode-toggle {
        position: absolute;
        top: 20px;
        right: 70px;
        width: 40px;
        height: 40px;
    }
    
    .dark-mode-toggle i {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    text-align: left;
    border-radius: 8px;
    margin: 5px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--secondary);
    color: white;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    box-shadow: none;
    margin-top: 10px;
}

.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 15px 30px var(--shadow);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}
.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--secondary);
    color: white;
    border-radius: 6px;
}
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    box-shadow: none;
    margin-top: 10px;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}
.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.96);
    transition: all .25s cubic-bezier(.22,.9,.3,1);
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    border-radius: 8px;
    margin: 4px 8px;
    transition: .2s;
}

.dropdown-content a:hover {
    background: #0d3b66;
    color: white;
    transform: translateX(5px);
}
@media (min-width:769px){
    .dropdown:hover .dropdown-content{
        opacity:1;
        visibility:visible;
        transform:translateY(0) scale(1);
    
}
.dropdown.active .dropdown-content{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    position:static;
    box-shadow:none;
}

.arrow{
    display:inline-block;
    transition:.25s;
}

.dropdown:hover .arrow{
    transform:rotate(180deg);
}
/* ===== DROPDOWN MENU (UPDATES) ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.dropbtn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    color: var(--dark);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-left: 4px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.dropdown-content a:hover,
.dropdown-content a.active-dropdown {
    background-color: var(--light);
    border-left-color: var(--accent);
    padding-left: 25px;
}

[data-theme="dark"] .dropdown-content {
    background-color: #1e1e1e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dropdown-content a {
    color: #f0f0f0;
}

[data-theme="dark"] .dropdown-content a:hover {
    background-color: #2d2d2d;
}

/* Mobile styles for dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-left: 20px;
        display: none;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown .dropbtn i {
        margin-left: auto;
    }

    .dropdown-content a {
        padding: 10px 15px;
        color: var(--text-color);
        border-left: 2px solid transparent;
    }

    .dropdown-content a:hover,
    .dropdown-content a.active-dropdown {
        background-color: rgba(244, 162, 97, 0.1);
        border-left-color: var(--accent);
    }

    [data-theme="dark"] .dropdown-content a {
        color: #ddd;
    }

    [data-theme="dark"] .dropdown-content a:hover {
        background-color: #333;
    }
}

/* About truck image styles */
.about-truck {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 22px 0 36px;
    position: relative;
}

.about-truck .truck-img {
    width: 100%;
    max-width: 1000px;
    height: 420px; 
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(8,18,36,0.35);
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(.22,.9,.3,1), box-shadow 0.35s, opacity 0.4s;
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(18px) scale(0.98) rotateX(6deg);
}
.about-truck .truck-img.kenburns {
    animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.04) translateY(-6px); }
}
.about-truck .truck-overlay {
    position: absolute;
    left: 28px;
    bottom: 28px;
    background: linear-gradient(180deg, rgba(9,20,38,0.72), rgba(9,20,38,0.5));
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    max-width: 56%;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(2,6,23,0.45);
}
.about-truck .truck-img.will-reveal { opacity: 0; }
.about-truck .truck-img.revealed { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
.about-truck .truck-img:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 40px 80px rgba(2,6,23,0.5); }
@media (max-width: 1200px) {
    .about-truck .truck-img { height: 380px; max-width: 920px; }
}

@media (max-width: 900px) {
    .about-truck .truck-overlay { left: 18px; right: 18px; max-width: calc(100% - 48px); bottom: 18px; }
    .about-truck .truck-img { height: 320px; }
}

@media (max-width: 600px) {
    .about-truck { margin: 14px 0 22px; }
    .about-truck .truck-overlay { position: relative; background: rgba(13,59,102,0.9); left: auto; bottom: auto; right: auto; margin-top: 12px; max-width: 100%; }
    .about-truck .truck-img { height: 220px; }
}

@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
    }

    .admin-sidebar-header h2 span,
    .admin-sidebar-header p,
    .admin-sidebar-menu a span {
        display: none;
    }

    .admin-sidebar-menu a {
        text-align: center;
        padding: 15px;
    }

    .admin-sidebar-menu a i {
        margin: 0;
        font-size: 1.3rem;
    }

    .admin-content {
        margin-left: 80px;
    }

    .welcome-icon {
        display: none;
    }

    .about-content,
    .contact-wrapper,
    .service-full {
        grid-template-columns: 1fr;
    }

    .service-full.reverse {
        direction: ltr;
    }

    .service-full.reverse .service-content {
        direction: ltr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-carousel .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 35px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        z-index: 99;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 10px 25px var(--shadow);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
        list-style: none;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 10px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        z-index: 100;
    }

    .dark-mode-toggle {
        position: relative;
        top: 0;
        right: 0;
        margin-left: auto;
        margin-right: 10px;
        width: 44px;
        height: 44px;
    }

    .updates-wrapper {
        margin-left: 0;
        margin-right: 10px;
    }
    .hero {
        padding: 60px 20px;
        margin-bottom: 40px;
        border-radius: 0 0 20px 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        display: inline-block;
    }

    /* ===== PAGE HERO ===== */
    .page-hero {
        padding: 60px 20px;
        margin-bottom: 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

   .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 0.95rem;
    }

     .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .values-grid,
    .clients-grid,
    .gallery-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .recent-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-preview {
        padding: 60px 0;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .about-image-anim .about-img {
        width: 250px;
        height: 250px;
    }

    .about-truck .truck-img {
        height: 320px;
        max-width: 100%;
    }

    .about-truck .truck-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;
        max-width: calc(100% - 36px);
        padding: 15px 18px;
    }

  .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-box {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-details-compact {
        grid-template-columns: 1fr;
    }

    .contact-detail {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 15px 12px;
        font-size: 16px; /* Prevents iOS zoom */
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .client-carousel .carousel-slide {
        grid-template-columns: 1fr;
    }

    .client-logo-item {
        min-height: 280px;
        padding: 20px 15px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 20px;
    }

    .dot {
        width: 10px;
        height: 5px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }
    .admin-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-content {
        padding: 20px;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 0;
    }

    .admin-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .admin-sidebar-menu li {
        margin: 5px;
    }

    .admin-content {
        margin-left: 0;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 20px;
    }

    .items-list {
        padding: 20px;
    }

    .news-item {
        flex-direction: column;
        gap: 15px;
    }

    .news-thumb {
        width: 100%;
        height: 200px;
    }
    .cta-section {
        padding: 60px 20px;
        margin-top: 30px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

   .map-placeholder iframe {
        height: 300px;
    }
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
    .why-choose-us {
        padding: 60px 20px;
    }

    .why-choose-us .section-title h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px 15px;
        min-height: 300px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }
    .happy-clients {
        padding: 60px 20px;
    }

    .carousel-arrow {
        display: none;
    }
}
@media (max-width: 680px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
     .welcome-banner {
        padding: 20px;
        text-align: center;
    }

    .welcome-banner h2 {
        font-size: 1.5rem;
    }

    .welcome-banner p {
        font-size: 0.9rem;
    }

    .why-choose-us {
        padding: 40px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 18px 15px;
        min-height: auto;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .contact-detail i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .news-grid {
        gap: 15px;
    }

    .service-full {
        margin-bottom: 60px;
    }

    .service-content h2 {
        font-size: 1.4rem;
    }

    .about-text-full h2 {
        font-size: 1.4rem;
    }
}
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .hero {
        padding: 50px 15px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .page-hero {
        padding: 50px 15px;
        margin-bottom: 30px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.85rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.85rem;
    }

    .service-card {
        padding: 20px 15px;
        text-align: center;
    }

    .about-truck {
        margin: 15px 0;
    }

    .about-truck .truck-img {
        height: 220px;
    }

    .about-truck .truck-overlay {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 12px;
        max-width: 100%;
        padding: 12px 15px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 10px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 50px 15px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }

    .copyright {
        font-size: 0.8rem;
        padding: 15px;
    }

    /* Admin tweaks */
    .admin-header h1 {
        font-size: 1.3rem;
    }

    .form-card h2 {
        font-size: 1.2rem;
    }

    .items-list h2 {
        font-size: 1.2rem;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-meta {
        flex-direction: column;
        gap: 8px;
    }

    .btn-edit,
    .btn-delete {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    /* Carousel adjustments */
    .client-logo-item {
        min-height: 240px;
        padding: 12px 10px;
    }

    .client-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }

    .client-name {
        font-size: 0.95rem;
    }

    .client-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Map */
    .map-placeholder iframe {
        height: 250px;
    }
    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 18px;
    }

    .news-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .gallery-item img {
        height: 200px;
    }

    .value-card {
        padding: 20px 15px;
    }

    .value-card i {
        font-size: 2rem;
    }

    .value-card h3 {
        font-size: 1rem;
    }
    .contact-detail {
        gap: 12px;
    }

    .contact-detail i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .contact-item i {
        font-size: 1rem;
    }
    .welcome-banner {
        padding: 20px 12px;
    }

    .welcome-icon {
        display: none !important;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden;
    }
}
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
}
.apply-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--primary); font-size:0.95rem; }
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form textarea,
.apply-form select,
.apply-form input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, #fff, #fbfbff);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    font-size: 0.95rem;
}
.apply-form input:focus, .apply-form textarea:focus, .apply-form select:focus { outline: none; border-color: var(--secondary); box-shadow: 0 6px 18px rgba(13,59,102,0.06); }
.apply-form textarea { min-height: 120px; resize: vertical; }

.submit-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,59,102,0.12); }
.submit-btn.loading { opacity: 0.9; pointer-events: none; }
.submit-btn .spinner { width:18px; height:18px; border:2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius:50%; animation: spin 0.8s linear infinite; display:inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-message { text-align:center; padding:24px; border-radius:10px; background: linear-gradient(180deg, rgba(40,167,69,0.08), rgba(40,167,69,0.03)); border:1px solid rgba(40,167,69,0.12); }
.error-message { padding:12px; background: rgba(220,53,69,0.05); border-radius:8px; border:1px solid rgba(220,53,69,0.08); color: #b02a37; }
.muted { color: var(--gray); font-size: 0.9rem; }

@media (max-width: 980px) {
    .apply-form .form-row { grid-template-columns: 1fr; }
}
