/* =========================================
   GLOBAL RESET
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
}

/* =========================================
   NAVBAR
   ========================================= */
.custom-navbar{
  background-color: #2d3a4e;       
  padding: 30px 30px;
  position: sticky;                
  top: 0;                          
  width: 100%;
  z-index: 9999;                    
  border-bottom: 1px solid #f8b400;
  transition: all 0.3s ease;
}

.custom-navbar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: bold;
  font-size: 1.7rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: #fff !important;
}

.nav-link {
  color: #bbb !important;
  position: relative;
  padding-bottom: 6px;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #f8b400;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-icons a:hover,
.navbar-icons a.active {
  border-color: #f8b400;
  box-shadow: 0 0 10px rgba(248, 180, 0, 0.6);
  transform: scale(1.1);
}


.user-initials {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #2d3a4e;
  color: #f8b400;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page-section {
  padding: 0.5rem 2rem;
  background: #f5f7fa url('https://www.transparenttextures.com/patterns/diamond-upholstery.png') repeat;
}

/* Wrapper for panels */
.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr; /* left smaller, right larger */
  gap: 2.5rem;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  align-items: start;
}

/* Left info box */
.contact-info-box {
  background: linear-gradient(135deg, #2d3a4e, #1f2a3a);
  color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  height: 36em;
  width: 30em;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: #f8b400;
  transition: transform 0.3s;
}

.contact-info-item:hover {
  color: #f8b400;
  transform: translateX(5px);
}

.contact-info-item:hover i {
  transform: scale(1.2);
}

.contact-info-box2{
  background: linear-gradient(135deg, #2d3a4e, #1f2a3a);
  color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  height: 36em;
  width: 30em;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-box2 h2 {
  margin-bottom: 1rem;
}


/* Google Map */
.map-wrapper {
  margin-top: 1rem;
  border-radius: 15px;
  overflow: hidden;
}

.contact-map {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Right form box */
.contact-form-box {
  background: #fff;
  padding: 2rem 2rem;
  border-radius: 20px;
  height: fit-content;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form-box h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #2d3a4e;
}

/* Form Elements */
.contact-form-box .form-control {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-box .form-control:focus {
  border-color: #f8b400;
  box-shadow: 0 0 10px rgba(248,180,0,0.25);
  outline: none;
}

.contact-form-box textarea.form-control {
  resize: none;
}

/* Read-only fields */
.contact-form-box .form-control[readonly] {
  background-color: #e9ecef;
  border-color: #ddd;
  color: #495057;
  cursor: not-allowed;
}

/* Submit button */
.contact-submit-btn {
  background-color: rgb(28, 184, 28);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.contact-submit-btn:hover {
  background-color: rgb(16, 119, 16)g;
  transform: scale(1.05);
}

/* Alerts */
.alert {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

/* footer */
/* Footer Styles */
footer {
  background-color: #2d3a4e;   
  color: #bbb;                  
  padding: 60px 0;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid rgba(248, 180, 0, 0.2);
}

footer .nav-link {
  color: #bbb !important;
  transition: color 0.3s ease;
  padding: 0 8px;
}

footer .nav-link:hover {
  color: #f8b400 !important;
}

footer .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #bbb;
  color: #bbb;
  transition: all 0.3s ease;
}

footer .social-icons a:hover {
  background-color: #f8b400;
  border-color: #f8b400;
  color: #000;
  transform: scale(1.1);
}

footer h6, 
footer p, 
footer a, 
footer span{
  color: #bbb;
}

footer p:hover, span:hover{
  color: white;
}

.foot-link{
  text-decoration: none;
  padding: 8px 0; /* Adjusted for better stacking */
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.foot-link:hover{
  color: #f8b400;
  transform: translateY(-3px);
}

footer .logo img {
  border-radius: 6px;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
  color: #888;
}

footer .footer-bottom a {
  color: #bbb;
  margin-left: 15px;
  transition: color 0.3s ease;
}

footer .footer-bottom a:hover {
  color: #f8b400;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .contact-page-wrapper {
    grid-template-columns: 1fr; /* stack panels on smaller screens */
  }
}

@media (max-width: 575px) {
  .contact-page-title,
  .contact-page-subtitle,
  .contact-info-box h2,
  .contact-form-box h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .contact-info-item {
    gap: 0.5rem;
    font-size: 0.95rem;
  }
  .contact-form-box .form-control {
    font-size: 0.95rem;
  }
  .contact-submit-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .navbar {
    width: 100%;
    padding: 25px 20px;
  }

  .contact-page-section {
    padding: 20px 15px;
  }

  .contact-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-info-box{
    display: none;
  }

  .contact-info-box2{
    display: flex;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 30px;
  }

  .contact-form-box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    height: fit-content;
  }

  .contact-info-box2 h2,
  .contact-form-box h3 {
    text-align: center;
    font-size: 20px;
  }

  .contact-info-item {
    font-size: 14px;
    gap: 8px;
  }

  .contact-form-box .form-control {
    font-size: 14px;
    padding: 10px;
  }

  .contact-submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  .map-wrapper {
    width: 100%;
    margin-top: 15px;
  }

  .contact-map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
  }

  .contact-info-box2
  .contact-form-box {
    border-radius: 12px;
  }

  footer{
    background-color: #2d3a4e;
    height: fit-content;
  }
  .footer-section {
    margin-bottom: 25px;
    width: 100%;
  }

  .footer-section .row {
    display: flex;
    flex-wrap: wrap;
    text-align: left; 
  }

  .footer-section .row > div:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
    text-align: center; 
  }

  .footer-section .row > div:not(:first-child) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .footer-links, 
  .footer-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    text-align: center;
  }

  .footer-section ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-bottom-links {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    border-top: 1px solid #444;          
    padding-top: 20px;
    margin-top: 20px;
  }

  .social-icons {
    justify-content: center;
  }

  .features {
    grid-template-columns: 1fr;
  }

  
}

/* Animations */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-40px);}
  100% { opacity: 1; transform: translateX(0);}
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}
