:root {
  --primary: #002B5B;
  --primary-dark: #001f42;
  --secondary: #1A5F7A;
  --accent: #D4AF37;
  --accent-hover: #b89628;
  --light: #f8f9fa;
  --dark: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand img {
  max-height: 60px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary) !important;
  font-size: 0.95rem;
  padding: 10px 15px !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: #000;
  overflow: hidden;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.5));
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: left;
  padding-bottom: 0;
}

.carousel-caption h2 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption span {
  color: var(--accent);
}

.carousel-caption p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-primary-custom {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 12px 35px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary-custom:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section General */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* About Section */
.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-list i {
  color: var(--accent);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Vision & Mission (Counts) */
.vision-mission .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.vision-mission .card:hover {
  transform: translateY(-10px);
}

.vision-mission .card-body {
  padding: 2.5rem;
  text-align: center;
}

.vision-mission i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.vision-mission h3 {
  margin-bottom: 1rem;
}

/* Services */
.service-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 25px;
}

.service-content h4 a {
  color: var(--primary);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 15px;
}

.service-content h4 a:hover {
  color: var(--accent);
}

/* Team */
.team-member {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.member-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.member-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 15px;
}

.member-info .social-links {
  margin-top: auto;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: var(--light);
  border-radius: 50%;
  margin: 0 5px;
  color: var(--primary);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.9)), url('../img/why-us.jpg') fixed center center;
  background-size: cover;
  color: var(--white);
  text-align: center;
}

.cta-section h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Contact */
.contact-info-box {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  text-align: center;
}

.contact-info-box i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.contact-info-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.php-email-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.php-email-form .form-control {
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #dee2e6;
}

.php-email-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.php-email-form button[type="submit"] {
  background: var(--primary);
  border: none;
  padding: 12px 35px;
  color: var(--white);
  border-radius: 5px;
  font-weight: 600;
}

.php-email-form button[type="submit"]:hover {
  background: var(--accent);
}

/* Footer */
#footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-info h3 {
  color: var(--white);
  border-left: 4px solid var(--accent);
  padding-left: 15px;
  margin-bottom: 20px;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info a:hover {
  color: var(--accent);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul li:last-child {
  border-bottom: none;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.8);
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Modal Customization */
.modal-header {
  background: var(--primary);
  color: var(--white);
  border-bottom: none;
}

.modal-title {
  color: var(--white);
}

.modal-footer {
  border-top: none;
}

.close {
  color: var(--white);
  text-shadow: none;
  opacity: 1;
}

.close:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-caption h2 {
    font-size: 2rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
}
