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

/* USS Kimya Chemistry Corporate Theme */
:root {
  /* Primary Brand Colors */
  --primary: #2563EB;        /* Professional blue for chemistry */
  --primary-dark: #1D4ED8;   /* Darker blue for hover states */
  --primary-light: #DBEAFE;  /* Light blue for backgrounds/accents */
  
  /* Neutral Colors */
  --neutral-dark: #2E2E2E;   /* Dark gray for text */
  --neutral-light: #F8F8FA;  /* Light purplish white */
  
  /* Accent Color */
  --accent: #2563EB;         /* Professional blue accent */
  --accent-dark: #1D4ED8;    /* Darker blue accent */
  
  /* Additional Colors */
  --white: #FFFFFF;
  --black: #000000;
  --transparent-white: rgba(255, 255, 255, 0.9);
  --transparent-dark: rgba(46, 46, 46, 0.8);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow-primary: rgba(37, 99, 235, 0.3); /* Updated primary shadow */
  --shadow-accent: rgba(37, 99, 235, 0.3);  /* Updated accent shadow */
  --border-light: #DDDDDD;
  --border-lighter: #EEEEEE;
  --hover-bg: #F5F5F7;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark)); /* Updated gradient */
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--neutral-dark);
  line-height: 1.6;
  background-color: var(--neutral-light);
}

/* Remove the body::before element as it's causing issues */
body::before {
  display: none;
}

/* Pre Header Banner - Normal static page element */
.pre-header-wrapper {
  background-color: var(--accent-dark);
  position: static;
  width: 100%;
}

/* Pre Header Banner (E-Adam Style) */
.pre-header-banner {
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 15px 0 25px 0;
  text-align: center;
  position: relative;
}

/* Main Header - Sticky/Pinned */
.main-header {
  background-color: var(--primary);
  box-shadow: 0 2px 10px var(--shadow-medium);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  color: var(--white); /* Changed to white for contrast on red header */
  font-weight: bold;
  text-decoration: none;
  font-size: 24px;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-light);
}

.dropdown-toggle {
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid rgba(255, 255, 255, 0.8);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Reset any unwanted decorations */
.nav-links li::before,
.nav-links li::after,
.nav-links a::before,
.nav-links a::after {
  display: none; /* Remove any pseudo elements causing unwanted dots */
}

/* Exception for dropdown toggle arrow */
.dropdown-toggle::after {
  display: inline-block;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.search-icon {
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
}

.cta-button {
  background-color: var(--white); /* Changed to white background */
  color: var(--primary); /* Changed to primary red text */
  padding: 9px 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-light); /* Light red background on hover */
  color: var(--primary); /* Keep text red or make it primary-dark */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--shadow-primary);
}

.cta-button img {
  width: 16px;
  height: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 10px var(--shadow-primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--shadow-accent);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Cards and Sections */
.card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  padding: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.section {
  padding: 40px 0;
}

.section-light {
  background-color: var(--neutral-light);
}

.section-primary {
  background-color: var(--primary-light);
}

.section-gradient {
  background: var(--gradient-primary);
  color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Form Elements */
input, textarea, select {
  background-color: var(--neutral-light);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 10px 15px;
  color: var(--neutral-dark);
  font-family: 'Poppins', 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer - Updated to match header styling and fix spacing issues */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 50px 0 20px;
  position: relative; 
}

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

.footer-main-content {
  display: flex;
  justify-content: space-between;
  gap: 60px; /* Increased gap between columns */
  margin-bottom: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

/* Make all headings more distinct */
.footer-column h4 {
  color: var(--white);
  font-size: 22px; /* Increased size */
  margin-bottom: 25px; /* More space after main headings */
  font-weight: 700; /* Bolder */
  letter-spacing: 0.5px; /* Slightly spaced letters */
  text-transform: none; /* Override uppercase for usskimya */
  font-family: 'Poppins', sans-serif;
}

.footer-column h5 {
  color: var(--white);
  font-size: 18px; /* Increased size */
  margin-bottom: 15px; /* More space below subheading */
  margin-top: 20px; /* More space above subheading */
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  display: inline-block; /* To allow for decorative elements */
}

/* Reduce padding between headings and content */
.footer-column .address, 
.footer-column .contact {
  margin-top: 0; /* Remove top margin */
}

.footer-column .address {
  margin-bottom: 30px; /* More space between address and contact */
}

.footer-column p,
.footer-column li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 6px; /* Reduced */
  color: rgba(255, 255, 255, 0.9); /* Slightly transparent for distinction from headings */
}

.footer-column .address strong,
.footer-column .contact strong {
    display: block;
    margin-bottom: 5px;
  color: var(--transparent-white);
  font-size: 16px; /* Slightly larger */
  font-weight: 600; /* Bolder */
}

.footer-column.contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: block; /* Make links block-level for better spacing */
  margin-bottom: 4px;
}

.footer-column.contact-info a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* Improved Services Styling */
.footer-column.services {
  flex: 2; /* Give services column more space horizontally */
}

.services-grid {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.service-group {
  min-width: 200px;
  flex: 1;
  flex-basis: calc(45% - 20px);
  margin-right: 15px;
}

.service-group h5 {
  margin-top: 0;
}

.service-group:last-child {
  margin-right: 0;
}

.service-group ul {
  list-style: none;
  padding: 0;
}

.service-group li {
  padding: 4px 0;
  position: relative;
  padding-left: 2px; /* Small space for hover effect */
  transition: padding-left 0.2s ease;
}

.service-group li:hover {
  padding-left: 5px; /* Slight indent on hover */
  color: #fff; /* Full white on hover */
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: 15px;
}

/* Legal Section Styles - Updated for inline layout */
.footer-legal-section {
  display: none; /* Hide the separate legal section */
}

.legal-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  position: relative;
}

.legal-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.legal-link:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -12px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.copyright {
  font-size: 14px;
  color: var(--transparent-white);
  text-align: left;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-main-content {
    gap: 30px; /* Less gap on smaller screens */
  }
  
  .services-grid {
    flex-direction: column; /* Stack on mobile */
    width: 100%;
  }
  
  .service-group {
    flex-basis: 100%; /* Full width on mobile */
    margin-bottom: 20px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .copyright {
    text-align: center;
    order: 2;
  }
  
  .legal-links {
    justify-content: center;
    order: 1;
    gap: 15px;
  }
  
  .legal-link {
    font-size: 13px;
  }
  
  .legal-link:not(:last-child)::after {
    right: -10px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .services-grid {
    flex-direction: row; /* Maintain row on tablets/medium screens */
    justify-content: space-between;
  }
  
  .service-group {
    flex-basis: calc(50% - 20px); /* Each takes half minus gap */
  }
}

@media (max-width: 600px) {
  .services-grid {
    flex-direction: column !important; /* Only stack on very small screens */
  }
  
  .service-group {
    flex-basis: 100%; /* Full width on small mobile */
    margin-bottom: 20px;
    margin-right: 0;
  }
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  padding: 5px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  display: inline-block;
}

.dropdown-toggle:hover {
  color: var(--primary-light);
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid var(--white);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Custom dropdown links styling */
.dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--white);
  min-width: 580px;
  box-shadow: 0 8px 24px var(--shadow-medium);
  border-radius: 6px;
  padding: 0;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-34%) translateY(0);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 34%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px var(--shadow-light);
  border-radius: 2px;
}

.dropdown-menu-section {
  padding: 20px;
  width: 50%;
  border-right: 1px solid var(--primary-light);
}

.dropdown-menu-section:last-child {
  border-right: none;
}

.dropdown-menu h5 {
  padding: 0 0 10px 0;
  margin: 0 0 15px 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--primary-light);
}

.dropdown-menu a {
  display: block;
  padding: 6px 0;
  color: var(--neutral-dark) !important;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  padding-left: 0;
}

.dropdown-menu a:hover {
  color: var(--primary) !important;
  padding-left: 5px;
}

.dropdown-menu a:after {
  display: none !important;
}

.dropdown-menu .product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px 20px;
}

@media (max-width: 992px) {
  .dropdown-menu {
    min-width: 640px;
  }
  
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
    display: flex;
  }
  
  .nav-links {
    justify-content: space-between;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    height: 0;
    min-width: 100%;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
    transform: none;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--primary-light);
    border-radius: 4px;
    margin: 5px 0 0;
    display: block;
  }
  
  .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 15px;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown-menu-section {
    padding: 10px 0;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 10px;
  }
  
  .dropdown-menu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .dropdown-menu-section.full-width {
    border-top: none;
  }
  
  .dropdown-menu h5 {
    padding: 0 0 8px 0;
  }
  
  .dropdown-menu a {
    padding: 8px 0;
  }
  
  .dropdown-menu .product-grid {
    grid-template-columns: 1fr;
    grid-gap: 4px;
  }
}

@media (max-width: 576px) {
  .top-banner {
    display: none;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Mega Dropdown Menu Styles */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 850px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}

.dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.mega-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.mega-item {
  display: flex;
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-lighter);
  border-right: 1px solid var(--border-lighter);
  transition: background-color 0.2s ease;
}

.mega-item:hover {
  background-color: var(--hover-bg);
}

.mega-item:nth-child(2n) {
  border-right: none;
}

.mega-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.mega-icon {
  margin-right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 8px;
  flex-shrink: 0;
}

.mega-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.mega-text {
  flex: 1;
}

.mega-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neutral-dark);
}

.mega-text p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #666;
  line-height: 1.4;
}

.mega-link {
  display: inline-block;
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-right: 15px;
}

.mega-link:after {
  content: '→';
  font-family: sans-serif;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.2s ease;
}

.mega-link:hover:after {
  transform: translateX(3px);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.mega-grid a {
  color: var(--neutral-dark) !important;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
  padding: 5px 0;
}

.mega-grid a:hover {
  color: var(--primary) !important;
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .mega-dropdown {
    width: 700px;
  }
}

@media (max-width: 768px) {
  .mega-dropdown {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    height: 0;
    border-radius: 4px;
    background-color: var(--primary-light);
    margin-top: 5px;
    overflow: hidden;
  }
  
  .dropdown.active .mega-dropdown {
    height: auto;
    padding: 10px;
    opacity: 1;
    visibility: visible;
  }
  
  .mega-content {
    grid-template-columns: 1fr;
  }
  
  .mega-item {
    padding: 15px;
    border-right: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  }
  
  .mega-item:last-child {
    border-bottom: none;
  }
  
  .mega-icon {
    width: 36px;
    height: 36px;
    margin-right: 15px;
  }
  
  .mega-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .mega-item {
    padding: 12px;
  }
  
  .mega-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
  }
  
  .mega-text h4 {
    font-size: 15px;
  }
  
  .mega-text p {
    font-size: 13px;
  }
}

/* Added specific styles for page sections based on new design */
main {
  background-color: var(--white); /* Default main background to white */
}

.container {
  max-width: 1100px; /* Consistent container width */
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  padding: 45px 0;
  background-color: var(--neutral-light); /* Light grey background for contrast if needed, or var(--white) */
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  color: var(--primary);
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text p {
  color: var(--neutral-dark); /* Dark grey for paragraph */
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  text-align: center; /* If you have an image */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Who Are We Section */
.who-are-we-section {
  padding: 40px 0;
  background-color: var(--white);
}

.who-are-we-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.who-are-we-image {
  flex: 1;
  text-align: center;
}

.who-are-we-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.who-are-we-text {
  flex: 1;
}

.who-are-we-text h2 {
  color: var(--primary); /* Purple */
  font-size: 36px;
}

.who-are-we-text h3 {
  color: var(--primary); /* Purple */
  font-size: 24px;
  font-weight: 500; /* Slightly less bold for subheading */
  margin-bottom: 15px;
}

.who-are-we-text p {
  color: var(--neutral-dark);
  font-size: 16px;
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  padding: 40px 0;
  background-color: var(--neutral-light); /* Alternating background color */
}

.services-section h2 {
  text-align: center;
  color: var(--primary); /* Purple */
  font-size: 36px;
  margin-bottom: 40px;
}

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

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.service-icon {
  width: 110px;
  height: 110px;
  background-color: var(--neutral-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: rgba(37, 99, 235, 0.1);
}

.service-icon-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card h4 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: var(--neutral-dark);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
  gap: 5px;
}

.service-link svg {
  transition: transform 0.2s ease;
}

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

/* Emergency CTA Section */
.emergency-cta-section {
    padding: 40px 0;
    background-color: var(--primary); /* Purple background */
}

.emergency-cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
}

.emergency-cta-text {
    flex: 1;
}

.emergency-cta-text h2 {
    color: var(--white);
    font-size: 36px;
}

.emergency-cta-text p {
    font-size: 18px;
    margin-bottom: 25px;
}

.emergency-cta-image {
    flex: 1;
    text-align: center;
}

.emergency-cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn.btn-light {
    background-color: var(--white);
    color: var(--primary);
    font-weight: bold;
    padding: 12px 25px;
}
.btn.btn-light:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}


/* Testimonials Section */
.testimonials-section {
    padding: 40px 0;
    background-color: var(--neutral-light);
}

.testimonials-section h2 {
    text-align: center;
    color: var(--neutral-dark); /* Dark text for this heading */
    font-size: 36px;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.testimonial-card .stars {
    color: #FFC107; /* Yellow for stars */
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--neutral-dark);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

/* General Button Adjustments to match purple theme from screenshots */
.btn-primary {
  background-color: var(--primary); /* Purple */
  color: var(--white);
  padding: 12px 25px;
  font-size: 16px;
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 10px var(--shadow-primary);
}

/* Call Us Today CTA Section */
.call-today-cta-section {
    position: relative;
    padding: 50px 0;
    color: var(--white);
    overflow: hidden; /* Ensures pseudo-elements or absolutely positioned children don't overflow */
}

.call-today-cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.call-today-cta-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay for the background image to achieve the blue tint */
.call-today-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary); /* Changed to primary red */
    opacity: 0.85; /* Adjust opacity to get desired effect */
    z-index: 2;
}

.call-today-cta-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    align-items: center;
    text-align: right; /* Aligns text to the right */
}

.call-today-cta-text {
    max-width: 50%; /* Restrict width of text block */
}

.call-today-cta-text h2 {
    color: var(--white);
    font-size: 42px; /* Adjust size as needed */
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 25px;
}

.call-today-cta-text .btn-light {
    font-size: 18px;
    padding: 15px 30px;
}

/* Our Work Section */
.our-work-section {
    padding: 40px 0;
    background-color: var(--neutral-light);
}

.our-work-section h1, .our-work-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-item {
    display: flex;
    flex-direction: row;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    min-height: 320px;
    height: 340px;
    align-items: stretch;
    transition: box-shadow 0.2s;
}

.gallery-item:hover {
    box-shadow: 0 8px 32px rgba(221,24,59,0.13);
}

.gallery-item-image {
    flex: 0 0 420px;
    min-width: 320px;
    max-width: 520px;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #f7f7fa;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    object-fit: scale-down;
    border-radius: 0;
    display: block;
}

.gallery-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 36px 36px 32px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.gallery-item-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gallery-item-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(37, 99, 235, 0.09);
    color: var(--primary);
    font-size: 13px;
    border-radius: 5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gallery-item-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.gallery-item-description {
    font-size: 16px;
    color: var(--neutral-dark);
    line-height: 1.7;
    margin-bottom: 28px;
}

.view-project-btn {
    margin-top: 0;
    align-self: flex-start;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.view-project-btn:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 900px) {
    .gallery-item {
        flex-direction: column;
        min-height: unset;
        height: auto;
    }
    .gallery-item-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 260px;
    }
}

@media (max-width: 600px) {
    .gallery-item-image {
        height: 180px;
    }
}

/* Pre Header Banner (E-Adam Style) */
.pre-header-banner {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 15px 0 25px 0;
    text-align: center;
    transform: translateY(0);
    transform-origin: top;
    position: relative; 
    z-index: 150; /* Higher than body::before (99) */
}

.pre-header-banner.scrolled {
    display: none;
    background-color: var(--accent-dark); /* Ensure background color stays consistent during transition */
}

.pre-header-banner-container {
    max-width: 1200px; /* Adjust to your site's container width if different */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; /* Space between text and buttons */
}

.pre-header-text {
    font-size: 1.15rem; /* Adjust as needed */
    font-weight: 500;
    margin: 0;
}

.pre-header-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 15px;
}

.btn-banner-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 9px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between text and arrow */
    transition: background-color 0.3s ease;
}

.btn-banner-outline span,
.btn-banner-outline svg {
    transition: color 0.3s ease;
    color: inherit;
}

.btn-banner-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-banner-outline:hover span,
.btn-banner-outline:hover svg {
    color: var(--primary);
}

.btn-banner-outline .whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 4px;
}

.btn-banner-outline .arrow-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 2px;
}

/* ESKİ arrow sınıfı iptal edildi */
.btn-banner-outline .arrow {
    display: none;
}

/* Icons in contact info */
.icon-with-text {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.icon-with-text:last-child {
  margin-bottom: 0;
}

.contact-icon {
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Adjust spacing for icon and text */
.icon-with-text a,
.icon-with-text span {
  display: inline-block;
  vertical-align: middle;
}

/* Contact section styling */
.contact-section {
  margin-top: 20px;
}

/* Adjust for usskimya (lowercase) */
.footer-column h4 {
  text-transform: none; /* Override uppercase for usskimya */
}

.footer-column h4[style*="text-transform: uppercase"],
.footer-column h4.uppercase {
  text-transform: uppercase !important; /* For headings that should remain uppercase */
}

/* Services content container */
.services-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

/* Services grid and groups */
.services-grid {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 50px; /* Increased gap between columns */
  width: 100%;
  justify-content: flex-start;
}

.service-group {
  min-width: 180px;
  flex: 1;
  flex-basis: calc(45% - 25px);
}

.service-group h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none; /* Keep consistent with usskimya */
  position: relative;
}

.service-group ul {
  margin-top: 0;
  padding-left: 0;
}

/* Specifically for uppercase class */
.uppercase {
  text-transform: uppercase !important;
}

/* Services row layout */
.services-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  width: 100%;
}

.service-group {
  min-width: 180px;
  flex: 1;
  flex-basis: calc(45% - 25px);
}

.service-group h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none; /* Keep consistent with usskimya */
  position: relative;
}

.service-group ul {
  margin-top: 0;
  padding-left: 0;
}

/* Make sure footer columns align properly */
.footer-main-content {
  align-items: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-main-content {
    gap: 30px; /* Less gap on smaller screens */
  }
  
  .services-row {
    flex-direction: column; /* Stack on mobile */
    gap: 30px;
  }
  
  .service-group {
    flex-basis: 100%; /* Full width on mobile */
    margin-bottom: 20px;
  }
  
  .footer-column.services {
    margin-left: 0 !important;
  }
}

.service-group h4 a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.service-group h4 a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.service-group ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-group ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* CTA Banner Section */
.cta-banner {
  position: relative;
  background-color: var(--primary); /* Default red background */
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 400px;
}

/* Light theme version */
.cta-banner.light-theme {
  background-color: var(--white);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

/* Neutral theme version - testimonials section style */
.cta-banner.neutral-theme {
  background-color: var(--neutral-light);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95) 50%, rgba(37, 99, 235, 0.8) 100%); /* Use primary color */
  z-index: 1;
}

.cta-overlay.light {
  background: none; /* No colored overlay for light theme */
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-content {
  flex: 1;
  max-width: 600px;
  color: white;
}

.light-theme .cta-content,
.neutral-theme .cta-content {
  color: var(--neutral-dark);
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
}

.light-theme .cta-content h2,
.neutral-theme .cta-content h2 {
  color: var(--primary);
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.light-theme .cta-content p,
.neutral-theme .cta-content p {
  color: var(--neutral-dark);
}

.cta-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}

.cta-actual-image {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  display: block;
}

/* Override any other image styles that might be affecting our SVG */
.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
  object-fit: contain;
}

.cta-button-large {
  display: inline-block;
  background-color: white;
  color: var(--primary); /* Use theme's primary color */
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.light-theme .cta-button-large,
.neutral-theme .cta-button-large {
  background-color: var(--primary);
  color: white;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: var(--neutral-light);
}

.light-theme .cta-button-large:hover,
.neutral-theme .cta-button-large:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-content {
    margin-bottom: 40px;
    max-width: 100%;
  }
  
  .cta-image {
    justify-content: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .cta-banner {
    min-height: 300px;
  }
  
  .cta-content h2 {
    font-size: 32px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
}

/* Remove these placeholder styles as they're not needed anymore */
.image-placeholder {
  display: none;
}

.image-placeholder svg {
  display: none;
}

/* Teklif Alın Sayfası Stilleri */
.analysis-form-section {
  padding: 50px 0;
  background-color: var(--neutral-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h1 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-header p {
  font-size: 18px;
  color: var(--neutral-dark);
  line-height: 1.6;
}

.analysis-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.analysis-content {
  display: flex;
  flex-wrap: wrap;
  gap: 80px; /* Increased from 50px */
  align-items: center; /* Center vertically */
  justify-content: space-between; /* Changed from center */
  width: 100%;
}

.analysis-form {
  flex: 1;
  min-width: 320px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-width: 480px;
  height: auto;
  min-height: auto;
}

.analysis-features {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  padding-top: 0;
}

.analysis-features h3 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  margin-top: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--neutral-dark);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.form-group input::placeholder {
  color: #999;
  font-size: 15px;
}

.submit-button {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.submit-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-icon svg {
  color: var(--primary);
}

.feature-text {
  flex: 1;
}

.feature-text h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-text p {
  color: var(--neutral-dark);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .analysis-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .analysis-form,
  .analysis-features {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .analysis-form-section {
    padding: 30px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h1 {
    font-size: 36px;
  }
  
  .analysis-form {
    padding: 25px;
  }
  
  .analysis-features h3 {
    font-size: 24px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-header h1 {
    font-size: 32px;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  .feature-icon {
    width: 35px;
    height: 35px;
    margin-right: 15px;
  }
  
  .feature-text h4 {
    font-size: 18px;
  }
  
  .feature-text p {
    font-size: 15px;
  }
}

/* Bu sınıf, buton konteynerini formun en altına yapıştıracak */
.margin-top-auto {
  margin-top: 20px;
}

/* Form içerisindeki içeriği düzgün hizalamak için */
#analysisForm {
  display: flex;
  flex-direction: column;
  height: auto;
}

/* Dropdown menu için stil */
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: var(--neutral-dark);
  appearance: none; /* Native görünümü kaldır */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E2E2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

select option {
  padding: 10px;
}

select option:checked {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Placeholder option için stil */
select option[disabled] {
  color: #999;
}

/* Callback Form Section Stilleri */
.callback-form-section {
  padding: 50px 0;
  background-color: var(--neutral-light);
}

/* Callback form için özel stiller (existing analysis-form'a ek olarak) */
.callback-form {
  box-shadow: 0 5px 30px rgba(37, 99, 235, 0.08);
}

/* Responsive ayarlamalar */
@media (max-width: 576px) {
  select {
    padding: 12px 14px;
    background-position: right 12px center;
  }
}

/* İletişim Sayfası */
.contact-page-section {
  padding: 50px 0;
  background-color: var(--neutral-light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 40px;
}

.contact-form-col,
.contact-info-col {
  flex: 1;
  min-width: 320px;
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Textarea için stil */
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
  font-family: inherit;
}

textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* İletişim Bilgileri Bölümü */
.contact-info-wrapper {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-wrapper h2 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-method-icon svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.contact-method-content {
  flex: 1;
}

.contact-method-content h3 {
  color: var(--neutral-dark);
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-method-content a {
  color: var(--primary);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-method-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-method-content p {
  color: var(--neutral-dark);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Sosyal Medya Bölümü */
.social-media-links h3 {
  color: var(--neutral-dark);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  color: var(--primary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }
  
  .contact-form-col,
  .contact-info-col {
    width: 100%;
  }
  
  .contact-info-wrapper {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .contact-page-section {
    padding: 30px 0;
  }
  
  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 30px;
  }
  
  .contact-method-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  
  .contact-method-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .contact-method {
    flex-direction: column;
  }
  
  .contact-method-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
}

/* Fix for blue links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Prevent logo from changing color on hover */
.logo a:hover {
  color: var(--white);
}

/* Contact section styling to match theme */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Contact info values style override */
.contact-info-section .feature-text p a,
.contact-info-section .feature-text p {
  color: var(--neutral-dark);
  font-weight: normal;
}

/* Added spacing between form and contact section */
.analysis-content {
  display: flex;
  flex-wrap: wrap;
  gap: 80px; /* Increased from 50px */
  align-items: center; /* Center vertically */
  justify-content: space-between; /* Changed from center */
  width: 100%;
}

/* Vertically center the contact info section */
.contact-info-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Increased spacing within contact section */
.contact-info-section h3 {
  margin-bottom: 25px;
}

.contact-method {
  margin-bottom: 20px; /* Increased from 25px */
}
h2 {
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--primary);
}

/* Remove global h2 underline */
h2:after {
  display: none;
}

/* Add underline specifically to contact page main heading */
.contact-page-section .section-header h1 {
  position: relative;
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 100%;
}

.contact-page-section .section-header h1:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 8px;
  background-color: rgba(37, 99, 235, 0.15);
  border-radius: 4px;
}

.contact-page-section .section-header {
  margin-bottom: 50px;
}

.contact-page-section .section-header p {
  margin-top: 25px;
}

/* Contact info styling improvements */
.feature-text h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 600;
}

.feature-text h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Contact info values - make them theme colored */
.contact-info-section .feature-text p,
.contact-info-section .feature-text p a {
  color: var(--neutral-dark);
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.5;
}

/* Contact page specific improvements */
.contact-page-section .analysis-features h2 {
  margin-bottom: 15px;
}

.contact-page-section .contact-methods {
  margin-bottom: 0;
}

.contact-page-section .contact-method {
  margin-bottom: 35px;
}

.contact-page-section .contact-method:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }
  
  .hero-text {
    text-align: center;
    order: 1;
  }
  
  .hero-image {
    order: 0;
    text-align: center;
    max-width: 100% !important;
  }
  
  .who-are-we-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .who-are-we-image {
    text-align: center;
    max-width: 100%;
  }
  
  .who-are-we-text {
    padding: 0;
  }
  
  .who-are-we-text h2, 
  .who-are-we-text h3 {
    text-align: center;
  }
  
  .who-are-we-text div:first-child {
    text-align: center;
  }
  
  .timeline {
    padding: 0 15px;
  }
  
  .emergency-cta-content, 
  .call-today-cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .emergency-cta-image, 
  .call-today-cta-image {
    margin-top: 20px;
    text-align: center;
  }
  
  .hizmet-hero .container {
    flex-direction: column-reverse;
  }
  
  .hizmet-hero .hero-text {
    text-align: center;
  }
  
  .hizmet-hero .hero-image {
    margin: 0 auto 20px;
    max-width: 80% !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .hero-text p {
    font-size: 16px;
  }
  
  .who-are-we-text h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .timeline-content {
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
    order: 2;
    margin-top: 15px;
  }
  
  .timeline-point {
    order: 1;
    width: 100% !important;
    margin: 10px 0;
  }
  
  .timeline-empty {
    display: none;
  }
  
  .timeline-line {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 24px;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .hero-content {
    padding: 30px 0;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .section-heading {
    font-size: 22px;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 10px;
  }
  
  .nav-link {
    font-size: 14px;
  }

  .service-card {
    height: auto !important;
  }
  
  /* Mobile Nav Toggle Button */
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 10px;
  }
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
  .main-header {
    padding: 0; /* header'ı daha ince yaptım */
    padding-top: 8px;
  }
  
  .header-container {
    padding: 0 20px; /* padding'i düşürerek dikey boşluğu azalttım */
    align-items: center;
  }
  
  .logo a {
    font-size: 20px; /* usskimya yazısını mobil için küçülttüm */
  }
  
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center; /* hem yatay hem dikey ortalama için */
    height: 44px; /* hamburger button yüksekliğini artırdım */
    width: 44px; /* genişlik de ekledim */
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 52px; /* Header yüksekliğine göre ayarladım (daha ince header için) */
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 20px;
    z-index: 100;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
    padding-bottom: 20px;
  }
  
  .nav-item {
    width: 100%;
    margin: 8px 0;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  
  .header-actions {
    display: none;
  }
  
  /* Mobil menüde Teklif Al butonu */
  .mobile-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
  }
  
  .mobile-actions .cta-button {
    width: 80%;
    justify-content: center;
    margin: 10px auto;
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
}

/* Hamburger aktif durum düzeltmesi */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Yeni eklenen responsive stil */
@media (max-width: 576px) {
  .hero-section,
  .who-are-we-section,
  .services-section,
  .call-today-cta-section,
  .emergency-cta-section {
    padding: 25px 0;
  }
  
  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }
  
  .pre-header-banner-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .process-step {
    padding: 15px !important;
  }
  
  .dropdown-toggle::after {
    display: none;
  }
  
  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
    display: inline-block;
  }
}

/* Contact page specific improvements - more specific selectors */
.contact-page-section .analysis-features.contact-info-section h2 {
  margin-bottom: 15px !important;
}

.contact-page-section .contact-info-section .contact-method {
  margin-bottom: 35px !important;
}

.contact-page-section .contact-info-section .contact-method:last-child {
  margin-bottom: 0 !important;
}

/* Contact page layout improvements */
.contact-page-section .analysis-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.contact-page-section .analysis-form {
  flex: 1;
  min-width: 320px;
  max-width: 45%;
}

.contact-page-section .analysis-features {
  flex: 1;
  min-width: 320px;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-page-section .analysis-features {
  flex: 1;
  min-width: 320px;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 40px 0;
}

.contact-page-section .contact-info-section .contact-methods {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex-grow: 1;
  margin: 20px 0;
}

/* Mobile responsive improvements for contact page */
@media (max-width: 768px) {
  .contact-page-section .analysis-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  
  .contact-page-section .analysis-form {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  
  .contact-page-section .analysis-features {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    min-height: auto;
    padding: 20px 0;
  }
  
  .contact-page-section .contact-info-section .contact-methods {
    margin: 15px 0;
  }
}

@media (max-width: 576px) {
  .contact-page-section .analysis-content {
    gap: 30px;
    padding: 0 15px;
  }
  
  .contact-page-section .analysis-form {
    padding: 25px 20px;
  }
  
  .contact-page-section .analysis-features {
    padding: 15px 0;
  }
  
  .contact-page-section .contact-info-section h2 {
    text-align: center;
    margin-bottom: 30px !important;
  }
  
  .contact-page-section .contact-info-section .contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 35px !important;
  }
  
  .contact-page-section .contact-info-section .feature-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
  }
  
  .contact-page-section .contact-info-section .feature-text {
    width: 100%;
  }
  
  .contact-page-section .contact-info-section .feature-text h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }
  
  .contact-page-section .contact-info-section .feature-text p,
  .contact-page-section .contact-info-section .feature-text p a {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .call-today-cta-content {
    gap: 25px; /* Adjust vertical gap between stacked image and text */
  }

  /* Override inline style for image max-width on mobile */
  .call-today-cta-section .call-today-cta-image img[style] {
    max-width: 160px !important; /* Smaller image for mobile */
    height: auto !important;
    margin-left: auto !important; /* Ensure centering */
    margin-right: auto !important; /* Ensure centering */
  }

  .call-today-cta-text {
    max-width: 95%; /* Allow text block to use more width on mobile */
    margin-left: auto;
    margin-right: auto;
  }

  .call-today-cta-text h2 {
    font-size: 26px !important; /* Adjust heading size for mobile */
    line-height: 1.3;
  }

  .call-today-cta-text p {
    font-size: 15px !important; /* Adjust paragraph size for mobile */
    margin-bottom: 20px;
  }

  /* Override inline styles for the button in this section on mobile */
  .call-today-cta-section .call-today-cta-text a.btn-banner-outline[style] {
    padding: 10px 18px !important;
    font-size: 14px !important;
    white-space: nowrap; /* Prevent button text from wrapping */
    gap: 6px !important; /* Adjust gap between icon and text */
  }

  .call-today-cta-text p, .call-today-cta-text-button {
    text-align: center;
  }

  .call-today-cta-section .call-today-cta-text .btn-banner-outline .whatsapp-icon {
    width: 20px !important;  /* Adjust icon size */
    height: 20px !important;
    /* margin-right on .whatsapp-icon class is 4px, combined with button's gap property */
  }
}

@media (max-width: 768px) {
  .who-are-we-section .features-list .feature-item {
    display: flex !important;
    flex-direction: row !important; /* Explicitly set to row */
    align-items: center !important; /* Vertically center icon and text block relative to each other */
    margin-bottom: 20px !important; 
  }

  .who-are-we-section .features-list .feature-item .feature-icon {
    flex: 0 0 auto; /* Prevents growing or shrinking, uses its content size or explicit width/height */
    margin-right: 15px !important; /* Ensures space between icon and text */
    /* Assuming inline styles for width: 40px; height: 40px; are present and sufficient */
    /* background-color, border-radius, display:flex, align-items:center, justify-content:center for icon's own content */
  }

  .who-are-we-section .features-list .feature-item .feature-content {
    flex: 1 1 auto; /* Allows this part to grow and shrink to fill available space */
    min-width: 0; /* Helps prevent overflow if content inside is too wide */
  }

  .who-are-we-section .features-list .feature-item .feature-content p {
    margin: 0 !important; /* Removes any default paragraph margins */
    font-size: 15px !important; /* Adjusted text size for mobile */
    line-height: 1.5; /* Improved readability */
    text-align: left !important; /* Align text to the left */
  }

  /* Adjusting the subheading for better mobile presentation */
  .who-are-we-section .who-are-we-text h3 {
    text-align: center;
    font-size: 18px; /* Slightly smaller for mobile */
    margin-top: 20px; /* Adjusted from inline 40px */
    margin-bottom: 25px; /* Space before the feature list */
  }
}

@media (max-width: 576px) {
  .pre-header-banner-container {
    /* This rule already exists and sets flex-direction: column, gap: 10px */
    /* It might implicitly or explicitly center its items, which is fine */
  }

  .pre-header-buttons {
    display: flex; /* Ensuring it is a flex container */
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;   /* Center buttons horizontally within this container */
    gap: 10px;             /* Vertical gap between stacked buttons */
    width: 100%;           /* Make the button container take full available width */
  }

  .pre-header-buttons .btn-banner-outline {
                           /* Adjust this value if needed based on desired appearance */
    justify-content: center; /* Center the icon and text within each button */
    /* display: inline-flex; is the existing style and works with a set width */
    /* box-sizing: border-box; is globally set, so width includes padding/border */
  }
}