:root {
  /* Fynotax-Inspired Brand Colors */
  --primary-color: #0A2E36; /* Dark Teal */
  --secondary-color: #27AE60; /* Emerald Green */
  --secondary-hover: #219653; /* Darker Emerald */
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #F4F7F6;
  --white: #ffffff;
  --grey-light: #e0e0e0;

  /* Glassmorphism Utilities */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-main: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--secondary-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Header - Modern Glassmorphic */
header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: rgba(39, 174, 96, 0.05);
    color: var(--secondary-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.nav-links .dropdown > a::after {
    display: none;
}

.nav-links .btn {
    padding: 10px 25px;
}
.nav-links .btn::after {
    display: none;
}
.nav-links .btn:hover {
    color: var(--white);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 46, 54, 0.85), rgba(10, 46, 54, 0.95)), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Glassmorphism Hero Box */
.hero-content {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--white);
    padding: 100px 0;
}

.feature-box {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}
.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
}

.footer-col a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Creative Visual Sections */
.visual-banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    width: 100%;
}

.visual-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
}

.visual-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 46, 54, 0.95) 0%, rgba(10, 46, 54, 0.4) 50%, transparent 100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.visual-banner:hover::before {
    background: linear-gradient(to top, rgba(39, 174, 96, 0.95) 0%, rgba(10, 46, 54, 0.7) 100%);
}

.visual-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.visual-banner:hover .visual-banner-content {
    transform: translateY(0);
}

.visual-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.visual-banner p {
    opacity: 0;
    font-size: 0.95rem;
    font-weight: 300;
    transition: opacity 0.4s ease;
    transition-delay: 0.1s;
}

.visual-banner:hover p {
    opacity: 0.9;
}

.visual-banner i {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2rem;
    color: var(--white);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    z-index: 2;
}

.visual-banner:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Mission, Vision, Core Values */
.mission-vision-section {
    background-color: var(--white);
    padding: 100px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    border-left: 5px solid var(--secondary-color);
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mv-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--card-shadow);
}

.value-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.value-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; 
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 20px;
  }
  .nav-links.active {
      display: flex;
  }
  .mobile-toggle {
      display: block;
  }
  .hero {
      padding: 100px 0 80px;
  }
  .hero-content {
      padding: 40px 20px;
  }
  .hero h1 {
      font-size: 2.2rem;
  }
  .hero-btns {
      flex-direction: column;
  }
}
