/* Global Styles */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #4a90e2;
  --accent-color: #f8f8f8;
  --text-color: #333;
  --light-text: #fff;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

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

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-text);
}

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

/* Mobile Menu */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light-text);
  font-size: 24px;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--light-text);
  position: relative;
  padding-top: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Page Header */
.page-header {
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  align-items: center;
  color: var(--light-text);
  position: relative;
  padding-top: 80px;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.page-header .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #3a80d2;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: #666;
}

/* Services Section */
.services {
  background-color: var(--accent-color);
}

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

.service-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-card p {
  margin-bottom: 20px;
}

.service-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Service Detail Page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.service-detail.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.service-detail.reverse .service-content {
  direction: ltr;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-content p {
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 10px;
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  margin: 0 5px 10px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: var(--light-text);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-category {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 10px;
}

/* Case Studies */
.case-studies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.case-study {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  padding: 30px;
}

.case-study-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.case-study-location {
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.case-study-features {
  list-style: none;
  margin: 20px 0;
}

.case-study-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

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

.testimonial {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content {
  position: relative;
  padding-left: 30px;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: -20px;
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 20px;
  text-align: right;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.partner {
  background-color: #fff;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-color);
}

/* Integration Section */
.integration-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.integration-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* About Content */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 18px;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

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

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.contact-form-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

/* Map Container */
.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 50px 0 20px;
}

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

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .page-header h1 {
    font-size: 36px;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }
  
  .case-study {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
  
  .navbar-collapse.show {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }
  
  .nav-menu a {
    color: var(--light-text);
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .project-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    margin-bottom: 10px;
  }
}/* Update the CTA section styling for better contrast */
.cta-section {
    background-color: var(--primary-color) !important; /* Dark background instead of accent color */
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-text);
}

.cta-content .btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 15px 30px;
    font-size: 18px;
}

.cta-content .btn:hover {
    background-color: #3a80d2;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    width: 180px;
    height: 100px;
}

.partner:hover {
    transform: translateY(-5px);
}

.partner img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}
/* Modern Service Cards */
.services-cards {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 40px 0;
}

.service-card-modern {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-modern.reverse {
    flex-direction: row-reverse;
}

.service-card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.service-card-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card-modern:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
}

.service-card-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-card-content p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #555;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Partner Cards */
.tech-partners {
    background-color: var(--accent-color);
}

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

.partner-card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.partner-card p {
    color: #666;
    font-size: 14px;
}

/* CTA Section Enhancement */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card-modern {
        flex-direction: column;
    }
    
    .service-card-modern.reverse {
        flex-direction: column;
    }
    
    .service-card-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .service-card-content {
        padding: 30px;
    }
    
    .service-card-content h2 {
        font-size: 24px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
/* Partner Logos */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 180px;
    height: 100px;
}

.partner:hover {
    transform: translateY(-5px);
}

.partner img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}
