/*
Theme Name: Techalgeria theme
Author: Your Name
Description: A professional, modern theme for a software company.
Version: 1.0
License: GPLv2 or later
Text Domain: techalgeria
*/

/* --- General & Typography --- */
/* Add these CSS styles to your stylesheet */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1.0s ease, transform 1.0s ease;
    }
    
    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .stagger-children > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .stagger-children > *.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Hero section specific animations */
    .hero-text .title-1 {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
    }
    
    .hero-text .title-big {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
    }
    
    .hero-text .sub-title {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
    }
    
    .hero-text .description {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
    }
    
    .hero-text .cta-buttons {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease 1.5s, transform 0.8s ease 1.5s;
    }
    
    .hero-image {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
    }
    
    .loaded .hero-text .title-1,
    .loaded .hero-text .title-big,
    .loaded .hero-text .sub-title,
    .loaded .hero-text .description,
    .loaded .hero-text .cta-buttons,
    .loaded .hero-image {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
body {
    font-family: 'Karla', sans-serif;
    color: #333;
    background-color: #fff;
    margin: 0;
}

h1, h2, h3 {
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Base Styles */

.sticky-nav {
    position: sticky;
    top: 0;
    background: #eef4f4;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.3s ease;
    /* Removed box-shadow from here */
}

/* Add this new class for when scrolled */
.sticky-nav.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0.8;
}

.sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header Left Section */
.header-left {
    display: flex;
    align-items: center;
}
/* Logo Styles - Fixed size */
.logo {
    display: flex;
    align-items: center;
    height: 50px; /* Fixed height for logo container */
}
.logo-img {
    height: auto; /* Fixed height for logo */
    width: auto;
    max-width: 300px; /* Prevent logo from getting too wide */
    object-fit: contain; /* Maintain aspect ratio */
    transition: none; /* Remove transition to prevent scaling */
}
/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
}
/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 15px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}
/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: #067972;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #067972;
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* Responsive Styles */
@media (max-width: 768px) {
    .sticky-nav .container {
        padding: 15px 15px; /* Adjusted padding for mobile */
    }
    .logo {
        height: 40px; /* Fixed height for logo container on mobile */
    }
    .logo-img {
        height: 50px; /* Fixed height for logo on mobile */
        max-width: 160px; /* Adjust max width for mobile */
    }
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 70px; /* Adjusted top position based on new header height */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a::after {
        display: none;
    }
}
@media (max-width: 480px) {
    .sticky-nav .container {
        padding: 12px 15px; /* Further adjusted padding for small mobile */
    }
    .logo {
        height: 35 px; /* Fixed height for logo container on small mobile */
    }
    .logo-img {
        height: 250px; /* Fixed height for logo on small mobile */
        max-width: 500px; /* Adjust max width for small mobile */
    }
    .main-nav {
        top: 59px; /* Adjusted top position based on new header height */
    }
    .nav-links a {
        font-size: 15px;
    }
}
/* Navigation Styles */

.nav-links li {
    margin-left: 25px;
}

.nav-links a:hover {
    color: #941C23 !important;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #067972;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a {
        font-size: 1.2rem;
    }
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
/* Tablet Specific Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links li {
        margin-left: 15px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}
/******* smart home page ******/

/* Base Styles */
.knx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.knx-section {
  padding: 80px 0;
}

.knx-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

/* Hero Section */

.knx-hero {
  position: relative;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  padding: 250px 0px;
  min-height: 50vh;
  background-image: url("/wp-content/uploads/2025/12/Modern.png"); /* 🔹 Replace with your image */
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  color: #fff;
}

.knx-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* overlay for readability */
  z-index: 1;
}

.knx-hero-content,
.knx-hero-animation {
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .knx-hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .knx-hero-content {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .knx-hero {
    padding: 40px 15px;
    min-height: 70vh;
  }

  .knx-hero h1 {
    font-size: 1.8rem;
  }

  .knx-hero p {
    font-size: 1rem;
  }

  .knx-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

 /* Modern icon styling */
  .knx-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .knx-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  .knx-icon svg {
    width: 32px;
    height: 32px;
    color: #067972;
    transition: color 0.3s ease;
  }

  .knx-card:hover .knx-icon svg {
    color: #b53735;
  }

  /* Card hover effect */
  .knx-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .knx-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
/* Cards */
.knx-grid {
  display: grid;
  gap: 30px;
}

.knx-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.knx-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.knx-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.knx-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.knx-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #067972;
}

.knx-card p {
  color: #666;
  line-height: 1.6;
}

/* Features Section */
.knx-features {
  background: #f9f9f9;
}

/* Process Section */
.knx-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.knx-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #e0e0e0;
  border-radius: 2px;
}

.knx-step {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.knx-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.knx-step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #b53735;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
}

.knx-step-content {
  width: 45%;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.knx-step-content:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.knx-step-content h3 {
  color: #067972;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.knx-cta {
  background: linear-gradient(135deg, #067972 0%, #067972 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.knx-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.knx-cta p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Button */
.knx-btn {
  display: inline-block;
  background: white;
  color: #067972;
  padding: 15px 35px;
  margin-top: 50px;
  border-radius: 0px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
}

.knx-btn:hover {
  background: #f0f7ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .knx-hero h1 {
    font-size: 2.5rem;
  }
  
  .knx-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .knx-timeline::before {
    left: 20px;
  }
  
  .knx-step-number {
    left: 20px;
  }
  
  .knx-step,
  .knx-step:nth-child(odd) {
    flex-direction: row;
    padding-left: 70px;
  }
  
  .knx-step-content {
    width: 100%;
  }
}


/********** end ************** /

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
    background-color: #eef4f4;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    height: 500px;
}

.hero-text {
    flex: 1;
}

.title-1,
.title-big {
    font-size: 3.5em;
    font-weight: 600;
    color: #0e0e0e;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.description {
    color: #757575;
    font-size: 18px;
    font-weight: 500;
    margin-top: 2em;
    line-height: 1.3;
    letter-spacing: 1px;
}

.sub-title {
    font-size: 2em;
    line-height: 1.15;
    color: #00667d;
    font-weight: 400;
    margin: 1rem 0 0;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 0px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #b53735;
    color: white;
}

.btn-primary:hover {
    background-color: #a9302e;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #b53735;
    border: 2px solid #b53735;
}

.btn-secondary:hover {
    background-color: #067972;
    color: white;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

@keyframes float {
    0% { transform: translateY(30px); }
    50% { transform: translateY(0px); }
    100% { transform: translateY(30px); }
}

/* Hero Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        min-height: 70vh;
    }
    
    .hero-text {
        padding-right: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-text .subtext {
        font-size: 1.2rem;
    }
    
    .hero-text .description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        flex: 0 0 100%;
        height: 50vh;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text .subtext {
        font-size: 1.1rem;
    }
    
    .hero-text .description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-text {
        margin-bottom: 30px;
    }
    
    .hero-image {
        height: 40vh;
    }
    
    .hero-text h1 {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }
    
    .hero-text .subtext {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .hero-text .description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    max-width: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #067972;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* --- Services Section --- */
.services {
    padding-bottom:50px;
}
.services-container {
    display: flex;
    width: 100%;
    max-width: 1275px;
    height: 380px;
    gap: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    background-color: #e9ecef;
    color: #333;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: #067972;
    color: white;
}

.service-icon {
    font-size: 64px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    transform: translateY(-15px) scale(1.1);
    color: white;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.service-box:hover .service-title {
    transform: translateY(-10px);
    color: white;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: currentColor;
    transition: width 0.4s ease;
}

.service-box:hover .service-title::after {
    width: 100%;
    background-color: white;
}

.service-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-box:hover .service-description {
    opacity: 1;
    transform: translateY(0);
    color: white;
}

.service-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-box:hover .service-buttons {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: #b53735;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}

.service-box:hover .btn {
    background-color: white;
    color: #193C42;
}

.btn:hover {
    background-color: #f8f9fa;
    color: #193C42;
}

/* PHP Content Display */
.php-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #4ade80;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-box {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-box:nth-child(1) {
    animation-delay: 0.1s;
}

.service-box:nth-child(2) {
    animation-delay: 0.2s;
}

.service-box:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover overlay effect */
.service-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-box:hover::after {
    opacity: 1;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Services Responsive */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        height: auto;
    }
    .service-box {
        padding: 30px 20px;
    }
    .service-icon {
        font-size: 48px;
    }
    .service-title {
        font-size: 24px;
    }
}

/* Partners/Clients Section */
.partners {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.partners .container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners .section-title {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 30px;
    font-weight: bold;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 40px;
}

.partner-categories {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-category {
    flex: 1 1 calc(33.333% - 20px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.partner-category h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.partner-category .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-category .logos img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-category .logos img:hover {
    filter: grayscale(0);
}

/* Partners Responsive */
@media (max-width: 768px) {
    .partner-categories {
        flex-direction: column;
        gap: 30px;
    }
    .partner-category {
        text-align: center;
    }
    .logos {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 20px;
    }
    .logos img {
        height: 60px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }
}

@media (min-width: 768px) {
    .partner-categories {
        flex-direction: row;
        justify-content: space-between;
    }
    .partner-category {
        flex: 1;
        max-width: 30%;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.case-studies .container {
    max-width: 1200px;
    margin: 0 auto;
}

.case-studies .section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}


.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study h3 {
    font-size: 20px;
    color: #333;
    margin: 15px 0;
    padding: 0 10px;
    font-weight: 500;
}

/* Case Studies Responsive */
@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .case-study img {
        height: 250px;
    }
}

.case-study {
    padding: 40px 20px;
}

.web-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.web-text, .web-images {
    flex: 1;
}

.web-images img {
    width: 100%;
    height: auto;
  /*  border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

/* Tablet responsiveness */
@media (max-width: 992px) {
    .web-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .web-text, .web-images {
        width: 100%;
    }
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .case-study {
        padding: 30px 15px;
    }
    
    .web-wrapper {
        gap: 20px;
    }
    
    .web-text h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .web-text p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #067972;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
}

#scrollToTop svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

#scrollToTop:hover {
    background-color: #a9302e;
    transform: translateY(-5px);
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Scroll to Top Responsive */
@media (max-width: 768px) {
    #scrollToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    #scrollToTop svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #scrollToTop {
        width: 45px;
        height: 45px;
        bottom: 25px;
        right: 25px;
    }
    #scrollToTop svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 767px) {
    #scrollToTop {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        background-color: rgb(20 127 128);
        box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    }
    #scrollToTop svg {
        width: 22px;
        height: 22px;
    }
    #scrollToTop:hover {
        transform: none;
        background-color: rgba(0, 123, 255, 0.9);
    }
    #scrollToTop:active {
        transform: scale(0.95);
        background-color: #0056b3;
    }
}

@media (max-width: 480px) {
    #scrollToTop {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
    }
    #scrollToTop svg {
        width: 20px;
        height: 20px;
    }
}

/* Products Page */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cover-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.title-products {
    text-align: center;
    margin: 30px 0;
}

.title-products h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    padding: 0 15px;
}

.product-card p {
    color: #666;
    padding: 0 15px;
    margin-bottom: 15px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 15px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #005a87;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-container input[type="submit"]:hover {
    background: #005a87;
}

/* Products Responsive */
@media (max-width: 992px) {
    .title-products h1 {
        font-size: 2.2rem;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    .product-image img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .title-products h1 {
        font-size: 1.9rem;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    .product-card h3 {
        font-size: 1.1rem;
    }
    .product-card p {
        font-size: 0.9rem;
    }
    .download-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .products-container {
        padding: 0 10px;
    }
    .title-products {
        margin: 20px 0;
    }
    .title-products h1 {
        font-size: 1.7rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-image img {
        height: 220px;
    }
    .product-card h3 {
        font-size: 1.2rem;
    }
    .login-container {
        margin: 30px 15px;
        padding: 20px;
    }
}

/* Services Page */
.modern-services-page {
    color: #333;
    overflow-x: hidden;
}

/* Hero Section Services */
.hero-section-services {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ecf2f2;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s infinite ease-in-out;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-content-services {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #f39c12;
    position: relative;
    display: inline-block;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(243, 156, 18, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.btn-outline {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.btn-outline:hover {
    background-color: #fff !important;
    color: #000 !important;
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a2a6c;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.services-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    background-color: #1a2a6c;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background-color: #f1f1f1;
}

.tabs-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-details {
    display: flex;
    flex-wrap: wrap;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a2a6c;
}

.service-info p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #2ecc71;
    margin-right: 10px;
}

/* Services Grid */
.services-grid {
    padding: 100px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover:before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(26, 42, 108, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a2a6c;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a2a6c;
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.card-link {
    color: #1a2a6c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1230px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #ddd;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #1a2a6c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a2a6c;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: #fff;
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: #fff;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 0 20px;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-details p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* CTA Section */
.cta-section-services {
 padding: 100px 0;
    background: linear-gradient(135deg, #439c9e, #067972);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-about {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-section .btn-primary {
    background: #fff;
    color: #e67e22;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
}

.cta-section .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Services Page Responsive */
@media (max-width: 768px) {
    .hero-section-services {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 80%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }
    
    .section-header p {
        font-size: 1rem !important;
        padding: 0 20px;
    }
    
    .services-tabs {
        margin-top: 40px;
    }
    
    .tabs-nav {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #1a2a6c #f1f1f1;
    }
    
    .tabs-nav::-webkit-scrollbar {
        height: 6px;
    }
    
    .tabs-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .tabs-nav::-webkit-scrollbar-thumb {
        background-color: #1a2a6c;
        border-radius: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    
    .service-details {
        flex-direction: column;
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-info {
        padding: 30px 20px;
    }
    
    .service-info h3 {
        font-size: 1.5rem !important;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 300px;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 1.1rem !important;
    }
    
    .client-info {
        flex-direction: column;
    }
    
    .client-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-section-services {
        padding: 70px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 1.1rem !important;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section-services {
        min-height: 60vh;
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .section-header p {
        font-size: 0.95rem !important;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-info {
        padding: 25px 15px;
    }
    
    .service-info h3 {
        font-size: 1.3rem !important;
    }
    
    .service-info p {
        font-size: 0.95rem !important;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .feature-list i {
        font-size: 0.8rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem !important;
    }
    
    .service-card p {
        font-size: 0.95rem !important;
    }
    
    .card-link {
        font-size: 0.95rem;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem !important;
    }
    
    .step-content p {
        font-size: 0.9rem !important;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-content {
        padding: 25px 15px;
    }
    
    .testimonial-content p {
        font-size: 1rem !important;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .client-details h4 {
        font-size: 1rem !important;
    }
    
    .client-details p {
        font-size: 0.85rem !important;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cta-section-services {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem !important;
    }
    
    .cta-content p {
        font-size: 1rem !important;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 90%;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .section-header h2 {
        font-size: 1.6rem !important;
    }
    
    .service-info h3 {
        font-size: 1.2rem !important;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    
    .cta-content h2 {
        font-size: 1.6rem !important;
    }
}

/* About Section Styling */
/* Base styles for desktop */
.about-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.about-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.about-item {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-item:hover {
  transform: translateY(-10px);
}

.about-item i {
  font-size: 48px;
  color: #16827d;
  margin-bottom: 20px;
}

.about-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.from-left {
  transform: translateX(-30px);
}

.fade-in.from-right {
  transform: translateX(30px);
}

.fade-in.from-bottom {
  transform: translateY(30px);
}

.delay1 {
  transition-delay: 0.2s;
}

.delay2 {
  transition-delay: 0.4s;
}

.delay3 {
  transition-delay: 0.6s;
}

/* Tablet styles (768px - 991px) */
@media (max-width: 991px) {
  .about-section {
    padding: 60px 15px;
  }
  
  .about-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-item {
    padding: 25px;
  }
  
  .about-item i {
    font-size: 40px;
  }
  
  .about-item p {
    font-size: 15px;
  }
  
  /* Adjust animations for tablets */
  .fade-in.from-left,
  .fade-in.from-right {
    transform: translateY(20px);
  }
}

/* Mobile styles (576px - 767px) */
@media (max-width: 767px) {
  .about-section {
    padding: 40px 15px;
  }
  
  .about-container {
    gap: 15px;
  }
  
  .about-item {
    padding: 20px;
  }
  
  .about-item i {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .about-item p {
    font-size: 14px;
  }
}

/* Small mobile styles (below 576px) */
@media (max-width: 575px) {
  .about-section {
    padding: 30px 10px;
  }
  
  .about-container {
    gap: 10px;
  }
  
  .about-item {
    padding: 15px;
  }
  
  .about-item i {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .about-item p {
    font-size: 13px;
  }
}
/* Button */
.btn-learn-more {
  display: inline-block;
  padding: 12px 28px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.btn-learn-more:hover {
  background: #0ea5e9;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0px 4px 15px rgba(56, 189, 248, 0.3);
}

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.from-top { transform: translateY(-40px); }
.from-bottom { transform: translateY(40px); }
.from-left { transform: translateX(-40px); }
.from-right { transform: translateX(40px); }

.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delay classes */
.delay1 { transition-delay: 0.3s; }
.delay2 { transition-delay: 0.6s; }
.delay3 { transition-delay: 0.9s; }
.delay4 { transition-delay: 1.2s; }

/* end */
/* Work Section */
.services-nav {
    background: #f8f9fa;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 0px;
    transition: all 0.3s;
}

.nav-btn.active {
    background: #067972;
    color: white;
}

.services-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Case Studies Section */
.case-studies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-study-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-study-image {
    height: 250px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 25px;
}

.case-study-content h3 {
    display: inline-table;
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: #333;
    line-height: 1.3;
}

.client-name {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.view-all-container {
    text-align: center;
}

.view-all-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #a9302e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: #067972;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-container {
        padding: 40px 15px;
    }
}

/* Archive Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Single Case Study Styles */
.case-study-single {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.case-study-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
}

.case-study-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-header {
    margin-bottom: 30px;
    text-align: center;
}

.case-study-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.client-label {
    font-weight: bold;
    color: #555;
    display: none;
}

.client-name {
    display: inline-table;
    color: #333;
    padding-bottom: 40px;
    line-height: 30px;
}

.entry-content {
    line-height: 1.7;
    font-size: 1.1rem;
}

.case-study-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-archive a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-archive a:hover {
    background-color: #0052a3;
}

/* General Section */
.work-with-us {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

/* Icon */
.work-with-us .icon img {
  width: 70px;
  margin-bottom: 20px;
}

/* Heading */
.work-with-us h2 {
  font-size: 24px;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 40px;
}

/* Button */
.work-with-us .btn-work {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #a9302e; /* teal color */
  color: #a9302e;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Button Animation */
.work-with-us .btn-work::before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: #a9302e;
  z-index: -1;
  transition: width 0.4s ease;
}

.work-with-us .btn-work:hover::before {
  width: 100%;
  color: #067972;
}

.work-with-us .btn-work:hover {
  color: #fff;
   background-color:#067972;
}


/* Add read more button to archive cards */
.case-study-content .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.case-study-content .read-more:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .case-study-header h1 {
        font-size: 1.8rem;
    }
    
    .case-study-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.case-study-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.container-study {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 0px;
}

.case-study-header {
    text-align: left;
    margin-bottom: 0px;
    padding: 20px 20px;
}

.case-study-header .entry-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    padding: 0 20px;
    padding-top: 20px;
}

.client-info {
    font-size: 1.1em;
    color: #555;
    padding: 0px 20px;
}

.quick-look {
    background: #f7f7f7;
    padding: 40px;
    margin-bottom: 40px;
}

.quick-look h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.quick-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.quick-meta div {
    flex: 1;
    margin: 0 15px;
}

.case-study-process {
    background: #333;
    color: #fff;
    padding: 40px;
    margin-bottom: 40px;
}

.case-study-process h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.case-study-outcomes {
    text-align: center;
    margin: 40px 0;
}


.case-study-outcomes img.outcomes-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.case-study-process {
    background: #067972; /* similar to your screenshot background */
    color: #fff;
    padding: 20px 0px;
}

.process-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

/* Responsive adjustments */
@media (max-width: 574px) {
    .process-wrapper {
        display: grid;
    }
}
.process-images {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.process-images img {
    width: auto;
    max-width: 100%;
    border-radius: 0px;
  /*  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);*/
}

.process-text {
    flex: 1;
}

.process-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.process-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}
/*   Page about */

/* Cover Section */
.cover-section-about {
    position: relative;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.cover-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Description Section */
.description-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Photo Grid */
.photo-grid-section {
    padding: 80px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.grid-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for grid items */
.grid-item:nth-child(1) { transition-delay: 0.1s; }
.grid-item:nth-child(2) { transition-delay: 0.2s; }
.grid-item:nth-child(3) { transition-delay: 0.3s; }
.grid-item:nth-child(4) { transition-delay: 0.4s; }
.grid-item:nth-child(5) { transition-delay: 0.5s; }
.grid-item:nth-child(6) { transition-delay: 0.6s; }
.grid-item:nth-child(7) { transition-delay: 0.7s; }
.grid-item:nth-child(8) { transition-delay: 0.8s; }
.grid-item:nth-child(9) { transition-delay: 0.9s; }
/* end  */

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #b53735, #2ecc71, #f1c40f, #e74c3c);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: #eff4f8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copyright {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.copyright i {
    margin-right: 10px;
    color: #b53735;
}

.company-info {
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #b53735;
    transform: translateX(5px);
}

.footer-nav i {
    margin-right: 8px;
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #bdc3c7;
    font-size: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #b53735;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #b53735;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.newsletter {
    margin-top: 20px;
}

.newsletter h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #b53735;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    background: #b53735;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #067972;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #b53735;
}

.copyright-bottom {
    font-size: 14px;
    color: #bdc3c7;
}

.footer-nav .nav-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-nav .nav-footer-links li {
    margin-bottom: 10px;
}

.footer-nav .nav-footer-links a {
    color: #bdc3c7;
    text-decoration: none !important;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h3 {
        border-bottom: none;
        margin-bottom: 15px;
    }
    
    .footer-nav a,
    .contact-info p {
        justify-content: center;
    }
    
    .footer-nav a:hover,
    .contact-info p:hover {
        transform: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding-top: 30px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 16px;
    }
    
    .copyright,
    .company-info,
    .footer-nav a,
    .contact-info p,
    .newsletter h4 {
        font-size: 14px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}