/* ═══════════════════════════════════════════════
   sv7n — style.css
   Theme: Carbon + Teal  |  Dark minimal
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Space+Grotesk:wght@400;500&display=swap');

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0e0e0e;
  --bg-card:      #141414;
  --border:       #1e1e1e;
  --border-light: #252525;
  --text-primary: #f0f0f0;
  --text-secondary: #666;
  --text-muted:   #3a3a3a;
  --accent:       #c00086 ;
  --accent-dim:   #c00086 ;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(90deg, rgb(0, 0, 0), rgb(107, 2, 62));;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.pre-logo-img { width: 80px; height: auto; opacity: 0; animation: preLogoIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes preLogoIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.pre-bar-wrap {
  width: 120px; height: 1px; background: var(--border-light);
  overflow: hidden; opacity: 0; animation: fadeIn 0.4s ease 0.6s forwards;
}
.pre-bar { height: 100%; width: 0; background: var(--accent); animation: barFill 1s cubic-bezier(0.4,0,0.2,1) 0.7s forwards; }
@keyframes barFill { to { width: 100%; } }
@keyframes fadeIn  { to { opacity: 1; } }

/* ─── CURSOR GLOW ─── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,202,165,0.055) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: left 0.12s ease, top 0.12s ease;
  display: none;
}
@media (hover: hover) { #cursor-glow { display: block; } }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(14,14,14,0.92);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: navSlide 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@keyframes navSlide { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.nav-logo img { height: 70px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; color: var(--text-secondary); letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  font-size: 13px; color:#c00086 !important;
  border: 0.5px solid red;
  padding: 8px 20px; border-radius: 40px; transition: background 0.2s;
}
.nav-cta:hover { background: rgba(93,202,165,0.07); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-secondary); transition: 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 61px; left: 0; right: 0;
  background: rgba(14,14,14,0.98); border-bottom: 0.5px solid var(--border);
  padding: 24px 48px; z-index: 99; flex-direction: column; gap: 20px;
  backdrop-filter: blur(12px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--text-primary); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 48px 80px;
  border-bottom: 0.5px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,202,165,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* hero entrance */
.hero-eyebrow,
.hero-title,
.hero-body,
.hero-actions,
.available { opacity: 0; transform: translateY(20px); }

.hero-loaded .hero-eyebrow  { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.05s forwards; }
.hero-loaded .hero-title    { animation: heroIn 0.85s cubic-bezier(0.16,1,0.3,1) 0.18s forwards; }
.hero-loaded .hero-body     { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.30s forwards; }
.hero-loaded .hero-actions  { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.42s forwards; }
.hero-loaded .available     { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.54s forwards; }
@keyframes heroIn { to { opacity:1; transform:translateY(0); } }

.hero-eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--text-muted); margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px); font-weight: 400;
  line-height: 1.1; color: var(--text-primary);
  max-width: 680px; letter-spacing: -1px;
}
.hero-title em  { font-style: normal; color: var(--text-muted); }
.hero-title .hl { color: var(--accent); }
.hero-body { font-size: 16px; color: var(--text-secondary); max-width: 420px; margin-top: 28px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 44px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text-primary); color: var(--bg);
  font-size: 13px; font-weight: 500; padding: 14px 28px;
  border-radius: 40px; transition: opacity 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); transition: color 0.2s; }
.btn-ghost:hover { color: var(--text-primary); }

.available { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); margin-top: 48px; }
.available-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.icon { display: inline-block; width: 20px; height: 20px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ─── STATS ─── */
.stats { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 0.5px solid var(--border); }
.stat { padding: 36px 48px; border-right: 0.5px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 400; color: var(--text-primary); letter-spacing: -1px; }
.stat-lbl { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }

/* ─── SECTIONS ─── */
.section { padding: 80px 48px; border-bottom: 0.5px solid var(--border); }
.sec-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; }
.sec-label { font-size: 11px; letter-spacing: 3px; color: var(--text-muted); }
.sec-count { font-size: 12px; color: var(--text-muted); }

/* ─── PROJECTS ─── */
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); }
.proj-card { background: var(--bg); padding: 40px; transition: background 0.2s; }
.proj-card:hover { background: var(--bg-card); }
.proj-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.proj-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
.proj-dot.live { background: var(--accent); }
.proj-platform { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.proj-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.3px; }
.proj-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.proj-tags { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.tag { font-size: 11px; color: var(--text-muted); border: 0.5px solid var(--border-light); border-radius: 40px; padding: 4px 12px; }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.svc-card { background: var(--bg); padding: 36px 40px; transition: background 0.2s; }
.svc-card:hover { background: var(--bg-card); }
.svc-num { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px; }
.svc-name { font-family: var(--font-display); font-size: 17px; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; }
.svc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ─── MEDIA ─── */
.media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.media-card {
  background: var(--bg); aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; transition: background 0.2s; color: inherit; text-decoration: none;
}
.media-card:hover { background: var(--bg-card); }
.media-card:hover .media-icon { color: var(--accent); }
.media-icon { width: 28px; height: 28px; color: var(--text-muted); transition: color 0.2s; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.media-label { font-size: 13px; color: var(--text-secondary); }
.media-type  { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }

/* ─── CONTACT ─── */
.contact-section {
  padding: 100px 48px; border-bottom: 0.5px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 20px;
}
.contact-left p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-item .ci-label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.contact-info-item a,
.contact-info-item span { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card); border: 0.5px solid var(--border-light);
  border-radius: 8px; padding: 14px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-primary);
  outline: none; transition: border-color 0.2s; -webkit-appearance: none; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent-dim); }
.form-group select option { background: #1a1a1a; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--text-primary); color: var(--bg);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 16px 32px; border-radius: 40px; border: none; cursor: pointer;
  margin-top: 8px; transition: opacity 0.2s; width: 100%;
}
.submit-btn:hover { opacity: 0.88; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-success {
  display: none; background: rgba(93,202,165,0.08);
  border: 0.5px solid var(--accent-dim); border-radius: 12px;
  padding: 20px 24px; font-size: 14px; color: var(--accent); text-align: center;
}
.form-error {
  display: none; background: rgba(255,80,80,0.06);
  border: 0.5px solid #5a1a1a; border-radius: 12px;
  padding: 14px 20px; font-size: 13px; color: #e07070; margin-top: 8px;
}

/* ─── FOOTER ─── */
footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
}
.footer-logo img { height: 67px; width: auto; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 12px; color: #ffffff; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity:1; transform:translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 61px; padding: 24px; }
  .hero { padding: 80px 24px 60px; min-height: auto; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 0.5px solid var(--border); padding: 28px 24px; }
  .stat:last-child { border-bottom: none; }
  .section { padding: 60px 24px; }
  .projects-grid,
  .services-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2,1fr); }
  .contact-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; padding: 28px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .available-dot { animation: none; }
  nav, .hero-eyebrow, .hero-title, .hero-body,
  .hero-actions, .available, .pre-logo-img,
  .pre-bar, .pre-bar-wrap { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  #preloader { display: none !important; }
  * { transition: none !important; }
}

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}


/* ABOUT SECTION */
.section-about {
	padding: 120px 60px;
	background-color: #121212;
	border-top: 1px solid #2a2a2a;
}

.about-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.about-content h3 {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 30px;
	letter-spacing: -0.5px;
}

.about-content p {
	color: #999;
	margin-bottom: 24px;
	line-height: 1.9;
	font-size: 15px;
}

.about-content p a {
	color: #d0d0d0;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.about-content p a:hover {
	color: white;
}

.about-blocks {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about-block {
	padding: 30px;
	background-color: #222;
	border-left: 4px solid #555;
	border-top: 1px solid #2a2a2a;
	border-right: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
}

.about-block h4 {
	font-size: 16px;
	margin-bottom: 12px;
	font-weight: 700;
	color: #d0d0d0;
}

.about-block p {
	font-size: 13px;
	color: #777;
	margin-bottom: 0;
}

/* Section Container */
        .team-section {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .team-section h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .team-section p.subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 40px;
        }

        /* Responsive 4-Column Grid Layout */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        /* Member Card Styles */
        .team-card {
            background: #201c1c;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(108, 93, 93, 0.1);
        }

        /* Profile Image */
        .member-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid #f0f0f0;
        }

        /* Text Styles */
        .member-name {
            font-size: 1.3rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 5px;
        }

        .member-role {
            font-size: 0.95rem;
            color: #045604ab;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .member-bio {
            font-size: 0.9rem;
            color: #777;
            line-height: 1.5;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1024px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
            }
        }

        @media (max-width: 600px) {
            .team-grid {
                grid-template-columns: 1fr; /* 1 column on mobile phones */
            }
            .team-section h2 {
                font-size: 2rem;
            }
        }

         /* About Us Container */
        .about-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 50px auto;
            padding: 20px;
            gap: 40px;
        }

        /* Left Side: Content Column */
        .about-content {
            flex: 1;
        }
        .about-content h2 {
            font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 20px;
            position: relative;
        }
        .about-content h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background-color: #007bff;
            margin-top: 8px;
            border-radius: 2px;
        }
        .about-content p {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: #555555;
        }

        /* Right Side: Image Column */
        .about-image {
            flex: 1;
            text-align: right;
        }
        .about-image img {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            object-fit: cover;
        }

        /* Responsive Design for Mobile Devices */
        @media (max-width: 768px) {
            .about-section {
                flex-direction: column-reverse; /* Puts text on top, image on bottom on mobile */
                text-align: center;
                gap: 20px;
            }
            .about-content h2::after {
                margin: 8px auto 0 auto; /* Centers the underline on mobile */
            }
            .about-image {
                text-align: center;
            }
        }