:root {
    --primary: #0B4F9C;
    --primary-dark: #083d7a;
    --accent: #F57C00;
    --accent-dark: #e06800;
    --dark: #2F3B45;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.navbar .btn-primary { color: var(--primary); }

.btn-secondary {
    background: var(--primary);
    color: #fff;
}
.btn-secondary:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* Navbar */
/* Main Top Bar */
.main-top {
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    font-size: 0.85rem;
    padding: 8px 0;
}
.main-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.main-top-inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.main-top-inner i { font-size: 0.9rem; }
.main-top-email i,
.main-top-email a {
    color: var(--primary);
}
.main-top-phone i,
.main-top-phone a {
    color: var(--accent);
}
.main-top-inner a {
    text-decoration: none;
    font-weight: 600;
}
.main-top-inner a:hover { text-decoration: underline; }
.main-top-social {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.main-top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}
.main-top-social a:hover { background: var(--accent); transform: translateY(-2px); }

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.navbar-brand img { height: 45px; }
.navbar-brand span { font-size: 1.3rem; font-weight: 700; color: var(--primary); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
    padding: 5px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-item-wrap {
    position: relative;
    display: inline-flex;
}
.news-badge {
    position: absolute;
    top: -1px;
    right: -2px;
    background: none !important;
    color: #dc3545 !important;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* Hero Section */
.hero {
    background: #F5F7FA;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(173, 216, 230, 0.55);
}

/* Ken Burns zoom slideshow */
.hero-slider-kb {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-kb-track {
    position: absolute;
    inset: 0;
}
.kb-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
}
.kb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
}
.kb-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(173, 216, 230, 0.45);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.18);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.hero-arrow:hover {
    background: var(--accent);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    animation: heroVideoZoom 30s ease-in-out infinite alternate;
}
@keyframes heroVideoZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.2); }
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(11, 79, 156, 0.5);
}

.hero-arrow-prev {
    left: 22px;
}

.hero-arrow-next {
    right: 22px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.18rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.75;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 8px;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Home Section */
.about-home-section {
    background: var(--white);
    border-bottom: 1px solid #eef1f4;
}

.about-home {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-home-image {
    flex: 0 0 42%;
}

.about-home-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(11, 79, 156, 0.18);
}

.about-home-content {
    flex: 1;
}

.section-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.about-home-content h2 {
    font-size: 2.1rem;
    color: var(--dark);
    margin-bottom: 18px;
}

.about-home-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.about-points li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; }
.card-body p { color: #666; font-size: 0.92rem; }

/* Services Horizontal Carousel */
.services-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.services-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 15px 5px;
    animation: services-scroll 45s linear infinite;
}
.services-carousel:hover .services-track {
    animation-play-state: paused;
}
@keyframes services-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.services-card {
    flex: 0 0 auto;
    width: 340px;
    background: var(--white);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.07);
    border-top: 4px solid var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.services-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}
.services-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(11, 79, 156, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.services-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.services-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
}
.services-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 16px;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}
.services-card-link:hover { color: #e06800; transform: translateX(4px); }

/* CV Submit Section */
.cv-submit-section {
    margin-top: 50px;
    background: var(--light-bg);
    border-radius: 14px;
    border: 1px solid #e6e9ec;
}
.cv-submit-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    padding: 40px;
    align-items: start;
}
.cv-submit-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(11, 79, 156, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.cv-submit-text h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 12px; }
.cv-submit-text p { color: #666; line-height: 1.7; font-size: 0.95rem; }
.cv-submit-form { background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

@media (max-width: 768px) {
    .cv-submit-content { grid-template-columns: 1fr; gap: 25px; padding: 28px; }
    .main-top-inner { flex-direction: column; gap: 6px; }
}

/* Project Detail Meta */
.project-detail-meta {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.project-detail-meta span { white-space: nowrap; }
.project-detail-meta i { color: var(--accent); margin-right: 5px; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Stats */
.stats { background: var(--primary); padding: 50px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-item p { font-size: 0.95rem; opacity: 0.9; margin-top: 5px; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #d46200 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-section p { opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer {
    background: var(--dark);
    color: #ccc;
    padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer p, .footer li { font-size: 0.9rem; line-height: 1.8; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-btn-accent {
    background: var(--accent);
    color: #fff;
}

.footer-btn-accent:hover {
    background: #e86f00;
    color: #fff;
    transform: translateY(-2px);
}

.footer-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}

.footer-btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 0.92rem;
}
.form-control {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: auto; }

/* Alert Messages */
.alert {
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: #999; margin: 0 8px; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 700; }

/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,79,156,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Testimonial */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}
.testimonial-card p { font-style: italic; margin-bottom: 20px; padding-top: 30px; color: #555; }
.testimonial-card .author { font-weight: 600; color: var(--primary); }
.testimonial-card .company { font-size: 0.85rem; color: #999; }

/* Partner/Client Logo */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; }
.logo-item {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.logo-item:hover { transform: translateY(-3px); }
.logo-item img { max-height: 60px; width: auto; }

/* Job Listing */
.job-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}
.job-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.job-card h3 { color: var(--primary); margin-bottom: 10px; }
.job-meta { display: flex; gap: 20px; color: #888; font-size: 0.88rem; margin-bottom: 12px; }
.job-meta span { display: flex; align-items: center; gap: 5px; }

/* Brand Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}
.brand-text {
    color: #0B4F9C;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.2;
}

/* Scrolling Logo Ticker */
.logo-ticker-section {
    padding: 50px 0 40px;
    overflow: hidden;
}
.logo-ticker-section h2 {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 500;
}
.logo-ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}
.logo-ticker-track:hover {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 80px;
    padding: 0 40px;
    margin: 0 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.logo-ticker-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.logo-ticker-item .company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.logo-ticker-item .company-logo .logo-icon {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}
.logo-ticker-item .company-logo .logo-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.logo-ticker-item.show-logo .client-logo-img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

/* Company-specific logo colors */
.logo-shell .logo-icon { color: #DD1D21; }
.logo-chevron .logo-icon { color: #0055B8; }
.logo-totalenergies .logo-icon { color: #ED1B2F; }
.logo-saipem .logo-icon { color: #003DA5; }
.logo-agip .logo-icon { color: #000000; }
.logo-naoc .logo-icon { color: #1A6B3C; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 93px;
    right: 31px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
}
.back-to-top-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}
.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: transform 0.3s;
    color: #fff;
    font-size: 1.8rem;
}
.whatsapp-float a:hover { transform: scale(1.1); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.3rem; }
    .hero { min-height: 620px; padding: 90px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 1rem; }
    .hero-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
    .hero-arrow-prev { left: 8px; }
    .hero-arrow-next { right: 8px; }
    .about-home { flex-direction: column; gap: 35px; }
    .about-home-image { flex: 0 0 100%; }
    .about-points { grid-template-columns: 1fr; }
    .hero { min-height: 560px; padding: 60px 0; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { text-align: center; }
    .hero-slide::after { background: rgba(173, 216, 230, 0.45); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Admin Styles */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: #cfe7f5;
    color: #2F3B45;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar .sidebar-header { padding: 15px 20px 25px; border-bottom: 1px solid rgba(47,59,69,0.15); }
.admin-sidebar .sidebar-header h2 { font-size: 1.1rem; color: var(--primary); }
.admin-sidebar .sidebar-header p { font-size: 0.8rem; opacity: 0.6; color: #2F3B45; }
.admin-sidebar .nav-menu { padding: 15px 0; }
.admin-sidebar .nav-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #2F3B45;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.admin-sidebar .nav-menu a:hover, .admin-sidebar .nav-menu a.active {
    background: rgba(47,59,69,0.12);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}
.admin-sidebar .nav-section { padding: 15px 20px 5px; font-size: 0.75rem; text-transform: uppercase; opacity: 0.6; letter-spacing: 1px; color: #2F3B45; }
.admin-main { margin-left: 260px; flex: 1; background: var(--light-bg); }
.admin-topbar {
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-content { padding: 30px; }
.admin-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
}
.admin-card h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; font-size: 0.9rem; }
.admin-table th { background: var(--light-bg); font-weight: 600; color: var(--dark); }
.admin-table tr:hover { background: #f8f9fa; }

/* Status Badges */
.badge { padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-new { background: #fff3cd; color: #856404; }
.badge-progress { background: #cce5ff; color: #004085; }
.badge-responded { background: #d4edda; color: #155724; }
.badge-closed { background: #e2e3e5; color: #383d41; }

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
}
.login-box h1 { text-align: center; color: var(--primary); margin-bottom: 8px; }
.login-box .subtitle { text-align: center; color: #999; margin-bottom: 30px; }

/* Password Visibility Toggle */
.password-input {
    position: relative;
}
.password-input .form-control {
    padding-right: 45px;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 1.1rem;
    line-height: 1;
    padding: 4px;
    transition: color 0.3s;
    z-index: 2;
}
.password-toggle:hover { color: var(--primary); }
.password-toggle.active { color: var(--primary); }

/* Stat Cards (Admin Dashboard) */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}
.stat-card .stat-icon.blue { background: var(--primary); }
.stat-card .stat-icon.orange { background: var(--accent); }
.stat-card .stat-icon.green { background: #28a745; }
.stat-card .stat-icon.red { background: #dc3545; }
.stat-card h3 { font-size: 1.8rem; color: var(--dark); }
.stat-card p { font-size: 0.85rem; color: #888; }

/* Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}
.toast-success { background: #28a745; }
.toast-error { background: #dc3545; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Mobile Admin Menu ---------- */
.admin-menu-toggle,
.admin-overlay,
.admin-sidebar-close { display: none; }

/* ---------- Frontend mobile polish ---------- */
@media (max-width: 768px) {
    .section { padding: 55px 0; }
    .section-title { margin-bottom: 35px; }
    .section-title h2 { font-size: 1.6rem; }
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.6rem; }
    .stats { padding: 40px 0; }
    .stat-item h3 { font-size: 2rem; }
    .about-home-content h2 { font-size: 1.55rem; }
    .hero-dots { bottom: 22px; }
    .hero-content { padding-top: 15px; }
    .hero-buttons .btn-lg { width: 100%; }
    .card-body h3 { font-size: 1.05rem; }
    .footer { padding: 45px 0 25px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item h3 { font-size: 2rem; }
    .hero { min-height: 520px; padding: 50px 0; }
    .hero h1 { font-size: 1.45rem; }
    .footer-buttons { flex-direction: column; align-items: stretch; }
    .footer-btn { justify-content: center; }
    .navbar-brand span { font-size: 1.05rem; }
    .navbar-brand img { height: 36px; }
    .services-card { width: 275px; padding: 22px 18px; }
    .services-track { gap: 18px; }
}

/* ---------- Admin Responsive ---------- */
@media (max-width: 991px) {
    .admin-topbar { padding: 12px 18px; }
    .admin-content { padding: 18px; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .admin-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 1001;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        background: var(--primary);
        color: #fff;
        border: none;
        font-size: 1.05rem;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    }

    .admin-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 0.95rem;
        z-index: 2;
    }

    .admin-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    .admin-overlay.active { display: block; }

    .admin-sidebar {
        transform: translateX(-260px);
        transition: transform 0.3s ease;
    }
    .admin-sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.3);
    }

    .admin-main { margin-left: 0; }
    .admin-topbar { padding: 15px; padding-left: 62px; }
    .admin-topbar span { font-size: 0.85rem; font-weight: 600; }
    .admin-content { padding: 15px; }
    .admin-card { padding: 18px; }
    .admin-card h2 { font-size: 1.15rem; }

    .admin-content .grid-2 { grid-template-columns: 1fr !important; }
    .admin-content .grid-3 { grid-template-columns: 1fr; }
    .admin-content [class*="grid"] { max-width: 100% !important; }
    .stat-cards { grid-template-columns: 1fr; }

    .admin-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table thead { display: table-header-group; }
    .admin-table tbody { display: table-row-group; }
    .admin-table tr { display: table-row; }
    .admin-table th,
    .admin-table td { display: table-cell; white-space: nowrap; padding: 10px 12px; }

    .login-box { padding: 30px 22px; margin: 0 15px; }
    .login-box h1 { font-size: 1.5rem; }

    .services-carousel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .services-track { animation: none; gap: 16px; }
    .services-card { scroll-snap-align: start; flex: 0 0 80vw; max-width: 300px; }

    .cv-submit-content { grid-template-columns: 1fr !important; }
    .smtp-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Landscape phone ---------- */
@media (max-width: 992px) and (orientation: landscape) {
    .hero { min-height: 400px; padding: 60px 0; }
    .hero h1 { font-size: 1.8rem; }
    .login-page { align-items: flex-start; padding-top: 30px; }
}

/* ---------- Extra small phone ---------- */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero h1 { font-size: 1.3rem; }
    .hero { min-height: 480px; padding: 40px 0; }
    .navbar-brand span { font-size: 0.95rem; }
    .section-title h2 { font-size: 1.3rem; }
    .admin-topbar { padding: 12px; padding-left: 58px; }
    .admin-topbar span { font-size: 0.78rem; }
    .admin-card { padding: 14px; }
    .admin-card h2 { font-size: 1.05rem; }
    .stat-card h3 { font-size: 1.4rem; }
    .stat-card p { font-size: 0.78rem; }
    .stat-card { padding: 18px; }
    .btn { font-size: 0.85rem; padding: 10px 16px; }
}
