/* Base Styles */
:root {
  --primary-color: #1a237e;
  --secondary-color: #0d47a1;
  --accent-color: #2962ff;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #fff;
  --light-background: #f5f5f5;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --transition-speed: 0.3s;
  --light-color: #fff;
  --gray-color: #f5f5f5;
  --dark-gray: #666;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #0d3b76;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.alt-bg {
  background-color: var(--gray-color);
}

/* Animation classes */
.slide-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fade-in.active {
  opacity: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 0;
  transition: var(--transition);
}

/* Add background color for inner pages */
.page-banner + header,
.about-banner + header,
.services-banner + header,
.contact-banner + header {
  background-color: var(--light-color);
}

.page-banner + header .logo-text,
.about-banner + header .nav-menu a,
.services-banner + header .logo-text,
.services-banner + header .nav-menu a,
.contact-banner + header .logo-text,
.contact-banner + header .nav-menu a {
  color: var(--primary-color);
}

.page-banner + header .menu-toggle span,
.about-banner + header .menu-toggle span,
.services-banner + header .menu-toggle span,
.contact-banner + header .menu-toggle span {
  background-color: var(--primary-color);
}

header.scrolled {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

header.scrolled .logo-text,
header.scrolled .nav-menu a {
  color: var(--primary-color);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-text {
  color: var(--light-color);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
}

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

.nav-menu a {
  color: var(--light-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light-color);
  margin-bottom: 5px;
  transition: var(--transition);
}

header.scrolled .menu-toggle span {
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/hero-bg.jpg") no-repeat
    center center / cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-color);
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Services Overview */
.services-overview {
  padding: 100px 0;
  background-color: #f8f9fa;
}

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

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

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

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -65px auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
}

.service-icon i {
  color: #fff;
  font-size: 28px;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.service-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
  padding-left: 10px;
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 12px;
  font-size: 14px;
}

/* Trust Section */
.trust-section {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.trust-badge {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  height: 120px;
}

.trust-badge img {
  max-height: 80px;
  object-fit: contain;
}

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

.badge-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.badge-text {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Recent Projects */
.recent-projects {
  padding: 100px 0;
}

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

.project-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.project-image {
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(10, 46, 92, 0.9), rgba(10, 46, 92, 0.9)), url("../images/cta-bg.jpg") no-repeat
    center center / cover;
  color: var(--light-color);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.scroll-top {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.social-float {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.whatsapp-float {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

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

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

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  font-weight: 400;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-links ul li a,
.footer-services ul li a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact ul li i {
  margin-right: 10px;
  color: var(--secondary-color);
}

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

/* Page Banner */
.page-banner {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-color);
  padding-top: 80px;
}

.about-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/about-banner.jpg") no-repeat
    center center / cover;
}

.services-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/services-banner.jpg")
    no-repeat center center / cover;
}

.contact-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/contact-banner.jpg")
    no-repeat center center / cover;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
}

/* About Page Styles */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mission-section {
  padding: 80px 0;
  background-color: var(--gray-color);
}

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

.mission-statement {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.mission-statement h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.value-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.timeline-section {
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.team-section {
  padding: 80px 0;
  background-color: var(--gray-color);
}

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

.team-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

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

.team-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.team-position {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-bio {
  color: var(--dark-text);
  line-height: 1.6;
}

/* Services Page Styles */
.services-navigation {
  padding: 50px 0;
  background-color: var(--gray-color);
}

.services-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.service-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  min-width: 150px;
  transition: var(--transition);
}

.service-nav-item:hover {
  transform: translateY(-5px);
  background-color: var(--primary-color);
  color: var(--light-color);
}

.service-nav-item i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.service-detail {
  padding: 100px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

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

.service-detail-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-list {
  margin: 30px 0;
}

.service-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.service-list li i {
  color: var(--secondary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.service-detail-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Contact Page Styles */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 20px;
}

.contact-text h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.social-links h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.social-icons .social-icon {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.contact-form-container {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: var(--border-radius);
  background: #f9f9f9;
  cursor: pointer;
}

.form-group input[type="file"]:hover {
  border-color: var(--primary-color);
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 0.85rem;
}

/* Cookie Consent Styles */
.cc-window {
  font-family: var(--body-font);
}

.cc-window.cc-banner {
  padding: 1em;
}

.cc-window .cc-message {
  font-size: 1rem;
  line-height: 1.5;
}

.cc-window .cc-btn {
  font-size: 0.9rem;
  padding: 0.5em 1em;
  border-radius: var(--border-radius);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-success i {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--dark-text);
  font-size: 1.1rem;
  line-height: 1.6;
}

.map-section {
  height: 450px;
}

.map-container {
  height: 100%;
}

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

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  visibility: hidden;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.testimonial-content {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  padding-left: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin: 0;
  padding: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  background-color: var(--primary-color);
  color: var(--light-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--secondary-color);
}

.testimonial-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Projects Page Styles */
.projects-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/projects-banner.png")
    no-repeat center center / cover;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.filter-btn {
  background-color: var(--light-color);
  color: var(--primary-color);
  border: 1px solid #ddd;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

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

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-item:hover .project-image img {
  transform: scale(1.1);
}

.project-category {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-details {
  padding: 20px;
  background-color: var(--light-color);
}

.project-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.project-details p {
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dark-gray);
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.project-meta span {
  display: flex;
  align-items: center;
}

.project-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

/* Single Project Page */
.project-showcase {
  padding: 100px 0;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.project-gallery {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.project-main-image {
  height: 400px;
  overflow: hidden;
}

.project-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.project-thumbnail {
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-thumbnail:hover img {
  transform: scale(1.1);
}

.project-info {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.project-info h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.project-info-list {
  margin-bottom: 30px;
}

.project-info-item {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.project-info-item:last-child {
  border-bottom: none;
}

.project-info-label {
  font-weight: 600;
  color: var(--primary-color);
  width: 120px;
}

.project-description {
  margin-top: 40px;
}

.project-description h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Blog Page Styles */
.blog-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/blog-banner.jpg") no-repeat
    center center / cover;
}

.blog-section {
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.blog-post {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 300px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-post:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.blog-meta span {
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.search-form {
  display: flex;
}

.search-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-form button {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover {
  background-color: var(--secondary-color);
}

.category-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.category-list .count {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.recent-post {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-image {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 15px;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.recent-post-content a {
  color: var(--text-color);
  transition: var(--transition);
}

.recent-post-content a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--dark-gray);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: #f0f0f0;
  color: var(--text-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Careers Page Styles */
.careers-banner {
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), url("../images/careers-banner.jpg")
    no-repeat center center / cover;
}

.careers-section {
  padding: 100px 0;
}

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

.careers-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.careers-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.job-listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.job-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

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

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.job-title h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.job-department {
  color: var(--secondary-color);
  font-weight: 600;
}

.job-type {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.job-details {
  margin-bottom: 20px;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.job-meta span {
  display: flex;
  align-items: center;
}

.job-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.job-description {
  margin-bottom: 20px;
}

.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-actions .btn {
  padding: 10px 20px;
}

.job-toggle {
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.job-toggle i {
  margin-left: 5px;
  transition: var(--transition);
}

.job-toggle.active i {
  transform: rotate(180deg);
}

.job-content {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.job-content.active {
  display: block;
}

.job-content h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.job-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.job-content ul li {
  margin-bottom: 10px;
}

.careers-sidebar {
  position: sticky;
  top: 100px;
}

.careers-widget {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.careers-widget h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.careers-widget p {
  margin-bottom: 20px;
}

.benefits-list {
  margin-bottom: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(10, 46, 92, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.2rem;
}

.benefit-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

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

.culture-image {
  border-radius: 5px;
  overflow: hidden;
  height: 120px;
}

.culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.culture-image:hover img {
  transform: scale(1.1);
}

/* Privacy Policy and Terms of Service Pages */
.about-content h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about-content h3 {
  color: var(--secondary-color);
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-content ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.about-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--light-text);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 15px 0;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links h4::after,
  .footer-services h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 0 20px;
  }
  
  .service-card {
    max-width: 100%;
  }

  .service-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .section-header h2,
  .about-content h2,
  .service-detail-content h2,
  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .floating-elements {
    right: 15px;
    bottom: 15px;
  }
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form .form-group {
    margin: 0;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"],
.newsletter-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input[type="text"]::placeholder,
.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.newsletter-form select option {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-form .btn {
    padding: 12px 30px;
    white-space: nowrap;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.newsletter-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
    display: block;
}

.newsletter-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
    display: block;
}

.newsletter-message.info {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid #007bff;
    display: block;
}

/* Service Calculator Styles */
.service-calculator {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.calculator-form {
    margin-bottom: 30px;
}

.estimate-result {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    display: none;
}

.estimate-result.active {
    display: block;
}

.estimate-result h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.estimate-details {
    margin-bottom: 20px;
}

.estimate-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.estimate-item.total {
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.estimate-note {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

.newsletter-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

.newsletter-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.newsletter-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Admin Styles */
.admin-section {
    padding: 100px 0;
    min-height: calc(100vh - 200px);
}

.admin-container {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.admin-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
}

.filter-box {
    min-width: 200px;
}

.filter-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.subscribers-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.subscribers-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.subscribers-table th,
.subscribers-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.subscribers-table th {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
}

.subscribers-table tr:hover {
    background-color: #f8f9fa;
}

.subscriber-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.edit {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.action-btn.delete {
    background-color: var(--error-color);
    color: var(--light-color);
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#pageInfo {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .admin-controls {
        flex-direction: column;
    }
    
    .search-box,
    .filter-box {
        width: 100%;
    }
    
    .subscribers-table th,
    .subscribers-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Email Campaign Section */
.email-campaign-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.email-campaign-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    height: 150px;
}

.form-group select[multiple] {
    padding: 0;
}

.form-group select[multiple] option {
    padding: 0.5rem;
    cursor: pointer;
}

.form-group select[multiple] option:hover {
    background-color: #f0f0f0;
}

.email-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.email-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.email-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.email-status.info {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
    display: block;
}

/* Login Section */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.login-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.login-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

/* Newsletter Section (Before Footer) */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    color: white;
}

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

.newsletter-content {
    flex: 1;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-group {
    flex: 1;
    margin: 0;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"],
.newsletter-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-form input[type="text"]::placeholder,
.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.newsletter-form select option {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-form .btn {
    padding: 12px 30px;
    white-space: nowrap;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.newsletter-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
    display: block;
}

.newsletter-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
    display: block;
}

@media (max-width: 768px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* Modern Timeline for Projects Page */
.modern-timeline {
  position: relative;
  margin: 60px 0 60px 0;
  padding: 0 0 40px 0;
}
.modern-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  z-index: 1;
  border-radius: 2px;
}
.timeline-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}
.timeline-row.left {
  flex-direction: row;
}
.timeline-row.right {
  flex-direction: row-reverse;
}
.timeline-card {
  position: relative;
  max-width: 520px;
  min-width: 340px;
  min-height: 400px;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light-color);
  box-shadow: 0 4px 24px rgba(26,35,126,0.10);
  border-radius: 16px;
  padding: 36px 36px 44px 36px;
  margin: 0 0 0 0px;
  transition: box-shadow 0.3s;
}
.timeline-card:hover {
  box-shadow: 0 8px 32px rgba(26,35,126,0.18);
}
.timeline-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.timeline-img {
  width: 100%;
  max-width: 420px;
  min-width: 260px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(26,35,126,0.10);
}
.timeline-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
.timeline-info h3 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-align: center;
}
.timeline-card.left .project-category {
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
}
.timeline-card.right .project-category {
  align-self: flex-end;
  margin-right: 0;
  margin-left: auto;
}
.timeline-card .project-category {
  position: static;
  margin-bottom: 16px;
  margin-top: 0;
  font-size: 1.15rem;
  padding: 10px 32px;
  border-radius: 20px;
  background: var(--secondary-color);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(26,35,126,0.08);
}
@media (max-width: 900px) {
  .timeline-card {
    margin: 0 0 0 10px;
    max-width: 98vw;
    min-width: 0;
    width: calc(100% - 10px);
    padding: 24px 8px 32px 8px;
    min-height: 0;
  }
  .modern-timeline .timeline-img {
    max-width: 100%;
    min-width: 0;
    height: 180px;
  }
  .timeline-info h3 {
    font-size: 1.15rem;
  }
  .timeline-card .project-category {
    font-size: 1.05rem;
    padding: 8px 20px;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .timeline-card {
    margin: 0 0 0 4px;
    max-width: 100vw;
    width: calc(100% - 4px);
    padding: 10px 2px 16px 2px;
  }
  .modern-timeline .timeline-img {
    height: 110px;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .timeline-info h3 {
    font-size: 1.01rem;
    margin-bottom: 8px;
  }
  .timeline-card .project-category {
    font-size: 0.92rem;
    padding: 5px 10px;
    margin-bottom: 6px;
  }
}

@media (max-width: 600px) {
  .modern-timeline::before {
    left: 0;
    width: 3px;
    transform: none;
  }
  .timeline-row::before {
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-width: 3px;
  }
}

.modern-timeline .timeline-img {
  max-width: 420px;
  min-width: 260px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(26,35,126,0.13);
  image-rendering: auto;
  background-color: #fff;
  border: 1.5px solid #e0e0e0;
}
