* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
:root {
   --primary: #273246;
  --primary-dark: #273246;
  --secondary: #273246;
  --text-dark: #273246;
  --text-light: #64748b;
  --background: #f4f7fa;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

/* Navbar Styles */
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 5%;
  background-color: #273246;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}



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

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Remove the filter that was making it white */
}

.logo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: rgb(10, 10, 10); */
  transition: transform 0.5s ease;
}


/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

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

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
}

.container h2{
  text-align: center;
  margin-bottom: 30px;
}
/* res */
/* Default desktop styles */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Responsive styles */
@media (max-width: 1010px) {
  .hamburger {
    display: block;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    max-height: 80vh;         /* Add this */
    overflow-y: auto; 
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #273246;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: white;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}


h1,
h2,
h3 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 80%;
    margin: auto;
}

/*  hero */

.hero-section {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    flex-wrap: wrap;
    background-color: #26365a;
    background: url('../images/about_comany.webp')center center/cover no-repeat;
    height: 100vh;
}

.hero-content {
    flex: 1 1 50%;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: white;
}

.hero-content h1 span {
    color: rgb(231, 76, 60);
}

.hero-content p {
    font-size: 16px;
    color: white;
    margin-bottom: 30px;
}

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

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: rgb(231, 76, 60);
    color: #fff;
}

.btn-primary:hover {
    background-color: #273246;
}

.btn-secondary {
    border: 2px solid #273246;
    color: #273246;
    background-color: white;
}

.btn-secondary:hover {
    background-color: #273246;
    color: #fff;
}

.hero-image {
    flex: 1 1 40%;
    position: relative;
    text-align: center;
}

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

.badge {
    position: absolute;
    background: white;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    width: 120px;
}

.badge strong {
    font-size: 16px;
    color: #1e3a8a;
}

.badge.top-left {
    top: 10%;
    left: 15%;
}

.badge.top-right {
    top: 10%;
    right: -15%;
}

.badge.bottom {
    bottom: 10%;
    left: 25%;
    transform: translateX(-50%);
}

/* Hero section responsive styles */
@media (max-width: 1024px) {
    .hero-section {
        padding: 40px 5%;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 30px 5%;
        margin-top: 80px;
    }
    
    .hero-content {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        flex: 1 1 100%;
    }
    
    .badge {
        width: 100px;
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .badge strong {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 5%;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .badge {
        width: 80px;
        font-size: 10px;
    }
    
    .badge.top-left {
        left: 5%;
    }
    
    .badge.top-right {
        right: -5%;
    }
}



.services-section {
    padding: 60px 30px;
    font-family: 'Inter', sans-serif;
}

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

.section-header h2 {
    font-size: 36px;
    color: #222;
    margin-bottom: 10px;
    /* border-bottom: 4px solid #273246; */
    display: inline-block;
    padding-bottom: 5px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #07084a, #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #07084a, #4a90e2);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.service-block:hover::before {
    transform: scaleX(1);
}

.service-block:hover::after {
    transform: scaleY(1);
}

.service-block.light-section {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.service-block.gradient-section {
    background: var(--gradient-light);
    box-shadow: var(--shadow-lg);
}

.service-content {
    flex: 1;
    padding: 1rem;
    width: 100%;
}

.service-image {
    flex: 1;
    min-width: 400px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-header {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    /* background: var(--gradient-primary); */
    border-radius: 2px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.service-content ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content ul li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .service-block {
        flex-direction: column !important;
        padding: 2rem;
    }

    .service-image {
        min-width: 100%;
        height: 300px;
        order: -1;
    }

    .service-content {
        padding: 1rem 0;
    }
    
    .container {
        width: 90%;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .service-header {
        font-size: 1.75rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

    .service-image {
        height: 250px;
    }
    
    .container {
        width: 95%;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .service-block {
        padding: 1.5rem;
    }

    .service-header {
        font-size: 1.5rem;
    }

    .service-image {
        height: 200px;
    }
    
    .container {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .service-content p {
        font-size: 14px;
    }
    
    .service-content ul li {
        font-size: 14px;
    }
    
    .services-section {
        padding: 30px 10px;
    }
}


/* Footer Section */

.footer {
  background: #273246;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #e74c3c;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

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

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .container {
        width: 90%;
    }

    .hero-section {
        padding: 60px 5%;
    }

    .services-section {
        padding: 60px 30px;
    }

    .footer-container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 1024px) {
    .service-block {
        flex-direction: column !important;
        padding: 2rem;
    }

    .service-image {
        min-width: 100%;
        height: 300px;
        order: -1;
    }

    .service-content {
        padding: 1rem 0;
    }

    .container {
        width: 90%;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        width: 95%;
    }

    .hero-section {
        height: auto;
        padding: 80px 5% 40px;
        flex-direction: column;
        text-align: center;
        margin-top: 70px; /* Adjust for fixed navbar */
    }

    .hero-content {
        flex: 1 1 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        flex: 1 1 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .services-section {
        padding: 50px 20px;
    }

    .service-block {
        padding: 1.5rem;
    }

    .service-header {
        font-size: 1.75rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

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

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        width: 95%;
        padding: 0 15px; /* Ensure some padding on very small screens */
    }

    .hero-section {
        padding: 60px 5% 30px;
        margin-top: 60px; /* Adjust for fixed navbar */
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .section-header h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .section-header p {
        font-size: 14px;
    }

    .services-section {
        padding: 40px 15px;
    }

    .service-block {
        padding: 1rem;
        gap: 1.5rem;
    }

    .service-image {
        height: 200px;
    }

    .service-header {
        font-size: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p,
    .service-content ul li {
        font-size: 14px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .footer-col {
        flex: 1 1 100%;
        margin: 15px 0;
    }

    .footer-socials a {
        margin: 8px 5px 0;
    }

    .newsletter-form {
        justify-content: center;
        max-width: 300px;
        margin: 10px auto;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        padding: 40px 5% 20px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

     .section-header p {
        font-size: 12px;
    }

    .services-section {
        padding: 30px 10px;
    }

    .service-block {
         padding: 1rem;
         gap: 1rem;
    }

    .service-header {
        font-size: 1.3rem;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-image {
        height: 180px;
    }

     .service-content p,
     .service-content ul li {
         font-size: 13px;
     }

    .footer-container {
        padding: 0 15px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        padding: 8px;
        font-size: 12px;
    }
}

/* Hover effects for touch devices */
@media (hover: none) {
    .service-image:hover img {
        transform: none;
    }

     .service-block:hover::before,
     .service-block:hover::after {
         transform: none;
     }
}


/*contact us button footer*/
.btn {
    padding: 10px 20px;
    background-color: rgb(231, 76, 60);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.btn:hover {
    background-color: rgb(241, 93, 77);
}

@media (min-width: 2560) {
  .hero-section{
    height:60vh;
  }

}
/* readmore */
   .more-text {
    display: none;
  }
  .expanded .more-text {
    display: inline;
  }

  /* Join Team Section */
.join-team-section {
    padding: 80px 0;
    background: linear-gradient(rgba(39, 50, 70, 0.9), rgba(39, 50, 70, 0.9)), url('../images/job-training.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

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

.join-team-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.join-team-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/**/
.services-section {
  padding: 35px 20px;
  background: #f9fafe;
  font-family: 'Segoe UI', sans-serif;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrap {
  background: linear-gradient(145deg, #e0e7ff, #ffffff);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap i {
  font-size: 28px;
  color: #273246;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.service-card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-read {
  background: #273246;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-read:hover {
  background: linear-gradient(to right, #0613291b, #6365f13a);
}