#preloader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.chakra-flag img {
  width: 80px;
  height: 80px;
  animation: rotateChakra 2s linear infinite;
  filter: drop-shadow(0 0 4px #1a237e);
}

@keyframes rotateChakra {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preload-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  color: #1a237e;
  margin-top: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: fadeText 2s ease-in-out infinite alternate;
}

@keyframes fadeText {
  from { opacity: 0.5; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(-2px); }
}

html {
  scroll-behavior: smooth;
}

body {
    /* font-family: 'Inter', sans-serif; */
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: 'Manrope', sans-serif; */
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    /* background: linear-gradient(to right, #141E30, #243B55); */
    color: #ffffff;
    text-align: center;
    overflow-x: hidden;
}

header {
    background: url("../images/career5.jpg");
    background-size: cover;
    background-position: center;
    height: 950px;
    /* padding: 15px 0; */
    /* position: fixed; */
    width: 100%;
    top: 0;
    left: 0;
    /* font-family: 'Great Vibes', cursive; */
    transition: 0.3s;
    
    z-index: 1000;
}
#WELCOME{
  margin-top:300px;
  font-size: 50px;
  font-weight: bold;
  color: #f8b400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    /* justify-content: center;
    align-items: center; */
    
    padding: 20px 0;
}
.logo{
    margin-top: 10px;
    margin-left:  20px;
    display: flex;
    height: 100px;
    width: auto;
    border-radius: 50%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    /* margin: 0; */
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 20px 20px;
    
    
    
}

nav ul li a i{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
}

nav ul li a i:hover {
    color: #f8b400;
    transform: scale(1.1);
}


body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #00224D;
}












#about {
    /* border: #00000024 solid 1px; */
    color: #121212;
    padding-top: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(to right, #141E30, #243B55); */
    /* background-color:#c0a080 ; */
    margin-right: 100px;
    margin-left: 100px;
    border-radius: 20px;
    /* margin-top matlab about and website ke bich me  ka distance */
    margin-top: 50px;
    padding: 20px;
}
.aboutp{
    padding-right: 100px;
    text-align: justify;
    padding-left: 100px;
    font-size: 25px;
}
#about h1 {
    font-size: 36px;
    /* background: rgba(255, 255, 255, 0.1); */
    width: 10px 20px;
    padding: 10px;
    margin-bottom: 20px;
    color: #00224D;
    border-radius: 10px;
}
#about h1:hover {
    transition: 0.5s;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
    transform: scale(1.1);
    /* background: rgba(255, 255, 255, 0.1); */
    
}

#about h2{
    color: #00224D;
}
.span{
    font-weight: bold;
    color: #00224D;
    font-size: 30px;
}



.career-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-heading {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  color: #00224D;
  margin-bottom: 50px;
  position: relative;
}

.section-heading::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #c0a080;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.career-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.career-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.career-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #00224D;
}

.career-card p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;

}

.apply-btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: white;
  background-color: #00224D;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.apply-btn:hover {
  background-color: #c0a080;
  color: #00224D;
  font-weight: 700;
}

















/* ===== SERVICES SECTION STYLES ===== */

#services {
  background: linear-gradient(to bottom, #f8f9fa, #e6ecf0);
  padding: 60px 20px;
  text-align: center;
}

#servicesh1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #00224D;
  position: relative;
  display: inline-block;
}

#servicesh1::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #ae9073;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.servicescontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* ===== FLIP CARD CONTAINER ===== */
.servicecontainer {
  perspective: 1000px;
  width: 280px;
  height: 360px;
}

.thecard {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 12px;
}

.servicecontainer:hover .thecard {
  transform: rotateY(180deg);
}

.thefront, .theback {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
}

.thefront {
  background: #fff;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s;
}

.thefront:hover {
  background: #f0f8ff;
}

.h5thecard {
  font-size: 1.2rem;
  color: #001838;
  margin-bottom: 10px;
}

#pthefront1,
#pthefront3,
#pthefront4,
#pthefront5 {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.theback {
    border: 2px solid #c0a080;
  background: #00224D;
  color: #fff;
  transform: rotateY(180deg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theback i {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #fff;
}

.btn {
  margin-top: 15px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #fff;
  color: #00224D;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #c0a080;
  color: #fff;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .servicescontainer {
    flex-direction: column;
    align-items: center;
  }

  .servicecontainer {
    width: 90%;
    height: 380px;
  }
}














/* footer / contact */
/* ===== Footer Styles ===== */
#contact {
    background: linear-gradient(135deg, #000000d6 0%, #000000 100%);
    padding: 60px 20px 40px;
    font-size: 14px;
    border-top: 3px solid #f8b400;
}
.creator-name{
    color: #f8b400;
    font-size: 20px;
    text-decoration: none;
    text-decoration-color: #f8b400;
    text-decoration-thickness: 3px;
    position: relative;
    display: inline-block; /* Ensures pseudo-element is positioned properly */
  
    font-weight: 600;
    transition: color 0.3s ease;
    
}
.creator-name::after{
   content: "";
  position: absolute;
  bottom: -3px; /* Adds space between text and underline */
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #f8b400;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.creator-name:hover::after {
  width: 100%;
}
.creator-role{
  color: #f8b400;
  font-size: 16px;
}


/* Creators Section */
#creatorsh2 {
    font-size: 32px;
    color: #f8b400;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#creators {
    /* background-color: green; */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin: 30px auto;
    max-width: 1500px;
    flex-wrap: wrap;
}

#creator1, #creator2 {
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 600px;
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    
}

#creator1:hover, #creator2:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

#creator1 img, #creator2 img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

#creator1 img:hover, #creator2 img:hover {
    border: 3px solid #f8b400;
    transform: scale(1.05);
    /* animation: spin-border 1s linear infinite; */
    
    
    
}


#pcreator1, #pcreator2 {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 15px;
    font-weight: normal;
}

/* Contact Section */
.h2contact {
    font-size: 28px;
    color: #f8b400;
    text-align: center;
    margin: 40px 0 20px;
    position: relative;
}

.h2contact::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #f8b400;
    margin: 10px auto;
}

#contactp {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 20px;
}

/* Social Icons */
.social-icons {
    /* background-color: #0a66c2; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin: 30px 0;
    padding: 0;
    flex-wrap: nowrap; /* Prevent wrapping to new line */
    overflow-x: auto; /* Allows horizontal scrolling if needed */
    white-space: nowrap; /* Prevents wrapping */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}
.social-icons p {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 10px; /* Consistent spacing between icons */
}

.social-icons a {
    display: inline-flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0; /* Prevent icons from shrinking */
    margin: 0 5px; /* Small margin between items */
}

.social-icons a:hover {
    background-color: #f8b400;
    transform: translateY(-5px) scale(1.1);
}

.social-icons a i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover i {
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .social-icons {
        justify-content: flex-start; /* Align left on small screens */
        padding: 10px 0;
    }
    
    .social-icons a {
        min-width: 44px;
        height: 44px;
        margin: 0 3px;
    }
    
    .social-icons a i {
        font-size: 20px;
    }
}
/* Specific icon colors */
.social-icons .fa-youtube { color: #ff0000; }
.social-icons .fa-facebook { color: #1877f2; }
.social-icons .fa-instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-icons .fa-linkedin { color: #0a66c2; }
.social-icons .fa-envelope { color: #ffffff; }
.social-icons .twitter { color: #ffffff; font-weight: bold; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#contact > * {
    animation: fadeIn 0.6s ease forwards;
}

#contact > *:nth-child(1) { animation-delay: 0.1s; }
#contact > *:nth-child(2) { animation-delay: 0.2s; }
#contact > *:nth-child(3) { animation-delay: 0.3s; }
#contact > *:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    #creators {
        flex-direction: column;
        gap: 40px;
    }
    
    .h2contact {
        font-size: 24px;
    }
    
    #contactp {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
    }
    
    #creator1 img, #creator2 img {
        width: 150px;
        height: 150px;
    }
    
    #creator1, #creator2 {
        width: 100%;
        padding: 15px;
    }
}

.footer-color {
  /* background-color: turquoise; */
  position: relative;
  display: inline-block; /* Ensures pseudo-element is positioned properly */
  color: #f8b400;
  text-decoration: none;
  text-decoration-color: #f8b400;
  text-decoration-thickness: 2px;
  font-size: 1.2rem;
  /* font-family: 'Nunito', sans-serif; */
  padding-bottom: 5px; /* Adds space for the underline */
  margin: 0 auto;
  cursor: pointer;
  text-transform: uppercase;  
  letter-spacing: 1px;  



  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-color::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Adds space between text and underline */
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #f8b400;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.footer-color:hover::after {
  width: 100%;
}
/* === RESPONSIVE ADDITIONS: CAREER PAGE (NON-LAPTOP) === */

/* Typography Scaling */
@media (max-width: 576px) {
  html { font-size: 13px; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
}
@media (min-width: 1440px) {
  html { font-size: 17px; }
}
@media (min-width: 1920px) {
  html { font-size: 19px; }
}

/* Header Typewriter Text */
@media (max-width: 768px) {
  #WELCOME {
    font-size: 1.5rem;
    margin-top: 200px;
    padding: 0 10px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
}
@media (max-width: 576px) {
  #WELCOME {
    font-size: 1.3rem;
    margin-top: 150px;
  }
}

/* Navbar Stack on Small Devices */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  nav ul li a i {
    font-size: 1rem;
    padding: 10px 0;
    display: inline-block;
    width: 100%;
  }

  .logo {
    height: 80px;
    margin: 10px auto;
  }
}

/* ABOUT Section */
@media (max-width: 768px) {
  .aboutp {
    padding: 0 5vw;
    font-size: 1rem;
  }
}

/* Career Cards Section */
@media (max-width: 768px) {
  .career-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .career-card {
    padding: 20px;
  }
}

/* Footer Contact Section */
@media (max-width: 768px) {
  #contact {
    padding: 40px 15px;
    font-size: 13px;
  }

  .h2contact {
    font-size: 1.3rem;
  }

  #contactp {
    font-size: 1rem;
    padding: 0 10px;
  }

  .social-icons {
    padding: 10px 0;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }

  .social-icons a i {
    font-size: 20px;
  }
}
/* Hamburger Menu */
.menu-toggle {
  display: none;
  /* font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 1100;
  margin-right: 20px;*/
} 


@media (max-width: 768px){
  .menu-toggle {
    display: block; /* ✅ Fix this line */
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }

}
@media (max-width: 768px) {
  nav {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 10px;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 180px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 1000;

    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  nav ul.showing {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  nav ul li {
    width: 100%;
    text-align: left;
    margin: 8px 0;
  }

  nav ul li a i {
    font-size: 1rem;
    color: white;
    padding: 8px 10px;
    display: block;
    text-align: left;
  }

  .logo {
    height: 70px;
    margin-top: 0;
  }
}
.mobile-divider {
  display: none;
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 8px 0;
  width: 90%;
}

@media (max-width: 768px) {
  .mobile-divider {
    display: block;
    margin: 10px auto;
  }
}
