:root {
  --primary: #0f172a; /* Slate 900 */
  --primary-light: #1e293b; /* Slate 800 */
  --accent: #3b82f6; /* Blue 500 */
  --accent-glow: #60a5fa;
  --secondary: #10b981; /* Emerald 500 */
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-body: #ffffff;
  --bg-light: #f1f5f9;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
}

.section-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #f1f5f9;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--primary-light);
}

.nav-links a:not(.btn):hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 71px;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section - Banner Style */
.hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 160px;
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75)), url('../img/hero-workspace.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

/* Wave Separator */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    rotate: 180deg;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(180% + 1.3px);
    height: 120px;
}

.hero-wave .shape-fill {
    fill: #FFFFFF;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--accent-glow);
}

.highlight::after {
    background: rgba(96, 165, 250, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1; /* Light slate for readability on dark bg */
    margin-bottom: 2.5rem;
    max-width: 80%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item i {
    color: var(--accent-glow);
}

.stat-item i {
  color: var(--secondary);
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* 3D Tilt Effect Styles */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-content {
    transform: translateZ(20px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: rotateX(45deg) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
    }
}

.animate-text {
    animation: titleReveal 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}



/* About Section */
.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  font-size: 1.5rem;
  color: #0077b5; /* LinkedIn Color */
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.exp-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.exp-badge span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* Services */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Campaign Expertise */
.campaign-expertise {
  padding: 100px 0;
}

.expertise-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.check-list {
  margin-top: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.check-list i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  transition: 0.3s;
}

.tech-item:hover {
  background: var(--primary);
  color: white;
}

/* Skills */
.skills {
  padding: 100px 0;
  background: #0f172a;
  color: white;
}

.skills .section-header h2 {
  color: white;
}

.skills .section-header p {
  color: #94a3b8;
}

.skills-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.tag-cloud span {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.tag-cloud span:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.tool-token {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: var(--primary);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 5px 5px 10px #0b111f, -5px -5px 10px #131d35; /* Neumorphism for dark bg */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tool-token:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px #0b111f, -8px -8px 16px #131d35;
    color: var(--accent);
}

.certifications-gallery {
    margin-top: 60px;
    text-align: center;
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.cert-grid img {
    height: 180px;
    border-radius: var(--radius);
    transition: all 0.4s ease;
    border: 8px solid white;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transform: rotateX(10deg); /* Initial 3D tilt */
}

.cert-grid img:hover {
    transform: rotateX(0deg) scale(1.1) translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Social Proof */
.social-proof {
  padding: 60px 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.stars {
  color: #f59e0b;
  margin-bottom: 10px;
}

.endorsement-badge p {
  margin: 5px 0;
}

/* Contact */
.contact {
  padding: 100px 0;
  background: #f8fafc;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 50px;
  background: var(--primary);
  color: white;
}

.contact-info h2 {
  color: white;
  margin-bottom: 15px;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 5px;
}

.info-item h4 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-item a,
.info-item p {
  color: #cbd5e1;
  margin: 0;
}

.contact-form-container {
  padding: 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
footer {
  background: #020617;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 5px;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-bottom: 40px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-grid,
  .expertise-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info,
  .contact-form-container {
    padding: 30px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
}

/* Logo Override for New Rectangular Logo */
.logo img {
    height: 45px !important;
    width: auto !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

/* Footer Logo Styles - Appended */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 5px;
  object-fit: contain;
}

.footer-brand h3 {
  margin-bottom: 2px;
}

.footer-brand p {
  margin: 0;
}
