/* =========================================================
   EPCNI — Clean Modern Professional Theme
   White/Light base | Green accents | Inter font
   ========================================================= */

:root {
    --green: #009A44;
    --green-light: #00843D;
    --green-xlight: #e6f4ee;
    --navy: #0f2040;
    --text: #1a1a2e;
    --text-2: #4a4a6a;
    --text-3: #8888aa;
    --bg: #ffffff;
    --bg-2: #f7f9fc;
    --bg-3: #eef2f7;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ---- Utility ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-green { color: var(--green); }
.label-tag {
    display: inline-block; background: var(--green-xlight);
    color: var(--green); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 14px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.animate-fade { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: #fff;
    font-weight: 700; font-size: 0.92rem; padding: 14px 28px;
    border-radius: 100px; border: none; cursor: pointer;
    transition: var(--transition); box-shadow: 0 4px 16px rgba(0,154,68,0.15);
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,154,68,0.35); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(8px);
    font-weight: 600; font-size: 0.92rem; padding: 13px 24px;
    border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer; transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.3); }
.btn-ghost-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    font-weight: 600; font-size: 0.92rem; padding: 13px 24px;
    border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.6);
    cursor: pointer; transition: var(--transition);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }
.btn-outline-green {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--green);
    font-weight: 700; font-size: 0.92rem; padding: 13px 28px;
    border-radius: 100px; border: 2px solid var(--green);
    cursor: pointer; transition: var(--transition);
}
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-ghost-modal {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-3); color: var(--text-2);
    font-weight: 600; font-size: 0.9rem; padding: 12px 24px;
    border-radius: 100px; border: none; cursor: pointer;
    transition: var(--transition);
}
.btn-ghost-modal:hover { background: var(--border); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 96px; gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 76px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
    color: var(--text-2); font-size: 0.9rem; font-weight: 500;
    padding: 8px 16px; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-xlight); }
.btn-nav {
    background: var(--green); color: #fff;
    font-weight: 700; font-size: 0.875rem;
    padding: 10px 22px; border-radius: 100px;
    transition: var(--transition); white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,154,68,0.2);
}
.btn-nav:hover { background: var(--green-light); transform: translateY(-1px); }
.burger { display: none; background: none; border: none; font-size: 1.3rem; color: var(--text); cursor: pointer; padding: 4px 8px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding-top: 96px; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-bg-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,30,60,0.82) 45%, rgba(10,30,60,0.45) 100%); }

.hero-content {
    position: relative; z-index: 1;
    flex: 1; display: flex; align-items: center; justify-content: space-between;
    gap: 48px; padding: 60px 80px 40px;
    max-width: 1180px; margin: 0 auto; width: 100%;
}
.hero-text { max-width: 580px; }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 0.78rem; font-weight: 600;
    padding: 8px 16px; border-radius: 100px;
    margin-bottom: 22px; letter-spacing: 0.05em;
}
.pill-dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero-text h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 20px; letter-spacing: -0.03em; }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* EPC Card */
.hero-epc-card {
    background: rgba(255,255,255,0.97); border-radius: var(--radius);
    padding: 24px; min-width: 220px; max-width: 260px;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}
.epc-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.epc-card-logo { height: 32px; width: auto; }
.epc-bars { display: flex; flex-direction: column; gap: 5px; }
.epc-bar { display: flex; align-items: center; gap: 6px; }
.epc-bar span {
    width: 24px; height: 24px; border-radius: 4px;
    background: var(--c); color: #fff; font-size: 0.72rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bar-fill {
    height: 20px; background: var(--c); opacity: 0.25;
    border-radius: 0 3px 3px 0; flex: 1;
    transform: scaleX(0); transform-origin: left;
    animation: barGrow 1s ease forwards;
}
.epc-bar:nth-child(1) .bar-fill { animation-delay: 0.8s; max-width: 88%; }
.epc-bar:nth-child(2) .bar-fill { animation-delay: 0.95s; max-width: 76%; }
.epc-bar:nth-child(3) .bar-fill { animation-delay: 1.1s; max-width: 64%; }
.epc-bar:nth-child(4) .bar-fill { animation-delay: 1.25s; max-width: 52%; }
.epc-bar:nth-child(5) .bar-fill { animation-delay: 1.4s; max-width: 40%; }
.epc-bar:nth-child(6) .bar-fill { animation-delay: 1.55s; max-width: 28%; }
.epc-bar:nth-child(7) .bar-fill { animation-delay: 1.7s; max-width: 16%; }
@keyframes barGrow { to { transform: scaleX(1); } }
.epc-bar em { font-style: normal; font-size: 0.65rem; color: var(--text-3); width: 38px; text-align: right; }
.epc-card-footer { margin-top: 14px; font-size: 0.68rem; color: var(--text-3); text-align: center; border-top: 1px solid var(--border); padding-top: 10px; }

/* Hero Stats Bar */
.hero-stats-bar {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    gap: 0; padding: 0; border-top: 1px solid var(--border);
}
.hstat {
    flex: 1; text-align: center; padding: 22px 16px;
    display: flex; flex-direction: column; gap: 4px;
}
.hstat strong { font-size: 2rem; font-weight: 900; color: var(--green); line-height: 1; }
.hstat span { font-size: 0.8rem; color: var(--text-2); font-weight: 500; }
.hstat-div { width: 1px; background: var(--border); height: 40px; align-self: center; }

/* =========================================================
   ABOUT STRIP
   ========================================================= */
.about-strip { padding: 100px 0; background: var(--bg-2); }
.about-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-col { position: relative; }
.about-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---- Animated FX wrapper ---- */
.about-fx-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,154,68,0.25), 0 0 0 1px rgba(0,154,68,0.2);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-fx-wrap:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

/* Floating image */
.about-photo-float {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    animation: imgFloat 8s ease-in-out infinite;
    transform-origin: center;
}
@keyframes imgFloat {
    0%, 100% { transform: translateY(0px) scale(1); filter: brightness(1); }
    50%      { transform: translateY(-12px) scale(1.03); filter: brightness(1.05); }
}

/* Animated corner brackets */
.fx-corner {
    position: absolute; width: 40px; height: 40px; z-index: 4; pointer-events: none;
    border-color: var(--green); border-style: solid; opacity: 0.9;
    animation: cornerPulse 3s ease-in-out infinite;
}
.fx-tl { top: 12px; left: 12px; border-width: 4px 0 0 4px; border-radius: 6px 0 0 0; animation-delay: 0s; }
.fx-tr { top: 12px; right: 12px; border-width: 4px 4px 0 0; border-radius: 0 6px 0 0; animation-delay: 0.75s; }
.fx-bl { bottom: 12px; left: 12px; border-width: 0 0 4px 4px; border-radius: 0 0 0 6px; animation-delay: 1.5s; }
.fx-br { bottom: 12px; right: 12px; border-width: 0 4px 4px 0; border-radius: 0 0 6px 0; animation-delay: 2.25s; }
@keyframes cornerPulse {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 8px var(--green)); }
    50%       { opacity: 0.2; transform: scale(0.85); filter: drop-shadow(0 0 0px var(--green)); }
}

/* Scanline sweep */
.fx-scanline {
    position: absolute; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0,154,68,1), transparent);
    z-index: 3; pointer-events: none;
    animation: scanSweep 3s linear infinite;
    box-shadow: 0 0 20px rgba(0,154,68,0.9);
}
@keyframes scanSweep {
    0%   { top: -10%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

/* Sci-fi Spinning Tech Rings */
.fx-tech-ring {
    position: absolute; top: 50%; left: 50%;
    border-radius: 50%; border: 2px dashed rgba(0,154,68,0.4);
    z-index: 3; pointer-events: none;
    transform: translate(-50%, -50%);
}
.fx-ring-1 {
    width: 70%; aspect-ratio: 1;
    border: 2px dashed rgba(0,154,68,0.5);
    border-left: 2px solid transparent; border-right: 2px solid transparent;
    animation: spinRing 20s linear infinite;
}
.fx-ring-2 {
    width: 55%; aspect-ratio: 1;
    border: 1px solid rgba(0,154,68,0.3);
    border-top: 3px solid rgba(0,154,68,0.8);
    animation: spinRing 12s linear infinite reverse;
}
.fx-ring-3 {
    width: 40%; aspect-ratio: 1;
    border: 1px dotted rgba(0,154,68,0.6);
    animation: spinRing 30s linear infinite;
}
@keyframes spinRing {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Data dots */
.fx-dot {
    position: absolute; left: var(--x); top: var(--y);
    width: 6px; height: 6px; background: #fff;
    border-radius: 50%; z-index: 4; pointer-events: none;
    box-shadow: 0 0 15px 3px var(--green);
    animation: dotBlink var(--s, 1.5s) ease-in-out infinite;
}
.fx-dot-lg { width: 12px; height: 12px; }
@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0; transform: scale(0.1); }
}

.about-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--green); color: #fff;
    border-radius: var(--radius-sm); padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 24px rgba(0,154,68,0.35);
    z-index: 5;
}
.about-badge i { font-size: 1.6rem; }
.about-badge strong { display: block; font-size: 0.85rem; font-weight: 700; }
.about-badge small { font-size: 0.72rem; opacity: 0.85; }
.about-text-col h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; margin-top: 10px; line-height: 1.2; }
.about-text-col p { color: var(--text-2); margin-bottom: 14px; }
.check-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.check-list li i { color: var(--green); font-size: 1rem; }

/* =========================================================
   SERVICES PREVIEW
   ========================================================= */
.services-preview { padding: 100px 0; background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.svc-card {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.svc-img-wrap { height: 180px; overflow: hidden; }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-img { transform: scale(1.06); }
.svc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--green-xlight); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 14px;
}
.svc-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.svc-body p { font-size: 0.88rem; color: var(--text-2); flex: 1; margin-bottom: 18px; }
.svc-btn {
    align-self: flex-start;
    background: var(--green-xlight); color: var(--green);
    border: none; padding: 10px 20px; border-radius: 100px;
    font-weight: 700; font-size: 0.82rem; cursor: pointer;
    transition: var(--transition);
}
.svc-btn:hover { background: var(--green); color: #fff; }
.view-all-wrap { text-align: center; margin-top: 48px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--green)); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.8); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cta-btns .btn-primary { background: #fff; color: var(--green); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.cta-btns .btn-primary:hover { background: var(--green-xlight); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { 
    background: linear-gradient(225deg, var(--navy), #0a1122, #0d1a33);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    color: rgba(255,255,255,0.75); padding: 70px 0 0; 
    position: relative; overflow: hidden;
    border-top: 2px solid rgba(0,154,68,0.2);
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.footer::before, .footer::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
    pointer-events: none; opacity: 0.3; z-index: 0;
}
.footer::before {
    width: 400px; height: 400px; background: rgba(0,154,68,0.4);
    top: -150px; left: -100px; animation: floatShape 12s ease-in-out infinite;
}
.footer::after {
    width: 350px; height: 350px; background: rgba(0,132,61,0.3);
    bottom: -150px; right: 10%; animation: floatShape 18s ease-in-out infinite reverse;
}

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 48px; margin-bottom: 0; position: relative; z-index: 1; }

/* Footer brand column — full logo + text + big icons stacked vertically */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-logo {
    width: auto;
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 22px; max-width: 260px; }

/* Big social icons */
.socials { display: flex; gap: 12px; margin-top: auto; }
.socials a {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.socials a::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--green); transform: translateY(100%); transition: transform 0.4s ease; z-index: -1;
}
.socials a:hover { border-color: transparent; color: #fff; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,154,68,0.4); }
.socials a:hover::before { transform: translateY(0); }

@keyframes clickFlip {
    0% { transform: perspective(600px) rotateY(0deg) translateY(-5px); }
    50% { transform: perspective(600px) rotateY(180deg) translateY(-8px); box-shadow: 0 15px 30px rgba(0,154,68,0.6); }
    100% { transform: perspective(600px) rotateY(360deg) translateY(-5px); }
}
.socials a.flipped { animation: clickFlip 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

.footer-col h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: #fff; margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.footer-col > a { 
    display: inline-block; font-size: 0.9rem; color: rgba(255,255,255,0.65); 
    margin-bottom: 12px; transition: all 0.3s ease; position: relative;
}
.footer-col > a::after {
    content: ''; position: absolute; width: 0; height: 1.5px; bottom: -2px; left: 0;
    background: var(--green); transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--green);
}
.footer-col > a:hover { color: #fff; transform: translateX(6px); }
.footer-col > a:hover::after { width: 100%; }

.footer-col p { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; transition: color 0.3s; }
.footer-col p i { margin-right: 12px; color: var(--green); font-size: 1.1rem; text-shadow: 0 0 10px rgba(0,154,68,0.5); }
.footer-col p a { display: inline; color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-col p a:hover { color: #fff; }

/* Thin divider before footer bottom */
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 52px 0 0; position: relative; z-index: 1; }
.footer-bottom { padding: 24px 0; position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   SERVICE MODALS
   ========================================================= */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(15,32,64,0.7); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeOverlay 0.3s ease; }
@keyframes fadeOverlay { from{opacity:0;} to{opacity:1;} }
.modal-box {
    background: var(--bg); border-radius: var(--radius);
    max-width: 560px; width: 100%; max-height: 90vh;
    overflow-y: auto; position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.35s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideUp { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--bg-3); border: none; border-radius: 50%;
    width: 36px; height: 36px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--text-2); transition: var(--transition); z-index: 1;
}
.modal-close:hover { background: var(--green); color: #fff; }
.modal-content { padding: 36px 36px 24px; }
.modal-content .modal-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-xlight); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }
.modal-content h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.modal-content p { color: var(--text-2); margin-bottom: 12px; font-size: 0.95rem; }
.modal-content ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.modal-content ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); }
.modal-content ul li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.modal-footer { display: flex; gap: 12px; padding: 20px 36px 28px; border-top: 1px solid var(--border); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.page-hero { padding: 116px 0 24px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), #1a3a6e); }
.contact-hero-animated { background: var(--navy); }
.hero-bg-overlay { position: absolute; inset: 0; background: url('hero.png') center/cover; opacity: 0.2; mix-blend-mode: luminosity; }
.hero-animated-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-animated-shapes .shape {
    position: absolute; border-radius: 50%; filter: blur(60px);
    animation: floatShape 15s ease-in-out infinite; opacity: 0.5;
}
.shape-1 { width: 400px; height: 400px; background: rgba(0,154,68,0.4); top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: rgba(0,132,61,0.3); bottom: -50px; right: -50px; animation-delay: -5s; }
.shape-3 { width: 250px; height: 250px; background: rgba(0,154,68,0.2); top: 50%; left: 50%; animation-delay: -10s; }
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: #fff; margin-bottom: 16px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.contact-section { padding: 100px 0; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.cinfo-cards { display: flex; flex-direction: column; gap: 16px; }
.cinfo-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 24px; display: flex; align-items: flex-start; gap: 18px; box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.cinfo-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: var(--green); transform: scaleY(0); transition: transform 0.4s ease;
    transform-origin: bottom;
}
.cinfo-card:hover { transform: translateX(10px) translateY(-4px); box-shadow: 0 15px 30px rgba(0,154,68,0.1); border-color: rgba(0,154,68,0.3); }
.cinfo-card:hover::before { transform: scaleY(1); }
.cinfo-card i {
    width: 46px; height: 46px; border-radius: 12px; background: var(--green-xlight);
    color: var(--green); display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; flex-shrink: 0; transition: all 0.4s ease;
}
.cinfo-card:hover i { background: var(--green); color: #fff; transform: rotateY(180deg); }
.cinfo-card strong { display: block; font-size: 0.8rem; font-weight: 800; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; transition: color 0.3s; }
.cinfo-card:hover strong { color: var(--green); }
.cinfo-card span, .cinfo-card a { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.cinfo-card a:hover { color: var(--green); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 24px; border: 1px solid rgba(0,154,68,0.2); transition: all 0.4s ease; }
.map-wrap:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,154,68,0.15); border-color: var(--green); }
.map-wrap iframe { width: 100%; height: 280px; border: none; display: block; filter: grayscale(20%) contrast(1.1); transition: filter 0.4s; }
.map-wrap:hover iframe { filter: grayscale(0%) contrast(1); }
.cform-box {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
    transition: all 0.4s ease;
}
.cform-box:hover { box-shadow: 0 25px 50px rgba(0,154,68,0.12); border-color: rgba(0,154,68,0.2); }
.cform-box::after {
    content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0,154,68,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cform-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fg label { font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.fg input, .fg select, .fg textarea {
    background: var(--bg-2); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    padding: 12px 14px; font-family: inherit; font-size: 0.93rem;
    transition: var(--transition); outline: none; width: 100%;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); }
.fg select option { background: var(--bg); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--green); background: var(--bg); box-shadow: 0 0 0 3px rgba(0,154,68,0.1); }
.fg textarea { resize: vertical; min-height: 110px; }
.form-success-msg { display: none; align-items: center; gap: 10px; color: var(--green); font-weight: 600; background: var(--green-xlight); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 12px; font-size: 0.9rem; }

/* =========================================================
   HISTORY PAGE
   ========================================================= */
.history-section { padding: 80px 0; background: var(--bg); }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 0 20px; }
.timeline::before { content:''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--green) 10%, var(--green) 90%, transparent); transform: translateX(-50%); }
.tl-item { display: flex; gap: 0; margin-bottom: 52px; position: relative; }
.tl-item.left { flex-direction: row; }
.tl-item.right { flex-direction: row-reverse; }
.tl-box {
    width: calc(50% - 36px); background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.tl-box:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.tl-item.left .tl-box { margin-right: auto; }
.tl-item.right .tl-box { margin-left: auto; }
.tl-year { font-size: 0.72rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; display: block; }
.tl-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tl-box p { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }
.tl-dot {
    position: absolute; left: 50%; top: 24px; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 3px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    color: var(--green); font-size: 0.9rem; z-index: 1;
    box-shadow: 0 0 0 4px rgba(0,154,68,0.12);
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-full { padding: 80px 0; background: var(--bg-2); }
.svc-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-full-card {
    background: var(--bg); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: var(--transition); display: flex; flex-direction: column;
}
.svc-full-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.sfc-img { height: 200px; overflow: hidden; }
.sfc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.svc-full-card:hover .sfc-img img { transform: scale(1.05); }
.sfc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.sfc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-xlight); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 14px; }
.sfc-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.sfc-body p { font-size: 0.9rem; color: var(--text-2); flex: 1; }

/* =========================================================
   NEWS PAGE
   ========================================================= */
.news-section { padding: 100px 0; background: var(--bg-2); position: relative; }
.news-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(0,154,68,0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(15,32,64,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 1; }
.news-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.news-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--green), #00d45d);
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,154,68,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
    border-color: rgba(0,154,68,0.3);
    background: #fff;
}
.news-card:hover::before { transform: scaleX(1); }
.news-card-inner { display: flex; flex-direction: column; flex: 1; }
.news-title {
    font-size: 1.25rem; font-weight: 800; line-height: 1.4; margin-bottom: 16px;
    color: rgb(22, 155, 98); /* Light Irish Green */
    transition: all 0.3s;
}
.news-card:hover .news-title { filter: brightness(1.2); }
.news-img { width: 100%; height: 90px; margin-bottom: 20px; border-radius: var(--radius-sm); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-excerpt {
    font-size: 0.95rem; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; flex: 1;
}
.news-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; border-top: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em;
}
.news-meta i { color: var(--green); margin-right: 6px; }
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero-epc-card { display: none; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .burger { display: block; }
    .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 96px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); padding: 16px 24px; z-index: 999; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .hero-content { padding: 40px 24px 30px; flex-direction: column; }
    .hero-stats-bar { flex-wrap: wrap; }
    .hstat-div { display: none; }
    .about-strip .wrap { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .timeline::before { left: 16px; }
    .tl-item { flex-direction: column !important; padding-left: 52px; }
    .tl-box { width: 100% !important; margin: 0 !important; }
    .tl-dot { left: 16px; }
    .svc-full-grid { grid-template-columns: 1fr; }
    .frow { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .modal-content, .modal-footer { padding-left: 24px; padding-right: 24px; }
}
