/* GMM Mediatech Africa corporate website styles */
:root {
    --green: #073c32;
    --green-dark: #042b24;
    --green-light: #0b5948;
    --gold: #d6ad55;
    --gold-light: #f0d58f;
    --white: #fff;
    --off-white: #f6f8f6;
    --text: #26352f;
    --muted: #68756e;
    --border: #e5ebe7;
    --shadow: 0 15px 45px rgba(5,43,35,.09);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial,Helvetica,sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button,input,textarea { font: inherit; }
.site-header { width: 100%; background: var(--green-dark); color: var(--white); position: relative; z-index: 100; }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 15px; font-weight: 800; letter-spacing: -1px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-name { font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: .3px; }
.brand-subtitle { color: #c7d6cf; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 23px; }
.main-nav a { color: #e2ebe6; font-size: 12px; font-weight: 600; transition: color .25s ease; white-space: nowrap; }
.main-nav a:hover,.main-nav a.active { color: var(--gold-light); }
.main-nav a.nav-contact { border: 1px solid var(--gold); padding: 10px 17px; border-radius: 3px; color: var(--gold-light); }
.menu-toggle { display: none; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); padding: 8px 12px; border-radius: 3px; cursor: pointer; }

.hero { min-height: 590px; background: radial-gradient(circle at 76% 45%,rgba(20,91,70,.42),transparent 31%),linear-gradient(120deg,#042b24 0%,#073c32 58%,#0a493a 100%); color: var(--white); overflow: hidden; position: relative; display: flex; align-items: center; }
.hero:before { content:""; position:absolute; width:550px; height:550px; border:1px solid rgba(214,173,85,.08); border-radius:50%; right:-180px; top:-210px; }
.hero-inner { width:100%; max-width:1240px; margin:0 auto; padding:70px 28px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:40px; position:relative; z-index:2; }
.hero-copy { max-width:650px; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; color:var(--gold-light); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:2.2px; margin-bottom:23px; }
.eyebrow:before { content:""; width:30px; height:1px; background:var(--gold); }
.hero h1 { font-size:clamp(36px,5vw,58px); line-height:1.12; letter-spacing:-1.8px; max-width:650px; margin-bottom:23px; font-weight:750; }
.hero h1 span { color:var(--gold-light); }
.hero-description { max-width:560px; color:#d3e0d9; font-size:16px; line-height:1.85; margin-bottom:32px; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.btn { display:inline-flex; justify-content:center; align-items:center; padding:13px 23px; min-height:47px; border-radius:3px; font-size:12px; font-weight:700; letter-spacing:.4px; transition:all .25s ease; cursor:pointer; }
.btn-gold { background:var(--gold); color:#172d24; border:1px solid var(--gold); }
.btn-gold:hover { background:var(--gold-light); border-color:var(--gold-light); transform:translateY(-2px); }
.btn-outline { border:1px solid rgba(255,255,255,.5); color:var(--white); }
.btn-outline:hover { border-color:var(--gold); color:var(--gold-light); }

/* =========================================================
   GMM ORBIT SYSTEM
   Layered orbital rings, illuminated core and particles
   ========================================================= */

.orbit-system {
    position: relative;
    width: min(410px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Soft ambient light behind the complete orbital system */
.orbit-system::before {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(19, 105, 76, .22) 0%,
        rgba(11, 76, 59, .12) 42%,
        transparent 72%
    );
    filter: blur(16px);
    z-index: -2;
}

/* Four stationary orbital rings */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid rgba(214, 173, 85, .34);
    inset: 3%;
    box-shadow: 0 0 16px rgba(214, 173, 85, .035);
}

.orbit-ring.ring-one {
    inset: 3%;
    border-color: rgba(214, 173, 85, .43);
}

.orbit-ring.ring-two {
    inset: 14%;
    border-color: rgba(224, 238, 230, .24);
}

.orbit-ring.ring-three {
    inset: 26%;
    border-color: rgba(214, 173, 85, .42);
}

.orbit-ring.ring-four {
    inset: 38%;
    border-color: rgba(224, 238, 230, .20);
}

/* Rotating orbital paths */
.orbit-rotating {
    position: absolute;
    inset: 3%;
    border-radius: 50%;
    border: 1px dashed rgba(240, 213, 143, .64);
    animation: orbitRotate 34s linear infinite;
    pointer-events: none;
}

.orbit-rotating::before,
.orbit-rotating::after {
    content: "";
    position: absolute;
    display: block;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0bd, var(--gold));
    box-shadow:
        0 0 7px 2px rgba(240, 213, 143, .42),
        0 0 17px rgba(214, 173, 85, .55);
}

.orbit-rotating::before {
    width: 9px;
    height: 9px;
    top: 12%;
    left: 14%;
}

.orbit-rotating::after {
    width: 6px;
    height: 6px;
    right: 10%;
    bottom: 19%;
}

.orbit-second {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(223, 238, 229, .29);
    animation: orbitReverse 25s linear infinite;
    pointer-events: none;
}

.orbit-second::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #f4dda0;
    box-shadow: 0 0 8px 3px rgba(214, 173, 85, .35);
}

/* Central core */
.orbit-core {
    position: relative;
    z-index: 4;
    width: 39%;
    height: 39%;
    min-width: 142px;
    min-height: 142px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    overflow: visible;
    background:
        radial-gradient(circle at 34% 27%,
            rgba(34, 125, 91, .98) 0%,
            #0b503d 36%,
            #052c25 76%,
            #03231e 100%);
    border: 1px solid rgba(240, 213, 143, .82);
    box-shadow:
        0 0 0 5px rgba(214, 173, 85, .045),
        0 0 24px rgba(214, 173, 85, .19),
        0 0 55px rgba(16, 113, 79, .22),
        inset 0 2px 14px rgba(255, 255, 255, .10),
        inset 0 -12px 25px rgba(0, 0, 0, .24);
    animation: coreFloat 6s ease-in-out infinite;
}

/* Fine inner rim gives the core a more finished, dimensional edge */
.orbit-core::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(240, 213, 143, .18);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-core-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    line-height: 1;
    transform-origin: center;
    animation: heartbeatNormal 2.1s ease-in-out infinite;
}

/* The JavaScript can randomly set normal, fast or slow */
.orbit-core[data-heartbeat-mode="normal"] .orbit-core-inner {
    animation-name: heartbeatNormal;
    animation-duration: 2.1s;
}

.orbit-core[data-heartbeat-mode="fast"] .orbit-core-inner {
    animation-name: heartbeatFast;
    animation-duration: 1.05s;
}

.orbit-core[data-heartbeat-mode="slow"] .orbit-core-inner {
    animation-name: heartbeatSlow;
    animation-duration: 3.1s;
}

.orbit-core-inner strong {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--gold-light);
    text-align: center;
    white-space: nowrap;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(240, 213, 143, .18);
}

.orbit-core-inner span {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #e0ebe4;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(7px, .85vw, 9px);
    font-weight: 700;
    letter-spacing: .115em;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Ambient gold highlight */
.orbit-glow {
    position: absolute;
    z-index: 2;
    width: 13px;
    height: 13px;
    top: 16%;
    right: 22%;
    border-radius: 50%;
    background: #f5dfa5;
    box-shadow:
        0 0 9px 3px rgba(240, 213, 143, .34),
        0 0 23px 8px rgba(214, 173, 85, .16);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Independent light particles */
.orbit-dot {
    position: absolute;
    z-index: 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e7c779;
    box-shadow:
        0 0 7px 2px rgba(214, 173, 85, .42),
        0 0 16px rgba(214, 173, 85, .45);
    pointer-events: none;
}

.orbit-dot.dot-one {
    left: 17%;
    bottom: 25%;
    animation: particleDriftOne 8s ease-in-out infinite;
}

.orbit-dot.dot-two {
    right: 14%;
    top: 32%;
    width: 5px;
    height: 5px;
    animation: particleDriftTwo 7s ease-in-out infinite;
}

.orbit-dot.dot-three {
    left: 48%;
    top: 5%;
    width: 5px;
    height: 5px;
    background: #f3dfa9;
    animation: particleDriftThree 9s ease-in-out infinite;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes coreFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes heartbeatNormal {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.035); }
    24% { transform: scale(1); }
    36% { transform: scale(1.02); }
    48% { transform: scale(1); }
}

@keyframes heartbeatFast {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.045); }
    20% { transform: scale(1); }
    30% { transform: scale(1.035); }
    40% { transform: scale(1); }
}

@keyframes heartbeatSlow {
    0%, 100% { transform: scale(1); }
    18% { transform: scale(1.035); }
    36% { transform: scale(1); }
    54% { transform: scale(1.018); }
    72% { transform: scale(1); }
}

@keyframes glowPulse {
    0%, 100% { opacity: .65; transform: scale(.88); }
    50% { opacity: 1; transform: scale(1.14); }
}

@keyframes particleDriftOne {
    0%, 100% { transform: translate(0, 0); opacity: .75; }
    50% { transform: translate(9px, -13px); opacity: 1; }
}

@keyframes particleDriftTwo {
    0%, 100% { transform: translate(0, 0); opacity: .7; }
    50% { transform: translate(-8px, 10px); opacity: 1; }
}

@keyframes particleDriftThree {
    0%, 100% { transform: translate(0, 0); opacity: .6; }
    50% { transform: translate(11px, 7px); opacity: 1; }
}

.section { padding:76px 28px; }
.section-light { background:var(--off-white); }
.section-white { background:var(--white); }
.section-dark { background:linear-gradient(120deg,#042b24,#073c32); color:var(--white); }
.section-heading { max-width:780px; margin:0 auto 35px; text-align:center; }
.section-label { display:block; color:#a57c2e; font-size:11px; font-weight:800; letter-spacing:1.8px; text-transform:uppercase; margin-bottom:12px; }
.section-heading h2 { color:var(--green); font-size:clamp(25px,3vw,34px); line-height:1.25; margin-bottom:12px; }
.section-heading p { color:var(--muted); font-size:14px; }
.section-heading-dark h2 { color:var(--white); }
.section-heading-dark p { color:#c6d7ce; }
.carousel { max-width:1184px; margin:0 auto; overflow:hidden; }
.carousel-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.carousel-caption { color:var(--muted); font-size:12px; font-weight:700; letter-spacing:.5px; }
.carousel-controls { display:flex; gap:8px; }
.carousel-arrow { width:38px; height:38px; border:1px solid #d5dfd9; background:var(--white); color:var(--green); border-radius:50%; cursor:pointer; font-size:17px; transition:all .2s ease; }
.carousel-arrow:hover { background:var(--green); color:var(--white); border-color:var(--green); }
.carousel-arrow-dark { background:transparent; color:var(--gold-light); border-color:rgba(255,255,255,.3); }
.carousel-arrow-dark:hover { background:var(--gold); color:var(--green-dark); border-color:var(--gold); }
.carousel-track { display:flex; gap:20px; transition:transform .55s cubic-bezier(.22,.75,.25,1); will-change:transform; }
.service-card { flex:0 0 calc((100% - 40px)/3); min-width:0; background:var(--white); border:1px solid var(--border); border-radius:5px; padding:25px; box-shadow:0 8px 25px rgba(5,43,35,.035); }
.service-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.card-number { color:var(--gold); font-size:13px; font-weight:800; letter-spacing:1px; }
.service-symbol { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(214,173,85,.5); border-radius:50%; color:#a57c2e; }
.service-card h3 { color:var(--green); font-size:18px; margin-bottom:14px; }
.service-card ul { list-style:none; margin-bottom:22px; }
.service-card li { color:var(--muted); font-size:12px; padding:7px 0; border-bottom:1px solid #edf1ee; }
.service-card li:before { content:"—"; color:var(--gold); margin-right:8px; }
.text-link { color:var(--green); font-size:12px; font-weight:800; }
.text-link span { color:#a57c2e; margin-left:5px; }
.text-link-light { color:var(--gold-light); }
.carousel-dots { display:flex; justify-content:center; gap:7px; margin-top:22px; }
.carousel-dot { width:7px; height:7px; border:0; border-radius:20px; background:#cbd5cf; cursor:pointer; transition:all .25s ease; }
.carousel-dot.active { width:23px; background:var(--gold); }
.section-dark .carousel-dot { background:rgba(255,255,255,.3); }
.section-dark .carousel-dot.active { background:var(--gold); }
.showcase-grid { max-width:1000px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.showcase-card { min-height:290px; padding:32px; border-radius:5px; position:relative; overflow:hidden; }
.product-card { background:linear-gradient(135deg,#073c32,#0c5745); color:var(--white); }
.product-card-alt { background:linear-gradient(135deg,#102f2a,#526044); }
.showcase-card:after { content:""; position:absolute; width:240px; height:240px; border:1px solid rgba(240,213,143,.18); border-radius:50%; right:-85px; bottom:-120px; box-shadow:0 0 0 25px rgba(240,213,143,.035),0 0 0 55px rgba(240,213,143,.025); }
.showcase-index { color:var(--gold-light); font-size:10px; letter-spacing:2px; font-weight:800; }
.showcase-mark { color:var(--gold-light); font-size:34px; font-weight:800; letter-spacing:-1px; margin:24px 0 8px; }
.showcase-card h3 { font-size:18px; line-height:1.35; max-width:360px; margin-bottom:10px; }
.showcase-card p { color:#d1dfd7; font-size:13px; max-width:390px; margin-bottom:20px; }
.showcase-card .btn { position:relative; z-index:2; }
.section-action { max-width:1000px; margin:24px auto 0; text-align:right; }
.project-card { flex:0 0 calc((100% - 40px)/3); min-height:210px; padding:27px; border:1px solid rgba(255,255,255,.16); border-radius:5px; background:rgba(255,255,255,.045); }
.project-card span { color:var(--gold-light); font-size:10px; font-weight:800; letter-spacing:1.4px; }
.project-card h3 { color:var(--white); font-size:19px; margin:25px 0 10px; }
.project-card p { color:#c6d7ce; font-size:13px; }
.page-banner { background:linear-gradient(120deg,var(--green-dark),var(--green)); color:var(--white); padding:72px 28px; }
.page-banner-inner { max-width:1184px; margin:0 auto; }
.page-banner .eyebrow { margin-bottom:14px; }
.page-banner h1 { font-size:clamp(32px,4vw,46px); line-height:1.2; margin-bottom:13px; }
.page-banner p { max-width:690px; color:#d4e1db; font-size:15px; }
.content-area { max-width:1184px; margin:0 auto; padding:65px 28px 80px; }
.content-area h2 { color:var(--green); font-size:27px; line-height:1.3; margin-bottom:17px; }
.content-area h3 { color:var(--green); font-size:17px; margin-bottom:10px; }
.content-area p { color:var(--muted); margin-bottom:17px; }
.section-intro { max-width:760px; margin-bottom:35px; }
.info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:30px; }
.info-card { padding:27px; border:1px solid var(--border); border-radius:5px; background:var(--white); transition:transform .25s ease,box-shadow .25s ease; }
.info-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.info-card p { font-size:13px; margin-bottom:0; }
.two-column { display:grid; grid-template-columns:1fr 1fr; gap:45px; align-items:start; }
.highlight-panel,.notice-panel { background:var(--off-white); border-left:3px solid var(--gold); padding:28px; border-radius:3px; }
.simple-list { padding-left:20px; color:var(--muted); }
.simple-list li { padding:5px 0; }
.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:55px; }
.contact-detail { margin-bottom:24px; }
.contact-detail strong { display:block; color:var(--green); font-size:13px; margin-bottom:5px; }
.contact-detail span,.contact-detail a { color:var(--muted); font-size:14px; }
.contact-form { background:var(--off-white); padding:30px; border:1px solid var(--border); border-radius:5px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:17px; }
.form-group label { display:block; font-size:12px; font-weight:700; color:var(--green); margin-bottom:7px; }
.form-group input,.form-group textarea { width:100%; padding:12px 13px; border:1px solid #dce4df; border-radius:3px; background:var(--white); color:var(--text); outline:none; font-size:13px; }
.form-group input:focus,.form-group textarea:focus { border-color:var(--green-light); box-shadow:0 0 0 3px rgba(11,89,72,.08); }
.form-group textarea { min-height:140px; resize:vertical; }
.form-message { padding:12px 15px; border-radius:3px; font-size:13px; margin-bottom:18px; }
.form-message.success { color:#155b35; background:#e7f5eb; border:1px solid #c4e5ce; }
.form-message.error { color:#8b2727; background:#fff0f0; border:1px solid #f0cccc; }
.site-footer { background:#03251f; color:var(--white); padding:27px 28px; }
.footer-inner { max-width:1184px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.footer-inner p { font-size:11px; color:#aebfb6; }
.footer-links { display:flex; flex-wrap:wrap; gap:17px; }
.footer-links a { color:#c9d6cf; font-size:11px; }
.footer-links a:hover { color:var(--gold-light); }

@media(max-width:1050px) {
    .main-nav { gap:13px; }
    .main-nav a { font-size:11px; }
    .hero-inner { gap:20px; }
    .orbit-system { width:min(350px,100%); }
    .orbit-core { min-width:136px; min-height:136px; }
}
@media(max-width:950px) {
    .service-card,.project-card { flex-basis:calc((100% - 20px)/2); }
}
@media(max-width:820px) {
    .header-inner { min-height:72px; }
    .menu-toggle { display:block; }
    .main-nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--green-dark); padding:15px 28px 22px; flex-direction:column; align-items:stretch; gap:0; box-shadow:0 12px 20px rgba(0,0,0,.15); }
    .main-nav.open { display:flex; }
    .main-nav a { padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px; }
    .main-nav a.nav-contact { margin-top:12px; text-align:center; border:1px solid var(--gold); }
    .hero { min-height:auto; }
    .hero-inner { grid-template-columns:1fr; text-align:center; padding-top:65px; padding-bottom:55px; }
    .hero-copy { margin:0 auto; }
    .hero .eyebrow { justify-content:center; }
    .hero-description { margin-left:auto; margin-right:auto; }
    .hero-actions { justify-content:center; }
    .orbit-system { width:min(320px,85%); margin-top:15px; }
    .orbit-core { min-width:132px; min-height:132px; }
    .info-grid { grid-template-columns:repeat(2,1fr); }
    .contact-layout { grid-template-columns:1fr; gap:30px; }
}
@media(max-width:620px) {
    .service-card,.project-card { flex-basis:100%; }
}
@media(max-width:560px) {
    .header-inner { padding:0 18px; }
    .brand-name { font-size:13px; }
    .brand-mark { width:38px; height:38px; }
    .hero-inner { padding:55px 20px 45px; }
    .hero h1 { font-size:37px; }
    .hero-description { font-size:14px; }
    .orbit-system { width:min(285px,90%); }
    .orbit-core { min-width:122px; min-height:122px; padding:12px; }
    .orbit-core-inner { gap:6px; }
    .orbit-core-inner strong { font-size:25px; }
    .orbit-core-inner span { font-size:7px; letter-spacing:.09em; }
    .section { padding:55px 20px; }
    .page-banner { padding:55px 20px; }
    .content-area { padding:45px 20px 60px; }
    .info-grid,.two-column,.form-row,.showcase-grid { grid-template-columns:1fr; }
    .contact-form { padding:21px; }
    .footer-inner { flex-direction:column; align-items:flex-start; }
    .footer-links { gap:12px; }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }

    .orbit-core-inner {
        animation:none!important;
        transform:none!important;
    }
}
