/* ============================================
   H-Investments LLC - MAIN STYLESHEET
   ============================================
   COLOR VARIABLES - Easily editable below
   ============================================ */

:root {
  /* PRIMARY COLORS */
  --color-primary: #1a3a6e;           /* Deep Navy Blue - Main brand color */
  --color-primary-light: #2a5a9e;     /* Lighter Navy - Hover states */
  --color-primary-dark: #0d1f3c;      /* Dark Navy - Footer, dark sections */

  /* ACCENT COLORS */
  --color-accent: #328c0e;            /* Luxury Gold - Buttons, highlights */
  --color-accent-light: #e8c76a;      /* Light Gold - Hover, glow effects */
  --color-accent-dark: #6bdb3d;       /* Dark Gold - Active states */

  /* SECONDARY COLORS */
  --color-secondary: #0f8b8d;         /* Teal Green - Green Energy accent */
  --color-secondary-light: #1ab5b8;   /* Light Teal - Hover */

  /* BACKGROUND COLORS */
  --color-bg-white: #ffffff;          /* Pure White - Main backgrounds */
  --color-bg-light: #f8fafc;          /* Off White - Alternate sections */
  --color-bg-cream: #fefcf8;          /* Cream - Warm sections */
  --color-bg-dark: #0d1f3c;           /* Dark Navy - Dark sections */

  /* TEXT COLORS */
  --color-text-dark: #1a1a2e;         /* Near Black - Headings */
  --color-text-body: #4a5568;         /* Slate Gray - Body text */
  --color-text-light: #ffffff;        /* White - Text on dark backgrounds */
  --color-text-muted: #718096;        /* Muted Gray - Secondary text */

  /* UTILITY COLORS */
  --color-border: #e2e8f0;            /* Light Gray - Borders */
  --color-shadow: rgba(26, 58, 110, 0.15);  /* Shadow color */
  --color-gold-glow: rgba(212, 168, 67, 0.3); /* Gold glow effect */

  /* FONTS */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* SPACING */
  --section-padding: 80px;
  --container-max: 1280px;
  --container-padding: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--color-shadow);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--color-accent);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(26, 58, 110, 0.05);
}

.nav-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 560px;
  max-width: 620px;
  background: var(--color-bg-white);
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--color-shadow);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--color-text-dark);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item:hover {
  background: rgba(26, 58, 110, 0.05);
  color: var(--color-primary);
  border-left-color: var(--color-accent);
  padding-left: 20px;
}

/* CTA Button in Nav */
.nav-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-light) !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px var(--color-gold-glow);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION - SPLIT BANNER
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 80px);
}

/* Left Side - Image Slider */
.hero-slider {
  position: relative;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--color-shadow);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(13, 31, 60, 0.8) 0%, transparent 100%);
}

.hero-slide-overlay h3 {
  color: var(--color-text-light);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.hero-slide-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dot.active {
  background: var(--color-accent);
  border-color: var(--color-text-light);
  transform: scale(1.2);
}

/* Right Side - Text Content */
.hero-content {
  padding: 20px 0;
}

.hero-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(212, 168, 67, 0.15);

  color: var(--color-accent-dark);
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 24px;
	border: 1px solid rgba(212, 168, 67, 0.3);
	margin-top: 25px;
	padding-top: 8px;
	padding-right: 20px;
	padding-bottom: 8px;
	padding-left: 20px;
}

.hero-label i {
  color: var(--color-accent);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-text-dark);
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(212, 168, 67, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-body);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-light);
  box-shadow: 0 4px 20px var(--color-gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--color-gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-accent-dark);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--color-shadow);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(26, 58, 110, 0.1), rgba(212, 168, 67, 0.1));
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-text-light);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: linear-gradient(135deg, var(--color-bg-light), var(--color-bg-cream));
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(26,58,110,0.03)"/></svg>');
  background-size: 40px 40px;
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--color-shadow);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-text-light);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px var(--color-shadow);
}

.about-image-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.about-image-badge .badge-text {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  background: var(--color-bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--color-shadow);
  border-color: var(--color-accent);
}

.why-card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 168, 67, 0.2);
  position: absolute;
  top: 20px;
  right: 30px;
}

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--color-text-light);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 500px;
}

.cta-btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-light);
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.5);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--color-bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--color-shadow);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-rating i {
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-bg-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {

  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 58, 110, 0.1), rgba(212, 168, 67, 0.1));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-item-content a:hover {
  color: var(--color-primary);
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-light);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--color-gold-glow);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-gold-glow);
}

.form-message {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 55px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  padding-top: 80px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.85), rgba(26, 58, 110, 0.75));
}

.page-banner-content {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
}

.page-banner-content h1 {
  color: var(--color-text-light);
  font-size: 3rem;
  margin-bottom: 12px;
}

.page-banner-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-accent);
}

.breadcrumb i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

/* ============================================
   ABOUT FIRM PAGE
   ============================================ */
.about-firm {
  background: var(--color-bg-white);
}

.about-firm-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-firm-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-firm-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.about-firm-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 30px;
  border-left: 4px solid var(--color-accent);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   MANAGEMENT DIRECTORS PAGE
   ============================================ */
.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.director-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.director-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--color-shadow);
  border-color: var(--color-accent);
}

.director-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.director-card:hover .director-image img {
  transform: scale(1.1);
}

.director-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(13, 31, 60, 0.8), transparent);
}

.director-info {
  padding: 30px;
}

.director-info h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.director-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: block;
}

.director-bio {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.director-social {
  display: flex;
  gap: 10px;
}

.director-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.director-social a:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/* ============================================
   STAFF PAGE
   ============================================ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.staff-card {
  background: var(--color-bg-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--color-shadow);
}

.staff-image {
  height: 200px;
  overflow: hidden;
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.staff-card:hover .staff-image img {
  transform: scale(1.1);
}

.staff-info {
  padding: 24px;
}

.staff-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.staff-info span {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.staff-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */
.service-detail {
  background: var(--color-bg-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--color-shadow);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.service-detail-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 20px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-text-dark);
}

.service-features-list li i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============================================
   GREEN ENERGY PAGE
   ============================================ */
.green-energy-hero {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  padding: 120px 0 80px;
  margin-top: 80px;
  text-align: center;
  color: var(--color-text-light);
}

.green-energy-hero h1 {
  color: var(--color-text-light);
  font-size: 3rem;
  margin-bottom: 16px;
}

.green-energy-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.green-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.green-stat {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.green-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.green-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

/* When JS is enabled, add animation */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-slider {
    height: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .green-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px var(--color-shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .dropdown-menu {
    min-width: auto !important;
    max-width: none !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    right: auto !important;
    left: 0 !important;
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .directors-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-firm-values {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .green-stats {
    grid-template-columns: 1fr;
  }

  .page-banner-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Mobile menu toggle animation */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   THREE SERVICES BOXES SECTION
   ============================================ */
.three-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.three-service-box {
  background: var(--color-bg-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.three-service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--color-shadow);
  border-color: var(--color-accent);
}

.three-service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.three-service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg-white), transparent);
}

.three-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.three-service-box:hover .three-service-image img {
  transform: scale(1.1);
}

.three-service-content {
  padding: 30px;
  text-align: center;
}

.three-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 58, 110, 0.1), rgba(212, 168, 67, 0.1));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: -60px auto 20px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--color-bg-white);
  transition: all 0.3s ease;
}

.three-service-box:hover .three-service-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-text-light);
  transform: scale(1.1);
}

.three-service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.three-service-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.three-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.three-service-link:hover {
  color: var(--color-accent);
  gap: 12px;
}

.three-service-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.three-service-link:hover i {
  transform: translateX(4px);
}

/* ============================================
   CORPORATE RESPONSIBILITY SPLIT SECTION
   ============================================ */
.corp-resp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.corp-resp-left {
  display: flex;
  align-items: center;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--color-bg-light), var(--color-bg-cream));
}

.corp-resp-content {
  max-width: 540px;
}

.corp-resp-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.corp-resp-content p {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: 18px;
}

.corp-resp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.corp-stat {
  text-align: center;
}

.corp-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}

.corp-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  display: block;
  line-height: 1.3;
}

.corp-resp-right {
  position: relative;
  overflow: hidden;
}

.corp-resp-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 600px;
}

/* ============================================
   RESPONSIVE FOR NEW SECTIONS
   ============================================ */
@media (max-width: 1024px) {
  .three-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .corp-resp-split {
    grid-template-columns: 1fr;
  }

  .corp-resp-left {
    padding: 60px 40px;
  }

  .corp-resp-right {
    min-height: 400px;
  }

  .corp-resp-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .three-services-grid {
    grid-template-columns: 1fr;
  }

  .three-service-box {
    max-width: 400px;
    margin: 0 auto;
  }

  .corp-resp-left {
    padding: 50px 24px;
  }

  .corp-resp-content h2 {
    font-size: 2rem;
  }

  .corp-resp-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .corp-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .corp-stat-number {
    font-size: 1.5rem;
  }
}

/* ============================================
   MOBILE DROPDOWN OVERRIDE
   ============================================ */
@media (max-width: 768px) {
  .dropdown-menu {
    min-width: auto !important;
    max-width: none !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: block !important;
  }

  .dropdown-item {
    font-size: 0.9rem;
    padding: 12px 20px;
    white-space: normal;
  }
}

/* ============================================
   FORM MESSAGE STYLES
   ============================================ */
.form-message {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
