/* Contact Pages CSS */

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 960px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 30px 32px;
    flex-wrap: wrap;
}

.contact-info-section, 
.contact-form-section {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-weight: 700;
    font-size: 1.9rem;
    color: #1C3879;
    margin-bottom: 24px;
}

.info-item,
.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #163172;
    margin-bottom: 18px;
    background: #f7f9fd;
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px 0 rgb(50 50 93 / 4%);
    min-width: 170px;
}

.info-item i,
.contact-card i {
    color: #1176ed;
    font-size: 1.3rem;
}

.map-container {
    margin-top: 25px;
    border: 2px solid #1C3879;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(28,56,121,0.3);
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-modern .form-group label {
    font-weight: 600;
    color: #163172;
    margin-bottom: 6px;
}

.contact-form-modern input,
.contact-form-modern textarea {
    border: 1px solid #a7b1c2;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 1rem;
    background: #f8faff;
    transition: border-color 0.3s;
    width: 100%;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    border-color: #1C3879;
    outline: none;
}

.contact-form-modern button.modern-btn {
    margin-top: 18px;
    background: linear-gradient(90deg, #1C3879 30%, #3E64FF 100%);
    color: white;
    font-weight: 700;
    padding: 14px 0;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 20px rgba(62,100,255,0.6);
}

.contact-form-modern button.modern-btn:hover {
    background: linear-gradient(90deg, #3E64FF 10%, #1C3879 100%);
    box-shadow: 0 8px 24px rgba(62,100,255,0.7);
}

@media screen and (max-width: 860px) {
    .contact-container {
        flex-direction: column;
        padding: 24px;
        margin: 30px auto;
    }
}

@media (max-width: 600px) {
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.6rem;
    }
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .info-item,
    .contact-card {
        min-width: unset;
    }
}



/* About Pages CSS */
.about-page-container {
    max-width: 960px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #253858;
}

/* Row styles */
.about-row {
    margin-bottom: 40px;
}

.about-header h1 {
    font-size: 3rem;
    color: #1176ed;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
}

.about-header p {
    font-size: 1.2rem;
    color: #5a6d8c;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Mission & Vision Container */
.mission-vision-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Individual boxes */
.about-box {
    background-color: #e7f0ff;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(17, 118, 237, 0.2);
    padding: 32px;
    max-width: 420px;
    flex: 1 1 400px;
    transition: transform 0.3s ease;
}

.about-box:hover {
    transform: translateY(-8px);
}

.about-box h2 {
    color: #1176ed;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 18px;
    margin-bottom: 12px;
}

.about-box p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2a3c69;
}

/* Icons */
.about-icon {
    font-size: 3rem;
    color: #1c3879;
}

/* Our Values */
.values-row {
    background-color: #d6e3ff;
    border-radius: 15px;
    padding: 36px 32px;
    box-shadow: 0 10px 24px rgba(28, 56, 121, 0.25);
    text-align: center;
    color: #1c3879;
    max-width: 900px;
    margin: 0 auto;
}

.values-row h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.values-icon {
    margin-bottom: 10px;
}

.values-row ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.15rem;
    line-height: 2;
}

.values-row ul li::before {
    content: '✔';
    color: #1176ed;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .mission-vision-row {
        flex-direction: column;
        gap: 22px;
    }
}

.director-desk {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #dbe9ff;
    padding: 28px 36px;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(17, 118, 237, 0.2);
    max-width: 900px;
    margin: 40px auto 40px auto;
    color: #1c3879;
}

.director-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1176ed;
    box-shadow: 0 6px 18px rgba(17,118,237,0.25);
}

.director-message h2 {
    font-size: 2rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.director-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    color: #344a7e;
}

@media (max-width: 768px) {
    .director-desk {
        flex-direction: column;
        text-align: center;
    }
    .director-photo img {
        margin-bottom: 16px;
    }
    .director-message p {
        max-width: 100%;
    }
}


/* Services Pages CSS */
.services-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background-color: #f0f7ff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 118, 237, 0.2);
    flex: 0 1 calc(33.333% - 20px);
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(17, 118, 237, 0.3);
}

.service-icon {
    font-size: 52px;
    color: #1176ed;
    margin-bottom: 18px;
}

.service-image img {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #0d4ec2;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    flex-grow: 1;
    color: #425670;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-readmore {
    font-weight: 700;
    font-size: 1rem;
    color: #1176ed;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.btn-readmore:hover {
    border-bottom: 2px solid #1176ed;
}

@media (max-width: 992px) {
    .service-card {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .service-card {
        flex: 0 1 100%;
    }
}



/* Project Pages CSS */
.projects-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project-card {
    background-color: #f0f7ff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 118, 237, 0.2);
    flex: 0 1 calc(33.333% - 20px);
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(17, 118, 237, 0.3);
}

.project-image img {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 15px;
}

.project-card h3 {
    color: #0d4ec2;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-card p {
    flex-grow: 1;
    color: #425670;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-readmore {
    font-weight: 700;
    font-size: 1rem;
    color: #1176ed;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.btn-readmore:hover {
    border-bottom: 2px solid #1176ed;
}

@media (max-width: 992px) {
    .project-card {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .project-card {
        flex: 0 1 100%;
    }
}



/* Blog Pages CSS */
.blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.blog-post {
    background-color: #f0f7ff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 118, 237, 0.2);
    flex: 0 1 calc(33.333% - 20px);
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.blog-post:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(17, 118, 237, 0.3);
}

.blog-image img {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 15px;
}

.blog-post h3 {
    color: #0d4ec2;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.blog-post p {
    flex-grow: 1;
    color: #425670;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-readmore {
    font-weight: 700;
    font-size: 1rem;
    color: #1176ed;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.btn-readmore:hover {
    border-bottom: 2px solid #1176ed;
}

@media (max-width: 992px) {
    .blog-post {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .blog-post {
        flex: 0 1 100%;
    }
}


/* Gallery Pages CSS */
.gallery-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(17, 118, 237, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(17, 118, 237, 0.3);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    height: 160px;
}


/* Team Pages CSS */
.team-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-member {
    background-color: #f0f7ff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 118, 237, 0.2);
    flex: 0 1 calc(33.333% - 20px);
    padding: 22px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: default;
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(17, 118, 237, 0.3);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #1176ed;
}

.team-member h3 {
    color: #0d4ec2;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-member p {
    color: #425670;
    font-size: 1rem;
    margin: 0;
}


/* Privacy Pages CSS */
.privacy-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.privacy-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* Terms Pages CSS */
.terms-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}

.section-title {
    text-align: center;
    color: #1176ed;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.terms-content h2 {
    color: #1176ed;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

.terms-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* Home Pages CSS */
.custom-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-bottom: 60px;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(17, 118, 237, 0.6);
  top: 0;
  left: 0;
  z-index: 1;
}
.slide-text {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  padding: 0 20px;
}
.slide-text h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.slide-text p {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}
.slider-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  box-sizing: border-box;
  z-index: 4;
}
.slider-controls button {
  background: rgba(255,255,255,0.5);
  border: none;
  font-size: 2.5rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  transition: background 0.3s ease;
}
.slider-controls button:hover {
  background: rgba(255,255,255,0.9);
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}
.welcome-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1176ed;
  margin-bottom: 15px;
}
.welcome-section p {
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}
.btn-primary {
  display: inline-block;
  background: #1176ed;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 30px;
  text-decoration: none;
  margin-top: 25px;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #0c4ecb;
}

/* Services Preview */
.services-preview {
  background: #f4faff;
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 60px;
}
.services-preview h2 {
  font-size: 2.8rem;
  color: #1176ed;
  margin-bottom: 40px;
}
.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service-cards .card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 6px 18px rgba(17,118,237,0.2);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 36px rgba(17,118,237,0.3);
}
.service-cards .card i {
  font-size: 3rem;
  color: #1176ed;
  margin-bottom: 20px;
}
.service-cards .card h3 {
  font-weight: 700;
  margin-bottom: 15px;
}
.service-cards .card p {
  color: #555;
  font-size: 1rem;
}

/* Projects Section */
.projects-section {
  text-align: center;
  margin-bottom: 60px;
}
.projects-section h2 {
  font-size: 2.8rem;
  color: #1176ed;
  margin-bottom: 25px;
}
.projects-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.project-card {
  width: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(17, 118, 237, 0.2);
  background: white;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.project-card:hover {
  box-shadow: 0 20px 40px rgba(17, 118, 237, 0.3);
  transform: translateY(-5px);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.project-card h3 {
  color: #1176ed;
  margin: 15px;
  font-weight: 700;
}

/* Team Section */
.team-section {
  text-align: center;
  margin-bottom: 150px;
}

.team-section h2 {
  font-size: 2.8rem;
  color: #1176ed;
  margin-bottom: 25px;
}

.team-slider {
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.team-slider-viewport {
  overflow: hidden;
  width: 900px;
  max-width: 100vw;
  display: flex;
}

.team-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
  width: fit-content;
}

.team-member {
  min-width: 220px;
  max-width: 220px;
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(17, 118, 237, 0.2);
  cursor: default;
  margin: 0 9px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 190px;
}

.team-member:hover {
  box-shadow: 0 18px 36px rgba(17, 118, 237, 0.3);
  transform: translateY(-5px);
}

.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #1176ed;
}

.team-member h4 {
  color: #1176ed;
  font-weight: 700;
  margin-bottom: 7px;
}

.team-member p {
  font-size: 1rem;
  color: #555;
}

.team-prev, .team-next {
  background: #1176ed;
  border: none;
  color: white;
  font-size: 2.5rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-prev:hover, .team-next:hover {
  background: #0d4ec0;
}

@media (max-width: 980px) {
  .team-slider-viewport {
    width: 98vw;
  }
  .team-member {
    min-width: 160px;
    max-width: 160px;
    padding: 12px;
    height: 140px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .service-cards,
  .projects-grid,
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-cards .card,
  .project-card,
  .team-member {
    width: 90%;
    margin-bottom: 30px;
  }
}
