* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #faf1f1;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

h1, h2, h3 {
    margin-bottom: 15px;
    font-family: "Inter", sans-serif;
}

section {
    padding: 50px 20px;
    width: 100%;
    margin: 0 auto;
}


header {
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #1B263B;
    color: #fffffe;
    position: relative;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 15px;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

nav ul li a:hover {
    background-color: #122d55;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh; 
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.5); 
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero {
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 70vh;
  }
}


.services {
    text-align: center;
    padding: 50px 5%;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0D1B2A;
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: #f8f9fa;
}

.service-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px;
    transition: none !important;
    transform: none !important;

}
.service-card:hover img {
    transform:  none !important;
}


.service-card h3 {
    color: #415A77;
    font-size: 1.2rem;
}

/* About Section */
.about {
    text-align: center;
    padding: 50px 5%;
    color: #415A77;
}

.about h2 {
    color: #0D1B2A;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.learn-more {
    background-color: #1B263B;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.learn-more:hover {
    background-color: #778DA9;
}

.about-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-images img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    flex: 1 1 300px;
}

/* Careers Section */
.careers-section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.careers-section h2 {
    font-size: 2.5rem;
    color: #0D1B2A;
    margin-bottom: 20px;
    text-align: center;
}

.intro {
    font-size: 1.1rem;
    color: #4d414e;
    margin-bottom: 40px;
    text-align: center;
}

.career-flex {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.career-left, .career-right {
    flex: 1 1 300px;
}

.job-list li, .benefits li {
    color: #415A77;
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.job-list li:before, .benefits li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1B263B;
}

.why-us {
    font-weight: bold;
    color: #1B263B;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.apply-box {
    margin-top: 30px;
    background-color: #50749e;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.apply-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #1B263B;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.apply-btn:hover {
    background-color: #778DA9;
}

/* Contact Section */
.contact {
    background-color: #f2f5fa;
    color: #1B263B;
    padding: 50px 5%;
    text-align: center;
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto;
}

.contact h2 {
    color: #415A77;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact p {
    color: #415A77;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}


.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.submit-btn {
    background-color: #122d55;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    background-color: #98aed6;
}

/* Footer */
footer {
    background-color: #415A77;
    color: #0D1B2A;
    padding: 50px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 30px;
}

.footer-logo {
    flex: 1 1 200px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    flex: 2 1 300px;
    justify-content: space-around;
}

.footer-column {
    flex: 1 1 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #0D1B2A;
}

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

.footer-column ul li a {
    color: #E0E1DD;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #E0E1DD;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 500px;
        padding: 20px 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 40px;
    }
    
    .career-flex {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .about-images img {
        flex: 1 1 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-column {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .careers-section h2 {
        font-size: 2rem;
    }
    
    .intro {
        font-size: 1rem;
    }
}




/* ======================
   ANIMATIONS & EFFECTS
   ====================== */
/* Hero Section Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  animation: fadeInDown 1s ease-out;
}

.hero-content p {
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

/* Section Entry Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.services, .about, .careers-section, .contact {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.services { animation-delay: 0.2s; }
.about { animation-delay: 0.4s; }
.careers-section { animation-delay: 0.6s; }
.contact { animation-delay: 0.8s; }

/* Enhanced Service Cards */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background-color: #f8f9fa;
}

.service-card img {
  transition: transform 0.5s ease;
}

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

/* Enhanced Buttons */
.learn-more, .submit-btn, .apply-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.learn-more:hover, .submit-btn:hover, .apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.learn-more:after, .submit-btn:after, .apply-btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.learn-more:hover:after, .submit-btn:hover:after, .apply-btn:hover:after {
  left: 100%;
}

/* Navbar Link Animation */
nav ul li a {
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

/* About Images Hover Effect */
.about-images img {
  transition: transform 0.5s ease;
}

.about-images img:hover {
  transform: scale(1.05);
}

/* Social Media Icons */
.social-icons a {
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Form Input Effects */
.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: #415A77;
  box-shadow: 0 0 0 2px rgba(65, 90, 119, 0.3);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}