/*
Theme Name: Amanex Solutions - Vibrant Corporate
Theme URI: https://example.com/amanex
Author: Expert Developer
Description: A high-energy, professional corporate theme inspired by Apex Systems with a vibrant Teal and Violet color palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amanex
*/

:root {
    --primary-teal: #00F2EA;
    --primary-violet: #8B5CF6;
    --dark-slate: #0F172A;
    --deep-blue: #1E293B;
    --light-gray: #F8FAFC;
    --white: #FFFFFF;
    --gradient-vibrant: linear-gradient(135deg, #00F2EA 0%, #8B5CF6 100%);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: var(--dark-slate);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--primary-teal);
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    margin-left: 30px;
}

.main-navigation ul li a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.main-navigation ul li a:hover {
    color: var(--primary-teal);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2072') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: #CBD5E1;
}

.btn-vibrant {
    background: var(--gradient-vibrant);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-vibrant:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 234, 0.3);
}

/* Services Grid */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-slate);
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-vibrant);
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-teal);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-violet);
    margin-bottom: 20px;
    display: block;
}

/* Insights Section */
.insights-section {
    background: var(--dark-slate);
    color: var(--white);
}

.insights-section .section-title h2 {
    color: var(--white);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.insight-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.insight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
}

.insight-item:hover .insight-image {
    transform: scale(1.1);
}

/* Footer */
.site-footer {
    background: #020617;
    color: #94A3B8;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94A3B8;
}

.footer-col ul li a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-slider-overlay {
  position: relative;
  z-index: 2;
}

.hero-slider-overlay .n2-ss-slider,
.hero-slider-overlay .n2-ss-slide {
  background: transparent !important;
}

/* === HEADER MENU BUTTON STYLE (ALL ITEMS) === */

/* Menu links */
.main-navigation ul li a,
#site-navigation ul li a {
    background: linear-gradient(135deg, #00e5c0, #6a5cff);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Space between buttons */
.main-navigation ul li,
#site-navigation ul li {
    margin-left: 12px;
}

/* Hover effect */
.main-navigation ul li a:hover,
#site-navigation ul li a:hover {
    background: linear-gradient(135deg, #6a5cff, #00e5c0);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 229, 192, 0.35);
}

/* Remove underline */
.main-navigation ul li a::after {
    display: none !important;
}

/* ===============================
   HEADER BUTTONS – FINAL FIX
   =============================== */

/* Make menu container align nicely */
.main-navigation ul,
#site-navigation ul {
    display: flex;
    align-items: center;
    gap: 16px; /* ✅ PROPER GAP BETWEEN BUTTONS */
}

/* ALL menu buttons */
.main-navigation ul li a,
#site-navigation ul li a {
    background: linear-gradient(135deg, #00e5c0, #6a5cff);
    color: #ffffff !important;
    padding: 11px 26px;
    border-radius: 999px !important; /* ✅ FORCE ROUND */
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Remove list spacing issues */
.main-navigation ul li,
#site-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hover animation */
.main-navigation ul li a:hover,
#site-navigation ul li a:hover {
    background: linear-gradient(135deg, #6a5cff, #00e5c0);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 229, 192, 0.35);
}

/* Remove any underline/indicator */
.main-navigation ul li a::after {
    display: none !important;
}

/* ===============================
   FIX CONTACT US SQUARE ISSUE
   =============================== */

/* Remove square wrapper effect */
.header-cta {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

/* Make Contact Us SAME as other buttons */
.header-cta a,
.header-cta .btn-vibrant {
    background: linear-gradient(135deg, #00e5c0, #6a5cff) !important;
    color: #ffffff !important;
    padding: 13px 26px !important;
    border-radius: 999px !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none;
}

/* Hover effect */
.header-cta a:hover,
.header-cta .btn-vibrant:hover {
    background: linear-gradient(135deg, #6a5cff, #00e5c0) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 229, 192, 0.35);
}

/* HEADER */
.site-header {
  background-color: #0b1d33;
  width: 100%;
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.logo-text span {
  color: #2ec4ff;
}

.primary-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
}

.primary-menu a:hover {
  color: #2ec4ff;
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0b1d33;
  min-width: 320px;
  padding: 16px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Show on hover */
.menu-item.has-dropdown:hover .services-dropdown {
  display: grid;
}

/* Dropdown links */
.services-dropdown a {
  background: #132a46;
  padding: 12px 14px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
}

.services-dropdown a:hover {
  background: #2ec4ff;
  color: #0b1d33;
}

/* FORCE HEADER ABOVE HERO */
.site-header,
#masthead {
  position: relative;
  z-index: 9999;
}

/* FORCE HEADER TO SHOW */
#masthead,
.site-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  z-index: 999999 !important;
  background: #0b1d33 !important;
}



/* FINAL HEADER STYLE */
.site-header,
#masthead {
  background-color: #0b1d33;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-text {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

/* Menu */
.primary-menu a {
  color: #ffffff;
}

/* === FORCE HEADER CONTENT VISIBILITY === */
.site-header * {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Layout */
.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Navigation */
.main-navigation {
  display: block !important;
}

/* Menu list */
.primary-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 28px;
}

/* Menu items */
.primary-menu li {
  display: block !important;
}

/* Links */
.primary-menu a,
.logo-text {
  color: #ffffff !important;
  font-size: 16px;
  text-decoration: none;
}
