@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
  --pak-green: #04431b;
  --bright-green: #0cf50c;
  --olive-light-green: #eef2ef;
  --green: #7de697;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', 'Sofia Pro';
}

 /*==========================
 Topbar Start
============================*/

/* Top Bar Start*/
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--olive-light-green);
  color: var(--darkgrey-textcolor);
  padding: 10px 15px;
  font-size: 16px;
  z-index: 99;
}
.top-bar .contact-info a {
     color: var(--pak-green);
}



/* Contact Information Section */
.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--pak-green);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-item i {
  color: var(--pak-green);
}

/* Social Media Section */
.social-icons {
  display: flex;
  margin-right: 60px;
  gap: 45px;
  justify-content: center;
}

.social-icon {
  color: var(--pak-green);
  font-size: 20px;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--bright-green);
}

/* Media Queries for Small Devices (max-width: 600px) */
@media screen and (max-width: 600px) {
  /* Top Bar Layout */
  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  /* Contact Info Layout */
  .contact-info {
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
  }

  /* Social Icons Layout */
  .social-icons {
    justify-content: center;
    gap: 20px;
  }
}
/* Top Bar End*/

 /*==========================
 Navbar Start
============================*/
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(85deg,  #01a601, #08642a);
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  font-style: 'sans-serif';

}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  padding: 10px 15px;
  text-decoration: none;
  color: white; /* Default text color */
  transition: all 0.3s ease;
  font-weight: 510;
}
.nav-links li a:hover {
  color:var(--bright-green); /* Hover color */
  border: 2px solid var(--bright-green); /* Box border on hover */
  padding: 8px 13px; /* Slightly reduce padding for a boxed effect */
  border-radius: 5px; /* Optional: rounded corners */
  box-shadow: #e3e7e4; /* Box shadow on hover */
}



/* Hamburger Menu for Small Screens */
.hamburger-menu {
  display: none;
  cursor: pointer;
  
}

.hamburger-menu i {
  font-size: 18px;
  margin-right: 10px;
  color: white;

}

/* Small Devices (max-width: 600px) */
@media screen and (max-width: 600px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .navbar-brand{
    font-size: 12px;
  }

  .hamburger-menu {
    order: 1;
    display: block;
  }

  .navbar-brand {
    order: 2;
    margin: 0 auto;
    flex-grow: 1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: linear-gradient(85deg,  #01a601, #08642a);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    padding: 10px 15px; /* Consistent padding for the links in mobile */
    color: white;
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green); /* Hover color */
    border: 2px solid var(--bright-green); /* Box border on hover */
    padding: 8px 13px; /* Slightly reduce padding for a boxed effect */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Box shadow on hover */
  }
}

/* For Samsung Galaxy S8 (max-width: 360px) */
@media screen and (max-width: 360px) {
  .navbar {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
  }

  /* Hamburger icon on the left */
  .hamburger-menu {
    display: block;
    order: 1; /* Hamburger icon comes first */
  }

  /* Brand logo and text after the hamburger icon */
  .navbar-brand {
    order: 2;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-logo {
    width: 15px; /* Adjust brand logo size */
    height: 15px;
  }

  /* Hide navigation links by default */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--pak-green);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Show nav-links when toggled */
  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    padding: 10px 15px;
    color: white;
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green);
    border: 2px solid var(--bright-green);
    padding: 8px 13px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
}


/* For screens between 768px and 1024px (iPad Mini in Portrait Mode and Small Tablets) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--pak-green); /* Background color */
  }

  /* Hamburger icon is hidden on larger screens, will show on smaller ones */
  .hamburger-menu {
    display: none; /* Hide hamburger menu on iPad Air */
  }

  /* Navbar Brand */
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px; /* Reduced font size */
    font-weight: 600;
  }

  .brand-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }

  /* Navigation links */
  .nav-links {
    display: flex;
    gap: 20px; /* Spacing between links */
    list-style: none;
  }

  .nav-links li a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    font-size: 10px; /* Reduced font size */
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green);
    border: 2px solid var(--bright-green);
    padding: 8px 13px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
 }

 /*==========================
 NavbarEnd
============================*/

 
/*==========================
 Information Start
============================*/

.info-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 5%;
  position: relative;
  top: -50px; /* Overlapping Header */
}

/* Styling for Each Box */
.info-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #004400, #008000);
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Overlapping Effect */
.info-box:first-child {
  margin-left: -20px;
}
.info-box:last-child {
  margin-right: -20px;
}

/* Hover Effect */
.info-box:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 255, 0, 0.4);
}

/* Icon Styling */
.icon {
  font-size: 35px;
  color: #ffcc00;
  margin-right: 15px;
}

/* Content Layout */
.info-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Heading & Text */
h3 {
  font-size: 20px;
  margin: 0;
}

/* Call Number */
.call-number {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.call-number:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}

/* View Timetable Button */
.view-timetable {
  font-size: 16px;
  background: #ffcc00;
  color: var(--pak-green);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease;
}
.view-timetable:hover {
  background: var(--bright-green);
  color: var(--pak-green);
}

/* Opening Hours Styling */
.hours p {
  margin: 3px 0;
}
.hours span {
  font-weight: bold;
  color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    align-items: center;
    top: -30px;
  }

  .info-box {
    width: 90%;
    margin: 10px 0;
  }

  .info-box:first-child,
  .info-box:last-child {
    margin: 0;
  }
}


* Call Number */
.call-number {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.call-number:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}

/* Call Number */
.email {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.email:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}
/*==========================
 Information End
============================*/



/*==========================
 Breadcrumb Start
============================*/

.bg-breadcrumb {
  background: url('images/contact\ header.jpg') no-repeat center center/cover;
  padding: 60px 0;
  position: relative;
}

/* Dark overlay effect */
.bg-breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 52, 1, 0.7); /* Green overlay with transparency */
}

/* Breadcrumb Container */
.bg-breadcrumb .container {
  position: relative;
  z-index: 2; /* Ensures content appears above overlay */
}

/* Header Title */
.bg-breadcrumb h4 {
  font-weight: 700;
  color: #fff;
  font-size: 36px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  opacity: 0; /* Initially hidden */
  transform: translateY(30px); /* Start from slightly below */
  animation: fadeInUp 2s ease-out forwards; /* Animation applied */
}

/* Keyframes for the fade-in and slide-up effect */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Start from below */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the normal position */
  }
}

/* Breadcrumb Navigation */
.breadcrumb {
  background: transparent;
  padding: 10px 15px;
  display: inline-flex;
  border-radius: 5px;
}

.breadcrumb-item {
  font-size: 16px;
  font-weight: 500;
  color: #f8f9fa;
}
.breadcrumb-item a {
  color: var(--bright-green); /* Goldish color */
  transition: 0.3s;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--olive-light-green); /* Lighter gold on hover */
}

/* Active Breadcrumb */
.breadcrumb-item.active.text-primary {
  color: yellow !important; /* Replace with your preferred color */
}

/* Responsive Design */
@media (max-width: 768px) {
  .bg-breadcrumb {
      padding: 40px 0;
  }

  .bg-breadcrumb h4 {
      font-size: 28px;
  }

  .breadcrumb-item {
      font-size: 14px;
  }
}

@media (max-width: 576px) {
  .bg-breadcrumb {
      padding: 30px 0;
  }

  .bg-breadcrumb h4 {
      font-size: 24px;
  }

  .breadcrumb-item {
      font-size: 13px;
  }
}

/*==========================
 Breadcrumb End
============================*/



/*==========================
Contact Start
============================*/

.contact-info-boxes {
    margin-top: 50px;
    margin-bottom: 30px;

}

.contact-box {
    background: linear-gradient(135deg, #004400, #008000);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    transition: background 0.3s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease-out;
    text-align: center;
    margin-bottom: 20px ;
}

.contact-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 255, 0, 0.4);
}

.contact-box i {
    font-size: 42px;
    color: #ffcc00;
    margin-bottom: 20px;
}

.contact-box .content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.contact-box .content p {
    color: #ffcc00;
    margin-top: 5px;
}/* Contact Box Container */
.contact-info-boxes {
  margin-top: 50px;
}

/* Individual Contact Box */
.contact-box {
  background: linear-gradient(135deg, #004400, #008000);
  padding: 40px;
  border-radius: 10px;
  position: relative;
  transition: background 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.5s ease-out;
  text-align: center;
  margin-bottom: 20px;
  animation: pulseUpDown 2s ease-in-out infinite; /* Add pulsing animation */
}

/* Hover effect */
.contact-box:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 255, 0, 0.4);
}

/* Pulsing animation */
@keyframes pulseUpDown {
  0% {
      transform: translateY(0); /* Start at the normal position */
  }
  50% {
      transform: translateY(-10px); /* Move up */
  }
  100% {
      transform: translateY(0); /* Return to normal position */
  }
}

/* Icon Style */
.contact-box i {
  font-size: 42px;
  color: #ffcc00;
  margin-bottom: 20px;
}

/* Content Styles */
.contact-box .content h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.contact-box .content p {
  color: #ffcc00;
  margin-top: 5px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .contact-box {
        padding: 30px;
        margin-bottom: 30px;

    }

    .contact-box i {
        font-size: 36px;
    }

    .contact-box .content h3 {
        font-size: 16px;
    }

    .contact-box .content p {
      font-size: 12px;
  }
}

@media (max-width: 576px) {
    .contact-box {
        padding: 20px;
        margin-bottom: 30px;

    }

    .contact-box i {
        font-size: 30px;
    }

    .contact-box .content h3 {
        font-size: 14px;
    }

    .contact-box .content p {
      font-size: 12px;
  }
}


/* Media Query for iPad Air and iPad Mini */
@media (max-width: 820px) {
    .contact-box {
        padding: 20px;
        margin-bottom: 20px !important;

    }

    .contact-box i {
        font-size: 36px;
    }

    .contact-box .content h3 {
        font-size: 14px;
    }

    .contact-box .content p {
        font-size: 14px;
    }
}



/*==========================
Contact End
============================*/


/*==========================
Map Container Start
============================*/
.map-container {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  width: 90%;
  max-width: 100%;
  height: 450px;
  display: flex;
  justify-content: center; /* Horizontally center content */
  align-items: center; /* Vertically center content */
  overflow: hidden;
  border-radius: 8px; /* Optional: for rounded corners */
  margin-left: auto;
  margin-right: auto; /* Centers the container horizontally */
  opacity: 0; /* Initially hidden */
  transform: translateY(50px); /* Start from below */
  transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

/* Slide-in animation keyframes */
@keyframes slideInUp {
  0% {
      transform: translateY(50px); /* Start from below */
      opacity: 0; /* Initially hidden */
  }
  100% {
      transform: translateY(0); /* End at original position */
      opacity: 1; /* Make visible */
  }
}

/* Visible class to trigger the animation */
.map-container.visible {
  animation: slideInUp 1s ease-out forwards; /* Trigger slide-in animation */
}

/* Mobile-specific adjustment */
@media (max-width: 768px) {
  .map-container iframe {
      height: 300px; /* Adjust height for smaller screens */
      margin-bottom: 10px;

  }
}

/* Small devices (Mobile phones, 320px and up) */
@media (max-width: 480px) {
  .map-container {
    width: 90%; /* Full width */
    height: 250px; /* Reduce height for smaller screens */
    margin-top: 20px; /* Adjust margin for better spacing */
    margin-bottom: 10px;

  }

  .map-container iframe {
    height: 90%; /* Make the iframe take the full container height */
  }
}




/*==========================
Map Container End 
============================*/


/*==========================
  Contact Form Styles Start
===========================*/

/* General Box Sizing */
.cf-contact-form * {
  box-sizing: border-box;
}

/* Layout Helpers */
.cf-contact-form .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cf-contact-form .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.cf-contact-form .col-12,
.cf-contact-form .col-md-6,
.cf-contact-form .col-lg-6,
.cf-contact-form .col-lg-12,
.cf-contact-form .col-md-12 {
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .cf-contact-form .col-md-6 {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .cf-contact-form .col-lg-6 {
    width: 50%;
  }

  .cf-contact-form .col-lg-12 {
    width: 100%;
  }
}

/* Section Title */
.cf-section-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.cf-section-title h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--pak-green);
  opacity: 0;
  animation: cfBounceIn 1.5s ease-out, cfPulse 2s ease-in 1.5s infinite;
}

.cf-section-title.visible h2 {
  opacity: 1;
}

.cf-section-title img {
  margin-bottom: 20px;
  width: 150px;
  height: auto;
}

.cf-section-title p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 0;
  visibility: hidden;
  max-width: 600px;
  transition: opacity 3s ease-in-out, transform 1s ease-in-out;
}

.cf-section-title.visible p {
  opacity: 1;
  visibility: visible;
  animation: cfFadeIn 2s ease-in forwards;
}

/* Animations */
@keyframes cfBounceIn {
  0%   { opacity: 0; transform: translateY(30px); }
  50%  { opacity: 1; transform: translateY(-10px); }
  70%  { opacity: 1; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes cfPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes cfFadeIn {
  0%   { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}

/* Form Styling */
.cf-form-inner {
  max-width: 700px;
  margin: 30px auto;
  width: 100%;
}

.cf-form-group {
  margin-bottom: 20px;
  position: relative;
}

.cf-form-inner input,
.cf-form-inner textarea,
.cf-form-inner select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.cf-form-inner input:focus,
.cf-form-inner textarea:focus,
.cf-form-inner select:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.cf-form-inner textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.cf-btn {
  background-color: var(--pak-green);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
  text-transform: uppercase;
  display: inline-block;
}

.cf-btn:hover {
  background-color: var(--bright-green);
  transform: scale(1.05);
}

/* Phone Input (intl-tel-input styling) */
.iti__flag {
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
  }
}

.iti {
  width: 100% !important;
}

.cf-phone-input {
  display: block;
  width: 100% !important;
  height: 45px;
  padding-left: 60px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.iti__flag-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/*==========================
  Contact Form Styles End
===========================*/


/*==========================
Footer Start
============================*/


.footer {
  background-color: var(--pak-green);
  color: white;
  padding: 30px 0;
}

.footer h5 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
}

.footer .footer-links {
  list-style: none;
  padding-left: 0;
}


.footer h5{
  color: yellow;
  font-weight: 600;
}

.footer .footer-links li {
  margin: 10px 0;
}

.footer .footer-links li a {
  color: #ddd;
  text-decoration: none;
}

.footer .footer-links li a:hover {
  color: var(--bright-green);
}

.footer .social-icons {
  margin-top: 30px;
  list-style: none;
  padding-left: 0;
}

.footer .social-icons li {
  display: inline;
  margin-right: 15px;
}

.footer .social-icons li a {
  color: white;
  font-size: 20px;
}

.footer .social-icons li a:hover {
  color: var(--bright-green);
}

.footer .col-md-4 a {
  color: #fff; /* make them white */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .col-md-4 a:hover {
  color: var(--bright-green); /* hover effect */
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: white; /* Makes the link white */
  text-decoration: none; /* Optional: removes underline */
}