/* Base Styles */
:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --green: #22c55e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --white: #ffffff;
  --black: #000000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
  line-height: 1.5;
}


.container {

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 80px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
}

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

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

    .nav-links {
        gap: 20px;
    }


/* Hero Section */
.hero {
    padding:10px 0 5px;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    margin-top: 80px; /* Match header height */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-text-container {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform-origin: left;
    animation: underlineAnimation 3s ease-in-out infinite;
    animation-delay: calc(var(--line-delay, 0) * 0.8s);
}

@keyframes underlineAnimation {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    15% {
        transform: scaleX(1);
        opacity: 1;
    }
    45% {
        transform: scaleX(1);
        opacity: 1;
    }
    60% {
        transform: scaleX(0);
        opacity: 0;
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
        transform-origin: left;
    }
}

.hero-title:nth-child(1) {
    --line-delay: 0;
}

.hero-title:nth-child(2) {
    --line-delay: 1;
}

.hero-title:nth-child(3) {
    --line-delay: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin-top: 2rem;
}

.hero-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
    width: 100%;
    background: #000;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-control-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.video-control-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-control-btn i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 70px; /* Match tablet header height */
        padding-top: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-container {
        margin: 0 auto;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-top: 1rem;
    }

    .hero-video-container {
        height: auto;
        aspect-ratio: 16/9;
        margin: 0 auto;
        width: 100%;
    }

    .underline::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    @keyframes underlineAnimation {
        0% {
            transform: translateX(-50%) scaleX(0);
            opacity: 0;
        }
        15% {
            transform: translateX(-50%) scaleX(1);
            opacity: 1;
        }
        45% {
            transform: translateX(-50%) scaleX(1);
            opacity: 1;
        }
        60% {
            transform: translateX(-50%) scaleX(0);
            opacity: 0;
            transform-origin: right;
        }
        100% {
            transform: translateX(-50%) scaleX(0);
            opacity: 0;
            transform-origin: left;
        }
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px; /* Match mobile header height */
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Team Section Styles */
.team-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.team-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid #f5f5f5;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-member-role {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}

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

/* Base Styles */
:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --green: #22c55e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --white: #ffffff;
  --black: #000000;
}

html {
  scroll-behavior: smooth;
}

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

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Video Section */
.video-section {
  padding: 2rem 0;
  background-color: var(--white);
  width: 100%;
}

.video-container {
  max-width: 32rem;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 35rem;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: initial;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.play-button {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.play-button:hover {
  background-color: var(--white);
  transform: scale(1.1);
}

.play-button i {
  font-size: 1.5rem;
}

/* Expertise Section */
.expertise-section {
  padding: 3rem;
  background-color: var(--white);
  width: 100%;
}

.divider {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto 3rem;
  border-top: 1px solid var(--gray-200);
}

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

.expertise-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.expertise-text {
  font-size: 1.25rem;
  max-width: 32rem;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.3s ease;
}

.service-card:hover .service-thumbnail {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
  background: var(--white);
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.service-icon {
  color: var(--primary);
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-card:hover .service-learn-more {
  gap: 0.75rem;
}

.service-learn-more i {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 1.25rem;
  }

  .service-title {
    font-size: 1.125rem;
  }
}

/* Projects Section */
.projects-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 12rem;
  background-color: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image img {
  width: 100%;  /* Makes the image responsive */
  height: auto; /* Keeps aspect ratio */
  border-radius: 8px; /* Adds smooth edges */
}

.project-placeholder {
  color: var(--gray-500);
  font-size: 1.125rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-category {
  color: var(--gray-600);
}

/* Process Section */
.process-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.process-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 3rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.process-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.process-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
}

.reason-icon {
  color: var(--green);
  margin-right: 0.5rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.reason-text {
  font-size: 1.125rem;
}

/* Clients Section */
.clients-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.client-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.client-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.client-placeholder {
  width: 8rem;
  height: 8rem;
  background-color: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-placeholder span {
  color: var(--gray-500);
  font-size: 1.125rem;
}

/* Quote Section */
.quote-section {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
}

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

.quote-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.quote-button {
  background-color: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quote-button:hover {
  background-color: var(--gray-100);
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
  width: 100%;
  max-width: 100vw; /* Ensure it doesn't overflow */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: /*64rem*/100%;
  margin: 0 auto;
  width: 100%;
  max-width: 100vw; /* Ensure it doesn't overflow */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.contact-info,
.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.contact-link {
  font-size: 1.125rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.3s;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
}

.form-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 0.375rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-submit-btn i {
  margin-right: 0.5rem;
}

.form-submit-btn:hover {
  background-color: var(--primary-hover);
}

/* Media Queries */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Toast Styling */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #4CAF50;
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-size: 16px;
  animation: fadeInOut 3s;
}

/* Toast Animation */
@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

/* Service Detail Pages */
.service-detail-hero {
    padding: 8rem 0 4rem;
    background-color: var(--gray-50);
    text-align: center;
}

.service-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.service-detail-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.service-detail-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.service-process {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.timeline-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--gray-600);
}

.cta-section {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-timeline {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .timeline-item {
        margin-bottom: 0;
    }
}

/* Services Page Specific Styles */
.services-hero {
    padding: 8rem 0 4rem;
    background-color: var(--gray-50);
    text-align: center;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.services-hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1rem;
}

.service-learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-learn-more i {
    transform: translateX(5px);
}

.services-cta {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    padding: 8rem 0 4rem;
    background-color: var(--gray-50);
    text-align: center;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

.contact-main-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--gray-50);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.map-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-text {
    font-size: 1.125rem;
    color: var(--gray-700);
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 65vh;
    }
    
    .hero-content {
        padding: 2rem;
    }
}

/* Portfolio Page Styles */
.portfolio-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #1a1a1a, #2a2a2a);
    color: var(--white);
    padding: 8rem 0 4rem;
    overflow: hidden;
    margin-top: 60px;
}

.portfolio-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.portfolio-hero .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.portfolio-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-200);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.portfolio-image {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height instead of padding-top */
    overflow: hidden;
    background-color: #f5f5f5; /* Light background while image loads */
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block; /* Ensure image is block-level */
}
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.portfolio-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background-color: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Services Overview */
.services-overview {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.service-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Development Process */
.development-process {
    padding: 4rem 0;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.timeline-item p {
    color: var(--gray-600);
}

/* Technologies Section */
.technologies {
    background-color: var(--gray-50);
    padding: 4rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tech-item span {
    display: block;
    color: var(--gray-700);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, var(--primary), var(--primary-hover));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .hero-video-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-video-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-video-container {
        height: 350px;
    }
}




