.elementor-5240 .elementor-element.elementor-element-961fe72:not(.elementor-motion-effects-element-type-background), .elementor-5240 .elementor-element.elementor-element-961fe72 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://aineemator.com/wp-content/uploads/2026/07/Screenshot-2026-07-24-154323.png");}.elementor-5240 .elementor-element.elementor-element-961fe72{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-5240 .elementor-element.elementor-element-961fe72 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}/* Start custom CSS for html, class: .elementor-element-841aa86 */:root {
    --ink: #14181A;
    --surface: #1E2426;
    --ivory: #EDEAE3;
    --stone: #8B9296;
    --brass: #C9A876;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

  * {
      box-sizing: border-box;
  }
body {
    margin: 0;
    font-family: 'Inter', Sans-Serif;
    background: var(--ink);
    color: var(--ivory);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', Sans-Serif;
}

a {
      color: inherit;
  }


    /* ---------- HEADER ---------- */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 40;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 28px 5vw;
      background: linear-gradient(to bottom, rgba(20, 24, 26, 0.9), rgba(20, 24, 26, 0));
    }
.logo{
  width: 5em;
}
    /* .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--ivory);
    }

    .logo-wordmark {
      font-family: 'Fraunces', serif;
      font-size: 20px;
      font-weight: 500;
      letter-spacing: 0.02em;
    } */

    .menu-trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      background: none;
      border: none;
      color: var(--ivory);
      cursor: pointer;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 20px;
      letter-spacing: 0.12em;
      padding: 6px;
    }

    .menu-trigger .bars {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .menu-trigger .bar1 {
      width: 20px;
      height: 1px;
      background: var(--brass);
    }

    .menu-trigger .bar2 {
      width: 14px;
      height: 1px;
      background: var(--brass);
      align-self: flex-end;
    }

    .sn-focus:focus-visible {
      outline: 2px solid var(--brass);
      outline-offset: 3px;
    }

    /* ---------- HERO ---------- */
    

    /* ---------- SCRIM ---------- */
    .scrim {
      position: fixed;
      inset: 0;
      background: rgba(10, 12, 13, 0.55);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.45s ease;
      z-index: 45;
    }

    .scrim.open {
      opacity: 1;
      pointer-events: auto;
    }

    /* ---------- SIDEBAR ---------- */
    .sidebar {
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: min(420px, 88vw);
      background: var(--surface);
      z-index: 50;
      transform: translateX(100%);
      transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
      padding: 28px 40px;
      display: flex;
      flex-direction: column;
    }

    .sidebar.open {
      transform: translateX(0);
    }

    .sidebar-top {
      display: flex;
      justify-content: flex-end;
    }

    .close-btn {
      background: none;
      border: none;
      color: var(--ivory);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px;
      letter-spacing: 0.12em;
      padding: 6px;
    }

    .sidebar nav {
      margin-top: 48px;
      flex: 1;
    }

    .sidebar ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .nav-item {
      opacity: 0;
      transform: translateX(24px);
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .sidebar.open .nav-item {
      opacity: 1;
      transform: translateX(0);
    }

    .nav-item a {
      display: flex;
      align-items: baseline;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid rgba(237, 234, 227, 0.1);
      text-decoration: none;
      color: var(--ivory);
      font-family: 'Fraunces', serif;
      font-size: 28px;
    }

    .nav-item .idx {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--brass);
    }

    .sidebar-footer {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--stone);
      line-height: 1.8;
      padding-top: 24px;
      border-top: 1px solid rgba(237, 234, 227, 0.1);
    }

    @media (prefers-reduced-motion: reduce) {

      .nav-item,
      .sidebar,
      .scrim,
      .link-underline::after {
        transition: none !important;
      }
    }

    @media (max-width: 480px) {
      h1 {
        max-width: 100%;
      }

      .sidebar {
        padding: 24px 24px;
      }
    }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-decb0bd *//* --------------------------------------------------------------------------
   01. Global CSS Custom Properties (Design System Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    
    --accent-gold: #cfa860;       /* Champagne gold - primary brand CTA and premium touch */
    --accent-gold-rgb: 207, 168, 96;
    --accent-blue: #3b82f6;       /* Electric blue - highlights frontend / technical aspects */
    --accent-blue-rgb: 59, 130, 246;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-light: rgba(255, 255, 255, 0.12);
    --glow-gold: rgba(207, 168, 96, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --max-width: 1440px;
    --header-height: 90px;
    --header-height-scrolled: 70px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   02. CSS Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.625;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   03. Blueprint Grid & Structural Lines (Elephant Skin Concept)
   -------------------------------------------------------------------------- */
.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    height: 100%;
    border-right: 1px solid var(--border-color);
}

.grid-line:last-child {
    border-right: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section-padding {
    padding: 8rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
}

/* --------------------------------------------------------------------------
   04. Custom Interactive Cursor
   -------------------------------------------------------------------------- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor States on Hover */
body.cursor-hover .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: #ffffff;
}

body.cursor-hover .custom-cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--accent-gold);
    background-color: rgba(207, 168, 96, 0.05);
}

body.cursor-view-project .custom-cursor-follower::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: #ffffff;
    font-weight: 700;
}

body.cursor-view-project .custom-cursor-follower {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

body.cursor-view-project .custom-cursor {
    opacity: 0;
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   05. Reusable Component Styles (Buttons, Titles, Badges)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-text {
    padding: 1rem 0;
    background: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-muted);
    font-size: 0.9rem;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-text .download-icon {
    transition: transform 0.3s;
}

.btn-text:hover .download-icon {
    transform: translateY(3px);
}

/* Section Title */
.section-title-wrapper {
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 800px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
    .section-title-wrapper {
        margin-bottom: 3rem;
    }
}

/* --------------------------------------------------------------------------
   06. Glassmorphism Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

.logo {
    /* font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff; */

    width: 10em;
}
/* 
.logo span {
    color: var(--accent-gold);
}  */

.nav-menu ul {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-header {
    padding: 0.6rem 1.6rem;
    font-size: 0.8rem;
}

/* Hamburger Menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
}

@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #080808;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .btn-header {
        display: none; /* Hide Hire Me on mobile in header, contact form is linked elsewhere */
    }
    
    /* Hamburger Active animation */
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
 
/* --------------------------------------------------------------------------
   07. Home / Hero Section (Video Background)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient over video to make content readable */
    background: radial-gradient(circle at 30% 50%, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.92) 80%);
}

.hero-container {
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 950px;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    margin-top: 2em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3em;
    row-gap: 0.1em;
}

.hero-headline .word {
    display: inline-block;
    position: relative;
}

.hero-headline .word.highlight {
    color: var(--accent-gold);
    font-weight: 800;
}

.hero-headline .word.highlight-alt {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-tag {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-separator {
    color: var(--text-muted);
}

.inline-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 80rem;
    z-index: 2;
    transition: var(--transition-smooth);
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    display: inline-block;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 18px;
        opacity: 0;
    }
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.scroll-indicator:hover .scroll-text {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
    
    .hero-headline {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-cb90125 *//*=====================================
  AINEEMATOR SERVICES
======================================*/

:root{
  --primary:#000000;
  --secondary:#cfa860;
  --white:#fff;
  --text:#444;
  --radius:24px;
  --transition:.4s ease;
}

.ainee-services{
  font-family:'Poppins',sans-serif;
  /*background:#cfa86030;*/
}

/*=====================================
  HERO
======================================*/

.ainee-hero{
  min-height:90vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:120px 20px;
  background:
  linear-gradient(rgba(88,43,23,.75),rgba(226,190,156,.45)),
  url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1600") center/cover no-repeat;
}

.ainee-content{
  max-width:850px;
}

.ainee-content .sub-title{
  display:inline-block;
  padding:8px 18px;
  background:rgba(255,255,255,.18);
  color:#fff;
  border-radius:30px;
  font-size:14px;
  margin-bottom:18px;
  backdrop-filter:blur(8px);
}

.ainee-content h1{
  color:#fff;
  font-size:clamp(38px,6vw,40px);
  line-height:1.1;
  margin-bottom:20px;
  font-weight:700;
}

.ainee-content p{
  color:#f5f5f5;
  max-width:720px;
  margin:auto;
  line-height:1.8;
  font-size:18px;
}

.hero-btns{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:40px;
}

.hero-btns a{
  padding:15px 34px;
  border-radius:50px;
  text-decoration:none;
  transition:var(--transition);
  font-weight:600;
}

.primary-btn{
  background:var(--secondary);
  color:var(--primary);
}

.primary-btn:hover{
  background:#fff;
  transform:translateY(-4px);
}

.outline-btn{
  border:2px solid #fff;
  color:#fff;
}

.outline-btn:hover{
  background:#fff;
  color:var(--primary);
}

/*=====================================
  SERVICES GRID
======================================*/

.services-grid{
  width:min(1400px,95%);
  margin:80px auto;
  display:grid;
  /*grid-template-columns:repeat(auto-fit,minmax(280px,1fr));*/
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

/*=====================================
  CARD
======================================*/

.service-card{
  position:relative;
  height:350px;
  border-radius:24px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 15px 35px rgba(0,0,0,.18);
  transition:var(--transition);
}

.service-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.8s;
}

.service-card:hover img{
  transform:scale(1.12);
}

.service-card .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
      to top,
      rgba(0,0,0,.9),
      rgba(0,0,0,.4),
      rgba(0,0,0,0)
  );
}

.card-content{
  position:absolute;
  inset:auto 0 0;
  padding:28px;
  color:#fff;
  z-index:2;
}

.card-content span{
  display:inline-block;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(12px);
  padding:8px 18px;
  border-radius:40px;
  font-size:13px;
  margin-bottom:18px;
}

.card-content h3{
  font-size:30px;
  margin-bottom:20px;
  line-height:1.2;
}

.card-content a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:15px;
  background:var(--secondary);
  color:var(--primary);
  text-decoration:none;
  border-radius:50px;
  font-weight:600;
  transition:var(--transition);
}

.card-content a:hover{
  background:#fff;
}

/*=====================================
  RESPONSIVE
======================================*/

@media(max-width:992px){

.services-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.ainee-hero{
padding:90px 20px;
min-height:80vh;
}

.ainee-content h1{
font-size:42px;
}

.ainee-content p{
font-size:16px;
}

.services-grid{
grid-template-columns:1fr;
gap:22px;
}

.service-card{
height:420px;
}

.hero-btns{
flex-direction:column;
}

.hero-btns a{
width:100%;
}

}

@media(max-width:480px){

.ainee-content h1{
font-size:34px;
}

.service-card{
height:380px;
}

.card-content{
padding:20px;
}

.card-content h3{
font-size:24px;
}

}

/*=====================================
  PREMIUM HOVER EFFECTS
======================================*/

.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0);
    transition:.45s ease;
    z-index:1;
}

.service-card:hover::before{
    background:rgba(0,0,0,.15);
}

.service-card::after{
    content:"";
    position:absolute;
    inset:0;
    backdrop-filter:blur(0);
    -webkit-backdrop-filter:blur(0);
    transition:.45s ease;
    pointer-events:none;
    z-index:1;
}

.service-card:hover::after{
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
}

/*=====================================
  CARD CONTENT ANIMATION
======================================*/

.card-content{
    transform:translateY(45px);
    transition:.55s ease;
}

.service-card:hover .card-content{
    transform:translateY(0);
}

.card-content span,
.card-content h3,
.card-content a{
    opacity:0;
    transform:translateY(25px);
    transition:.45s ease;
}

.service-card:hover .card-content span{
    opacity:1;
    transform:translateY(0);
    transition-delay:.10s;
}

.service-card:hover .card-content h3{
    opacity:1;
    transform:translateY(0);
    transition-delay:.20s;
}

.service-card:hover .card-content a{
    opacity:1;
    transform:translateY(0);
    transition-delay:.30s;
}

/*=====================================
  BUTTON
======================================*/

.card-content a{
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.card-content a:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(0,0,0,.28);
}

/*=====================================
  CARD SHADOW
======================================*/

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:
        0 25px 60px rgba(0,0,0,.28),
        0 8px 20px rgba(0,0,0,.12);
}

/*=====================================
  IMAGE ANIMATION
======================================*/

.service-card img{
    transition:transform .8s ease;
}

.service-card:hover img{
    transform:scale(1.1);
}

/*=====================================
  HERO ANIMATION
======================================*/

.ainee-content{
    animation:fadeUp .9s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*=====================================
  CARD ENTRANCE
======================================*/

.service-card{
    animation:cardFade .8s ease both;
}

.service-card:nth-child(2){animation-delay:.1s;}
.service-card:nth-child(3){animation-delay:.2s;}
.service-card:nth-child(4){animation-delay:.3s;}
.service-card:nth-child(5){animation-delay:.4s;}
.service-card:nth-child(6){animation-delay:.5s;}
.service-card:nth-child(7){animation-delay:.6s;}
.service-card:nth-child(8){animation-delay:.7s;}

@keyframes cardFade{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*=====================================
  MOBILE IMPROVEMENTS
======================================*/

@media (max-width:768px){

    .service-card{
        border-radius:18px;
    }

    .card-content{
        padding:22px;
        transform:translateY(0);
    }

    .card-content span,
    .card-content h3,
    .card-content a{
        opacity:1;
        transform:none;
    }

    .service-card:hover{
        transform:none;
    }

    .service-card:hover img{
        transform:scale(1.04);
    }

}

/*=====================================
  SMALL DEVICES
======================================*/

@media (max-width:480px){

    .services-grid{
        width:100%;
        padding:0 12px;
    }

    .service-card{
        height:360px;
    }

    .card-content h3{
        font-size:22px;
    }

    .card-content a{
        padding:14px;
        font-size:14px;
    }

}

/* Fix old card content conflict */

.ainee-services .card-content{
    margin-bottom:0;
    height:auto;
    bottom:25px;
    transform:translateY(45px);
}


.ainee-services .service-card:hover .card-content{
    transform:translateY(0);
}/* End custom CSS */