/* ═══════════════════════════════════════════
   GeoSphere Innovation Dynamics Ltd
   Corporate Website — Full Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─── */
:root {
    --green-dark: #0B1F17;
    --green: #1B4332;
    --green-light: #2D6A4F;
    --green-mid: #40916C;
    --green-pale: #74C69D;
    --green-glow: #B7E4C7;
    --cream: #F1F8F4;
    --white: #FFFFFF;
    --text: #52796F;
    --text-light: #8FADA4;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --max-width: 1200px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--green-dark); color: var(--text-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::placeholder { color: rgba(116,198,157,0.3); }

/* ─── Utilities ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section-label { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--green-mid); font-weight: 600; }
.section-label__line { width: 40px; height: 2px; background: var(--green-mid); border-radius: 1px; display: inline-block; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(183,228,199,0.15), transparent); margin: 0 8%; }

/* ─── Animations ─── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.08s; }
.fade-in-d2 { transition-delay: 0.16s; }
.fade-in-d3 { transition-delay: 0.24s; }
.fade-in-d4 { transition-delay: 0.32s; }

@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── Navigation ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11,31,23,0.95); backdrop-filter: blur(20px); border-bottom-color: rgba(116,198,157,0.1); }
.nav__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--green-pale); font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.nav__logo em { color: var(--green-pale); font-style: normal; }
.nav__logo-icon { color: var(--green-pale); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-light); transition: color 0.3s; font-weight: 500; }
.nav__links a:hover, .nav__links a.active { color: var(--green-pale); }
.nav__toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav__mobile { display: none; background: rgba(11,31,23,0.98); padding: 20px 32px; flex-direction: column; gap: 18px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 15px; color: var(--white); letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }

/* ─── Home Hero ─── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 50%, var(--green-dark) 100%); position: relative; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; opacity: 0.025; background-image: linear-gradient(rgba(183,228,199,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(183,228,199,0.6) 1px, transparent 1px); background-size: 72px 72px; }
.hero__globe { position: absolute; color: var(--green-pale); opacity: 0.06; animation: spin 120s linear infinite; }
.hero__globe--1 { top: -10%; left: -8%; width: 700px; height: 700px; }
.hero__globe--2 { bottom: -15%; right: -10%; width: 500px; height: 500px; animation-direction: reverse; animation-duration: 90s; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero__orb--1 { top: 20%; right: 15%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(64,145,108,0.12), transparent 70%); }
.hero__orb--2 { bottom: 15%; left: 10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(45,106,79,0.1), transparent 70%); }
.hero__content { text-align: center; max-width: 820px; padding: 0 32px; position: relative; z-index: 1; }
.hero__label { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--green-pale); margin-bottom: 28px; font-weight: 600; }
.hero__title { font-family: var(--font-display); font-size: clamp(38px, 6.5vw, 76px); font-weight: 700; color: var(--white); line-height: 1.08; }
.hero__title em { color: var(--green-pale); }
.hero__desc { font-size: clamp(15px, 1.8vw, 18px); color: var(--text-light); line-height: 1.75; margin-top: 28px; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero__actions { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--green-mid)); animation: pulse 2s ease-in-out infinite; }

/* ─── Page Hero (interior pages) ─── */
.page-hero { padding: 160px 0 80px; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%); position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.page-hero__globe { color: var(--green-pale); opacity: 0.05; animation: spin 120s linear infinite; }
.page-hero__content h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: var(--white); line-height: 1.12; }
.page-hero__content h1 em { color: var(--green-pale); font-style: italic; }
.page-hero__content p { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-light); line-height: 1.75; margin-top: 20px; max-width: 600px; }

/* ─── Buttons ─── */
.btn { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 40px; border: none; border-radius: 2px; transition: all 0.3s; cursor: pointer; text-align: center; }
.btn--primary { background: var(--green-mid); color: var(--white); }
.btn--primary:hover { background: var(--green-pale); color: var(--green-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(183,228,199,0.25); }
.btn--outline:hover { border-color: rgba(183,228,199,0.6); }
.btn--sm { padding: 12px 28px; font-size: 12px; }

/* ─── Cards ─── */
.card { background: rgba(116,198,157,0.03); border: 1px solid rgba(116,198,157,0.08); padding: 40px 36px; transition: all 0.4s; }
.card:hover { border-color: rgba(116,198,157,0.25); transform: translateY(-3px); }
.card__tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green-mid); font-weight: 600; background: rgba(64,145,108,0.12); padding: 4px 12px; border-radius: 2px; display: inline-block; }
.card__meta { font-size: 12px; color: var(--text); font-style: italic; }
.card__title { font-family: var(--font-display); font-size: 20px; color: var(--white); line-height: 1.3; font-weight: 600; margin: 16px 0 12px; }
.card__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.card__link { display: inline-block; margin-top: 24px; font-size: 12px; color: var(--green-pale); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; transition: color 0.3s; }
.card__link:hover { color: var(--green-glow); }
.card__icon { margin-bottom: 20px; color: var(--green-pale); opacity: 0.85; }
.card--accent-top { padding: 0; overflow: hidden; }
.card--accent-top .card__bar { height: 4px; background: linear-gradient(90deg, var(--green-mid), var(--green-pale)); }
.card--accent-top .card__body { padding: 32px 28px; }

/* ─── Section Spacing ─── */
.section { padding: 120px 0; }
.section--green { background: var(--green); }
.section--dark { background: var(--green-dark); }

/* ─── Grid Layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-text { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.grid-span-full { grid-column: 1 / -1; }

/* ─── Stats Bar ─── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(116,198,157,0.06); border: 1px solid rgba(116,198,157,0.1); }
.stats__item { padding: 40px 24px; text-align: center; background: rgba(116,198,157,0.02); }
.stats__num { font-family: var(--font-display); font-size: 34px; color: var(--green-pale); font-weight: 700; }
.stats__label { font-size: 11px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }

/* ─── Team ─── */
.team-card { background: rgba(116,198,157,0.03); border: 1px solid rgba(116,198,157,0.08); padding: 32px; text-align: center; transition: all 0.4s; }
.team-card:hover { border-color: rgba(116,198,157,0.25); transform: translateY(-4px); }
.team-card__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.team-card__role { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* ─── Page Content (interior pages) ─── */
.page-content { padding: 80px 0; }
.page-content h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: var(--white); margin-bottom: 24px; line-height: 1.2; }
.page-content h2 em { color: var(--green-pale); font-style: italic; }
.page-content h3 { font-family: var(--font-display); font-size: 22px; color: var(--white); margin: 40px 0 16px; font-weight: 600; }
.page-content p { font-size: 16px; color: var(--text-light); line-height: 1.85; margin-bottom: 20px; max-width: 760px; }
.page-content ul { list-style: none; margin: 24px 0; padding: 0; }
.page-content ul li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 15px; color: var(--text-light); line-height: 1.7; }
.page-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); }

/* ─── Feature Grid (service pages) ─── */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0; }
.feature-box { background: rgba(116,198,157,0.04); border: 1px solid rgba(116,198,157,0.1); padding: 32px; }
.feature-box__title { font-family: var(--font-display); font-size: 18px; color: var(--white); font-weight: 600; margin-bottom: 10px; }
.feature-box__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ─── Contact Form ─── */
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 0; background: transparent; border: none; border-bottom: 1px solid rgba(116,198,157,0.15); color: var(--white); font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-success { background: rgba(64,145,108,0.1); border: 1px solid rgba(64,145,108,0.25); padding: 48px; text-align: center; }
.form-success h3 { font-family: var(--font-display); font-size: 24px; color: var(--white); margin: 16px 0 12px; }
.form-success p { color: var(--text-light); font-size: 15px; }

/* ─── Blog Article ─── */
.article-meta { display: flex; gap: 24px; align-items: center; margin-bottom: 40px; }
.article-meta__date { font-size: 14px; color: var(--text); }
.article-content { max-width: 760px; }
.article-content p { font-size: 17px; line-height: 1.9; margin-bottom: 24px; }
.article-content blockquote { border-left: 3px solid var(--green-mid); padding-left: 24px; margin: 32px 0; font-style: italic; color: var(--green-glow); font-size: 18px; line-height: 1.7; }

/* ─── CTA Banner ─── */
.cta-banner { padding: 80px 0; background: var(--green); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(183,228,199,0.15), transparent); }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); color: var(--white); margin-bottom: 16px; }
.cta-banner h2 em { color: var(--green-pale); font-style: italic; }
.cta-banner p { color: var(--text-light); font-size: 16px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── Footer ─── */
.footer { background: #060F0A; padding: 56px 0 36px; border-top: 1px solid rgba(116,198,157,0.06); }
.footer__inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 40px; }
.footer__logo { display: flex; align-items: center; gap: 8px; color: var(--green-pale); margin-bottom: 12px; }
.footer__logo span { font-size: 16px; font-weight: 700; color: var(--white); }
.footer__logo em { color: var(--green-pale); font-style: normal; }
.footer__services { font-size: 12px; color: var(--text); line-height: 1.6; }
.footer__copy { font-size: 12px; color: var(--text); margin-top: 16px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-size: 13px; color: var(--text); font-weight: 500; transition: color 0.3s; }
.footer__links a:hover { color: var(--text-light); }
.footer__contact p { font-size: 13px; color: var(--text); margin-bottom: 6px; }
.footer__contact strong { color: var(--text-light); font-weight: 500; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .grid-2-text, .grid-2, .feature-grid { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; }
}

@media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .nav__links { display: none; }
    .nav__toggle { display: flex; }
    .container { padding: 0 20px; }
}

@media (min-width: 601px) {
    .nav__toggle { display: none; }
    .nav__mobile { display: none !important; }
}
