/* ============================================================
   Rock Sahara Technologies — Main Stylesheet
   Brand Colors:
     Navy Blue (Primary):  #1D3461
     Orange (Accent):      #E8760A
     Light Blue:           #2E5FA3
     White:                #FFFFFF
     Light Gray BG:        #F7F8FC
     Dark Text:            #2D2D2D
   ============================================================ */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: #2D2D2D;
    background: #fff;
    overflow-x: hidden;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.25; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: #F7F8FC; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }

/* Section Headings */
.section-header { margin-bottom: 50px; }
.section-header .overline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #E8760A;
    display: block;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #1D3461;
    margin-bottom: 16px;
}
.section-header p { color: #555; max-width: 680px; }
.section-header.text-center p { margin: 0 auto; }
.section-divider {
    width: 60px; height: 4px;
    background: #E8760A;
    border-radius: 2px;
    margin-bottom: 20px;
}
.section-header.text-center .section-divider { margin: 0 auto 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .3s ease;
    text-align: center;
}
.btn-orange { background: #E8760A; color: #fff; border-color: #E8760A; }
.btn-orange:hover { background: #c96200; border-color: #c96200; color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: #1D3461; transform: translateY(-2px); }
.btn-outline-orange { background: transparent; color: #E8760A; border-color: #E8760A; }
.btn-outline-orange:hover { background: #E8760A; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-gap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- TOP BAR ---------- */
.topbar {
    background: #1D3461;
    color: #fff;
    font-size: 0.82rem;
    padding: 8px 0;
    position: relative;
    z-index: 1000;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-contact a, .topbar-contact span { color: #cdd5e0; margin-right: 12px; }
.topbar-contact a:hover { color: #E8760A; }
.topbar-contact i { color: #E8760A; margin-right: 5px; }
.separator { margin: 0 4px; color: #4a6082; }
.topbar-social a {
    color: #cdd5e0;
    margin-left: 12px;
    font-size: 0.8rem;
    width: 26px; height: 26px;
    border: 1px solid #4a6082;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .3s;
}
.topbar-social a:hover { color: #fff; border-color: #E8760A; background: #E8760A; }

/* ---------- MAIN HEADER ---------- */
.main-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow .3s, background .3s;
}
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 62px; width: auto; object-fit: contain; }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 14px;
    color: #1D3461;
    border-radius: 4px;
    transition: color .3s, background .3s;
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 14px; right: 14px;
    height: 2px;
    background: #E8760A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: #E8760A; }
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { transform: scaleX(1); }
.btn-nav {
    background: #E8760A !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: #c96200 !important; transform: translateY(-2px); }

/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
    width: 25px; height: 3px;
    background: #1D3461;
    border-radius: 3px;
    display: block;
    transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: #1D3461;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://mykdmcloud.net/RST/images/01.jpg') center/cover no-repeat;
    opacity: 0.25;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(29,52,97,0.95) 0%, rgba(29,52,97,0.65) 60%, rgba(232,118,10,0.4) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 720px;
    padding: 80px 0;
}
.hero-overline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: #E8760A;
    margin-bottom: 16px;
    display: block;
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.15;
}
.hero-content h1 span { color: #E8760A; }
.hero-content p {
    font-size: 1.1rem; color: rgba(255,255,255,0.85);
    margin-bottom: 36px; max-width: 600px;
}
.hero-stats {
    display: flex; gap: 40px; flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat h3 { font-size: 2.2rem; color: #E8760A; }
.hero-stat p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.5); font-size: 0.75rem;
    animation: bounce 2s infinite;
}
.scroll-indicator i { font-size: 1.2rem; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- ABOUT PREVIEW (HOME) ---------- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(29,52,97,0.15);
    width: 100%;
}
.about-badge {
    position: absolute;
    bottom: -24px; right: -24px;
    background: #E8760A;
    color: #fff;
    padding: 24px 28px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(232,118,10,0.35);
}
.about-badge strong { display: block; font-family: 'Montserrat',sans-serif; font-size: 2rem; }
.about-badge span { font-size: 0.8rem; }
.about-text .why-list { margin: 24px 0; }
.about-text .why-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.about-text .why-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(232,118,10,0.1);
    color: #E8760A;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.about-text .why-item h5 { font-family: 'Montserrat',sans-serif; font-size: 0.95rem; color: #1D3461; margin-bottom: 4px; }
.about-text .why-item p { font-size: 0.88rem; color: #666; }

/* ---------- SERVICES GRID (HOME) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 4px solid transparent;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1D3461, #2E5FA3);
    opacity: 0;
    transition: opacity .4s;
}
.service-card:hover { transform: translateY(-8px); border-top-color: #E8760A; box-shadow: 0 16px 40px rgba(29,52,97,0.15); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 62px; height: 62px;
    background: rgba(232,118,10,0.1);
    color: #E8760A;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: all .3s;
}
.service-card:hover .service-icon { background: rgba(255,255,255,0.15); color: #fff; }
.service-card h3 {
    font-size: 1.05rem; color: #1D3461;
    margin-bottom: 12px;
    transition: color .3s;
}
.service-card:hover h3 { color: #fff; }
.service-card p { font-size: 0.88rem; color: #666; transition: color .3s; }
.service-card:hover p { color: rgba(255,255,255,0.8); }
.service-card .read-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 18px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700; font-size: 0.82rem;
    color: #E8760A;
    transition: color .3s;
}
.service-card:hover .read-more { color: #fff; }
.service-card .read-more i { font-size: 0.75rem; transition: transform .3s; }
.service-card:hover .read-more i { transform: translateX(4px); }

/* ---------- WHY CHOOSE US (HOME) ---------- */
.why-choose { background: #1D3461; position: relative; overflow: hidden; }
.why-choose-bg {
    position: absolute; inset: 0;
    background: url('https://mykdmcloud.net/RST/images/Enge01.jpg') center/cover no-repeat;
    opacity: 0.07;
}
.why-choose .section-header h2 { color: #fff; }
.why-choose .section-header .overline { color: #E8760A; }
.why-choose .section-divider { background: #E8760A; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.why-card {
    text-align: center;
    padding: 36px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all .3s;
}
.why-card:hover { border-color: #E8760A; background: rgba(255,255,255,0.04); transform: translateY(-6px); }
.why-card .why-num { font-family: 'Montserrat',sans-serif; font-size: 3rem; font-weight: 800; color: rgba(232,118,10,0.2); display: block; line-height: 1; }
.why-card i { font-size: 2.2rem; color: #E8760A; margin: 10px 0 16px; display: block; }
.why-card h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.85rem; }

/* ---------- INDUSTRIES ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
    position: relative; border-radius: 8px; overflow: hidden;
    height: 220px; cursor: pointer;
}
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.industry-card:hover img { transform: scale(1.08); }
.industry-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(29,52,97,0.9) 0%, rgba(29,52,97,0.3) 60%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px;
    transition: background .3s;
}
.industry-card:hover .industry-overlay { background: linear-gradient(to top, rgba(232,118,10,0.85) 0%, rgba(29,52,97,0.6) 100%); }
.industry-overlay h4 { color: #fff; font-size: 0.95rem; }
.industry-overlay p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-top: 4px; }

/* ---------- GALLERY / PROJECTS (HOME) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
.gallery-item {
    position: relative; border-radius: 8px; overflow: hidden; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(29,52,97,0.75);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
    padding: 20px; text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: #fff; margin-bottom: 6px; font-size: 1rem; }
.gallery-overlay p { color: rgba(255,255,255,0.8); font-size: 0.82rem; }
.gallery-overlay i { font-size: 2rem; color: #E8760A; margin-bottom: 12px; }

/* ---------- PROJECTS LIST ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.project-card img { width: 180px; height: 160px; object-fit: cover; flex-shrink: 0; }
.project-info { padding: 24px; }
.project-info h4 { color: #1D3461; font-size: 0.95rem; margin-bottom: 8px; }
.project-info p { color: #666; font-size: 0.85rem; }
.project-tag {
    display: inline-block;
    background: rgba(232,118,10,0.1);
    color: #E8760A;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 10px;
}

/* ---------- TESTIMONIAL / QUOTE ---------- */
.quote-section { background: linear-gradient(135deg, #1D3461 0%, #2E5FA3 100%); }
.quote-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-inner i { font-size: 3rem; color: rgba(232,118,10,0.4); }
.quote-inner blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    margin: 20px 0;
}
.quote-inner cite { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ---------- CTA BANNER ---------- */
.cta-section {
    background: #E8760A;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    background: #1D3461;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background: url('https://mykdmcloud.net/RST/images/Enge02.jpg') center/cover no-repeat;
    opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.breadcrumb a { color: #E8760A; }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }

/* ---------- ABOUT PAGE ---------- */
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.mv-card.blue { background: #1D3461; }
.mv-card.orange { background: #E8760A; }
.mv-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.mv-card p { color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px; background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(232,118,10,0.1);
    color: #E8760A;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.value-card h4 { color: #1D3461; margin-bottom: 6px; }
.value-card p { font-size: 0.87rem; color: #666; }

/* Responsibility / SHEQ */
.resp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.resp-card {
    background: #fff; border-radius: 8px;
    padding: 32px 24px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-bottom: 4px solid #E8760A;
    transition: transform .3s;
}
.resp-card:hover { transform: translateY(-6px); }
.resp-card i { font-size: 2.5rem; color: #1D3461; margin-bottom: 16px; }
.resp-card h4 { color: #1D3461; margin-bottom: 10px; }
.resp-card ul { text-align: left; }
.resp-card ul li { padding: 5px 0; font-size: 0.87rem; color: #555; display: flex; gap: 8px; }
.resp-card ul li::before { content: '›'; color: #E8760A; font-weight: 700; flex-shrink: 0; }

/* ---------- SERVICES PAGE ---------- */
.service-section { padding: 70px 0; }
.service-section:nth-child(even) { background: #F7F8FC; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-layout.reverse { direction: rtl; }
.service-layout.reverse > * { direction: ltr; }
.service-content ul li {
    padding: 8px 0;
    display: flex; gap: 10px;
    font-size: 0.9rem; color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.service-content ul li:last-child { border-bottom: none; }
.service-content ul li i { color: #E8760A; margin-top: 3px; flex-shrink: 0; }
.service-img { border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.service-img img { width: 100%; height: 380px; object-fit: cover; }

/* Products grid */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 160px; object-fit: cover; }
.product-info { padding: 18px; }
.product-info h5 { color: #1D3461; font-size: 0.88rem; margin-bottom: 6px; }
.product-info p { font-size: 0.82rem; color: #777; }

/* Sectors list */
.sectors-wrap { display: flex; flex-wrap: wrap; gap: 14px; }
.sector-tag {
    display: flex; align-items: center; gap: 8px;
    background: #1D3461; color: #fff;
    padding: 10px 20px; border-radius: 4px;
    font-family: 'Montserrat',sans-serif; font-weight: 600; font-size: 0.85rem;
}
.sector-tag i { color: #E8760A; }

/* ---------- CONTACT PAGE ---------- */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.contact-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 48px 40px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}
.contact-form-wrap h3 { color: #1D3461; font-size: 1.3rem; margin-bottom: 6px; }
.contact-form-wrap p.sub { color: #888; font-size: 0.88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: 'Montserrat',sans-serif;
    font-weight: 600; font-size: 0.82rem;
    color: #1D3461;
    margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecf0;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #2D2D2D;
    background: #fafbfd;
    transition: border-color .3s, box-shadow .3s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #E8760A; box-shadow: 0 0 0 3px rgba(232,118,10,0.1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
/* Honeypot — visually hidden, not display:none (browsers skip display:none) */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* Alert messages */
.alert {
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.alert-error { background: #fdecea; color: #c62828; border-left: 4px solid #c62828; }

/* Contact Info Sidebar */
.contact-info-box {
    background: #1D3461;
    border-radius: 8px;
    padding: 36px 28px;
    color: #fff;
}
.contact-info-box h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.contact-info-box .sub { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.c-info-item { display: flex; gap: 14px; align-items: flex-start; }
.c-info-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(232,118,10,0.15);
    color: #E8760A; font-size: 1rem;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}
.c-info-item h5 { color: rgba(255,255,255,0.6); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.c-info-item p, .c-info-item a { color: #fff; font-size: 0.9rem; }
.c-info-item a:hover { color: #E8760A; }

/* Map placeholder */
.map-placeholder {
    margin-top: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    text-align: center;
    flex-direction: column; gap: 8px;
}
.map-placeholder i { font-size: 2rem; color: #E8760A; }

/* ---------- FOOTER ---------- */
.site-footer { background: #0F2040; }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #8a9bb5; font-size: 0.87rem; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px;
    border: 1px solid #2a4070;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #8a9bb5;
    font-size: 0.82rem;
    transition: all .3s;
}
.footer-social a:hover { border-color: #E8760A; color: #E8760A; }

.footer-col h4 {
    color: #fff;
    font-family: 'Montserrat',sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E8760A;
    display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #8a9bb5; font-size: 0.87rem;
    display: flex; align-items: center; gap: 7px;
    transition: color .3s;
}
.footer-col ul li a i { font-size: 0.7rem; color: #E8760A; }
.footer-col ul li a:hover { color: #E8760A; }

.footer-contact-list li {
    display: flex; gap: 12px; align-items: flex-start;
    margin-bottom: 14px;
    color: #8a9bb5; font-size: 0.87rem;
}
.footer-contact-list li i { color: #E8760A; margin-top: 3px; }
.footer-contact-list a { color: #8a9bb5; }
.footer-contact-list a:hover { color: #E8760A; }

.footer-bottom {
    border-top: 1px solid #1a2e50;
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #5a7098;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: #E8760A;
    color: #fff;
    border: none; border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(232,118,10,0.4);
    opacity: 0; visibility: hidden;
    transition: all .3s;
    z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #c96200; transform: translateY(-3px); }

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 2px solid #E8760A;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 0; overflow: hidden;
        transition: max-height .4s ease;
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
    .main-nav ul li a { padding: 12px 24px; display: block; }
    .main-nav ul li a::after { display: none; }
    .btn-nav { margin: 8px 24px 14px; display: block; text-align: center; }
    .about-preview, .service-layout, .mission-vision, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .about-badge { position: static; margin-top: 20px; display: inline-block; }
    .service-layout.reverse { direction: ltr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.tall { grid-row: span 1; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { flex-direction: column; }
    .project-card img { width: 100%; height: 200px; }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .topbar-contact .separator, .topbar-contact span:not(:first-child) { display: none; }
    .values-grid { grid-template-columns: 1fr; }
    .resp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .contact-form-wrap { padding: 28px 20px; }
    .products-grid { grid-template-columns: 1fr; }
}
