:root {
  --primary-color: #2b5876; /* Stylish dark blue */
  --secondary-color: #4e4376; /* Complementary purple-blue */
  --accent-color: #4bc0c8; /* Teal accent */
  --light-color: #f8f9fa; /* Very light gray */
  --dark-color: #343a40; /* Dark gray */
  --text-color: #495057; /* Gray text */
  --text-light: #6c757d; /* Lighter gray */
  --border-radius: 6px;
  --box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 75px;
  transition: var(--transition);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
  position: relative;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
 content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
  text-decoration:none;
}

nav ul li a:hover:after {
 width: 100%;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Notice Section */
.notice-board {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  height: 40px;
  font-size: 0.9rem;
}

.notice-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.notice-title {
  position: absolute;
  left: 2rem;
  top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.notice-marquee {
  margin-left: 120px;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.notice-content {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 40px;
  text-align: left;
  transform: translateX(100%);
  animation: scroll-notice 20s linear infinite;
}

.notice-content a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.notice-content a:hover {
  color: var(--accent-color);
}

@keyframes scroll-notice {
  0% {
    transform: translateX(100%);
  }
  5% {
    transform: translateX(0%);
  }
  95% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hero Section with Slider */
.hero {
  position: relative;
  height: 90vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(43, 88, 118, 0.85), rgba(78, 67, 118, 0.85));
}

/* Slide images */
.slide-1 { background-image: url('img1.png'); }
.slide-2 { background-image: url('img2.png'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40'); }
.slide-4 { background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216'); }
.slide-5 { background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c'); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: white;
  text-align: center;
}

.hero h1 {
  color: lightskyblue;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(75, 192, 200, 0.3);
}

.cta-button:hover {
  background-color: #3aa8b0;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(75, 192, 200, 0.4);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(75, 192, 200, 0.7);
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover:before {
  opacity: 0.05;
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.service-card:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

/* About Section */
.about {
  background-color: white;
  padding: 6rem 2rem;
  position: relative;
}

.about:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/*  background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71') center/cover no-repeat;*/
  opacity: 0.03;
  z-index: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-color);
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Stats Section */
.stats {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  padding: 2rem;
  position: relative;
}

.stat-item:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child:after {
  display: none;
}

.stat-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-info h3 i {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.contact-info p {
  margin-bottom: 1.8rem;
  line-height: 1.8;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 192, 200, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 5px 15px rgba(43, 88, 118, 0.3);
}

.submit-btn i {
  margin-left: 0.5rem;
}

.submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(43, 88, 118, 0.4);
}

/* Footer */
footer {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5rem 2rem 2rem;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--accent-color), rgba(75, 192, 200, 0.5));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 1rem;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: gray;
  border-radius: 50%;
  color: blue;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: lightskyblue;  /* light sky blue on hover */
  color: gray;                     /* text color gray on hover */
  transform: translateY(-5px);
}


.newsletter-form {
  margin-top: 1.5rem;
}

.newsletter-form .form-group {
  margin-bottom: 1rem;
}

.newsletter-form input {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(75, 192, 200, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #3aa8b0;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(75, 192, 200, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-container {
    gap: 3rem;
  }
  
  .stat-item:after {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul {
    margin-top: 1.5rem;
  }
  
  nav ul li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .notice-title {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .notice-marquee {
    margin-left: 0;
  }
  
  .services {
    padding: 4rem 1.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .logo-img {
    height: 60px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 1rem;
    right: 1rem;
  }
}
