/* ===== Reset + Typography ===== */
:root {
  --primary: #0b3b5a;
  --accent: #13689b;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f9f9f9;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo img,
.logo-img {
  height: 55px;
  width: auto;
}

html{scroll-behavior:smooth;} 

body{
  font-family:"Poppins","Open Sans",Arial,sans-serif;
  font-size:16px; line-height:1.6;
  color:var(--text-dark); background:#fff;
  overflow-x:hidden; max-width:100vw;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-padding {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px 0;
} 

/* =========================
   HEADER / TOPBAR / NAV
   ========================= */
.header{position:relative; width:100%; z-index:999;}
.header.sticky-top{position:sticky; top:0; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.05); z-index:1000;}

.topbar{background:var(--primary); color:var(--text-light); font-size:14px; padding:8px 0;}
.topbar .container{width:90%; max-width:1200px; margin:0 auto;}
.topbar .topbar-content{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;}
.topbar .contact-info span{margin-right:20px;}
.topbar .social-links a{color:#fff; margin-left:10px; font-size:14px; transition:opacity .2s;}
.topbar .social-links a:hover{opacity:.85;}

.navbar{background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.05);}
.nav-container{position:relative; display:flex; align-items:center; justify-content:space-between; padding:15px 0;}
.logo img,.logo-img{height:55px; width:auto;}

/* Desktop menu */
.nav-menu{position:relative;}
.nav-menu>ul{list-style:none; display:flex; align-items:center; gap:25px;}
.nav-menu a{color:#333; font-weight:600; font-size:15px; text-transform:uppercase; padding:8px 0;}
.nav-menu a:hover,.nav-menu a.active{color:var(--primary);}

/* Dropdowns (desktop) */
.nav-menu li{position:relative;}
.nav-menu li>ul.sub-menu{
  position:absolute; top:100%; left:0; min-width:200px;
  background:#fff; border:1px solid #eee; display:none; z-index:99;
}
.nav-menu li>ul.sub-menu li{display:block; border-bottom:1px solid #f1f1f1;}
.nav-menu li>ul.sub-menu a{display:block; padding:10px 15px; color:#333;}
.nav-menu li>ul.sub-menu a:hover{background:#f7f7f7; color:var(--primary);}
.nav-menu li.menu-item-has-children:hover>ul.sub-menu{display:block;}

.nav-cta .btn{background:var(--primary); color:#fff; padding:10px 20px; border-radius:4px; font-weight:600;}
.nav-cta .btn:hover{background:var(--accent);}

.mobile-nav-toggle{display:none; font-size:22px; color:var(--primary); cursor:pointer;}

/* Mobile menu */
@media (max-width:991px){
  .mobile-nav-toggle{display:block;}
  .nav-menu{
    position:absolute; top:100%; left:0; right:0; display:none; background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
  }
  .nav-menu.active{display:block;}
  .nav-menu>ul{flex-direction:column; gap:0; padding:10px 0;}
  .nav-menu li{width:100%;}
  .nav-menu a{display:block; padding:12px 16px;}
  /* Dropdowns inside mobile: stack, not absolute */
  .nav-menu li>ul.sub-menu{position:static; border:0; display:none; box-shadow:none;}
  .nav-menu li.menu-item-has-children.open>ul.sub-menu{display:block;}
}

/* =========================
   BUTTONS (unified with Elementor mimic)
   ========================= */

/* Base button styles */
.btn,
.elementskit-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

/* Primary Button */
.btn-primary,
.elementskit-btn:not(.btn-secondary) {
  background-color: #0b3b5a;   /* Your primary color */
  color: #fff;
  border: none;
}

.btn-primary:hover,
.elementskit-btn:not(.btn-secondary):hover {
  background-color: #003049;   /* Darker shade on hover */
  color: #fff;
}

/* Secondary Button (outlined) */
.btn-secondary,
.elementskit-btn.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.elementskit-btn.btn-secondary:hover {
  background-color: #fff;
  color: #0b3b5a;
}


/* =========================
   HERO SECTION STYLES
   ========================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 15px;
  
}

.hero-title {
  font-size: 3rem; 
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-tagline {
  font-size: 1.25rem; 
  opacity: 0.9;
  margin-bottom: 25px;
}

.hero-buttons a {
  display: inline-block;
  margin: 0 10px;
}

.inner-hero {
  background-color: #0b3b5a;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.inner-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease-out forwards;
}

.inner-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Fade slideshow animation */
@keyframes fadeSlide {
  0% { opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}



/* Navigation Dropdown */
.nav-menu ul li {
  position: relative;
}

.nav-menu ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #eee;
  display: none;
  min-width: 200px;
  z-index: 99;
}

.nav-menu ul li ul.sub-menu li {
  display: block;
  border-bottom: 1px solid #f1f1f1;
}

.nav-menu ul li ul.sub-menu li a {
  color: #333;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}

.nav-menu ul li ul.sub-menu li a:hover {
  background-color: #f7f7f7;
  color: var(--primary);
}

.nav-menu ul li.menu-item-has-children:hover > ul.sub-menu {
  display: block;
}

/* =========================
   FOOTER SECTION STYLES
   ========================= */
.footer-section {
  background-color: var(--primary);
  color: #ffffff;
  padding: 60px 0 30px;
  font-size: 15px;
  line-height: 1.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-about {
  color: #dcdcdc;
  margin-bottom: 20px;
}

.footer-contact li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #d6e9f9;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links ul li {
  margin-bottom: 8px;
}

.quick-links ul li a {
  color: #ffffff;
  text-decoration: none;
}

.quick-links ul li a:hover {
  color: #d6e9f9;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #d6e9f9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #cccccc;
}

/* Responsive layout for smaller screens */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons a {
    margin-right: 8px;
  }
}
/* =========================
   PRELOADER STYLES
   ========================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 90px;
  margin-bottom: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================
   SCROLL TO TOP STYLES
   ========================= */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--primary);
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  z-index: 999;
}

.scroll-to-top:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* =========================
   WHY CHOOSE VYNEX SECTION
   ========================= */
.why-choose {
  background-color: #fff;
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto 40px auto;
}

.why-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.why-item {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.why-item i {
  color: var(--primary);
  margin-bottom: 15px;
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-item:hover {
  transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 768px) {
  .why-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Scroll animation mimic */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   TRADE EXCELLENCE SECTION
   ========================= */
.trade-excellence {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.trade-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.trade-text {
  flex: 1 1 50%;
}

.trade-text p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trade-text .elementskit-btn {
  margin-top: 15px;
}

.trade-image {
  flex: 1 1 45%;
  text-align: right;
}

.trade-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .trade-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .trade-image {
    text-align: center;
  }

  .trade-image img {
    max-width: 90%;
  }
}

/* =========================
   Process Section
   ========================= */ 

.process-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.process-intro {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.process-steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.process-step {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  max-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: center;
}

.process-step:hover {
  transform: translateY(-6px);
}

.process-step i {
  font-size: 2.5rem;
  color: #0b3b5a;
  margin-bottom: 15px;
}

.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.process-step p {
  font-size: 0.95rem;
  color: #555;
}



/* =========================
   OUR EXPERTISE DIVIDER SECTION
   ========================= */
.expertise-divider {
  background-color: #fff;               /* alternate with Sustainability for rhythm */
  padding: 80px 0;
  text-align: center;
}

.expertise-divider .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.expertise-divider .section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto;
}

/* Re-use fade-in animation */
.expertise-divider[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.expertise-divider[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ENQUIRE NOW SECTION
   ========================= */
.enquire-now {
  background-color: var(--bg-light);   /* neutral divider tone like reference */
  padding: 80px 0;
  text-align: center;
}

.enquire-now .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.enquire-now .section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto 25px auto;
}

.enquire-now .enquire-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Reuse existing button classes from Elementor mimic */
.enquire-now .elementskit-btn {
  padding: 12px 35px;
}

/* Responsive */
@media (max-width: 768px) {
  .enquire-now .enquire-text {
    font-size: 1rem;
  }
}

/* Rotating Headline */
.rotating-headline {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.rotating-word {
  display: inline-block;
  margin-left: 0.3em; /* Reduce spacing slightly */
  color: #FFD700;
  min-width: 160px;
  animation: rotateWords 2.5s ease-in-out forwards;
  vertical-align: middle;
}
@keyframes rotateWords {
  0%   { transform: translateY(100%); opacity: 0; }
  15%  { transform: translateY(0); opacity: 1; }
  85%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}



/* Rotating Headline end*/