/* ===== ROOT VARIABLES ===== */
:root {
        --brand-blue: #0A1F44;
    --brand-gold: #CBA135;
    --gold-light: #FFD700;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --bg-light: #F9FAFC;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding-top: 120px;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== HEADER STYLES ===== */
header {
    background: var(--brand-blue);
    color: var(--text-light);
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
    background-color: rgba(10, 31, 68, 0.98);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--brand-gold);
        text-decoration: none;
        font-weight: 600;
    font-size: 1.2em;
        padding: 0.5rem 0;
        position: relative;
        transition: var(--transition);
        font-family: 'Times New Roman', sans-serif;
    }

dropbtn:hover {
    color: var(--gold-light);
}    

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  display: block;
   padding: 12px 16px;
    color: var(--brand-blue);
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.dropdown-content {
  display: none;
}
.dropdown-content.show {
  display: block;
}

.dropbtn::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
}

.dropdown-content a:hover {
background: var(--brand-gold);
color: var(--brand-blue);
}

@media (max-width: 768px) {
    .dropdown-content {
        display: none !important;
        position: static;
        box-shadow: none;
        background: white;
    }
    .dropdown-content.show {
        display: block !important;
    }
}

  

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 70px;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-family: 'Times New Roman', sans-serif;
}

nav a:hover {
    color: var(--gold-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

    @media (max-width: 768px) {
      header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
      }

     
      .logo {
        margin-bottom: 0.5rem;
      }

      .logo img {
        height: 60px; 
      }

      
      nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        overflow-x: auto; 
      }

      nav a {
        font-size: 0.9em;
        white-space: nowrap;
        padding: 0.5rem;
      }
}

/* ===== BUTTON STYLES ===== */
.email-button, .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--brand-gold);
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    border: 2px solid transparent;
}

.email-button:hover, .cta-button:hover {
    background-color: transparent;
    color: var(--brand-gold);
    border-color: var(--brand-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== SECTION TITLE STYLES ===== */
.section-title {
  text-align: center;
  display: block;
  border-bottom: 3px solid #CBA135; 
  font-size: 2.2rem;
  padding-bottom: 8px;
  color: var(--brand-blue);
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--brand-gold);
  margin: 1rem auto 0;
}
 

/* ===== CARD STYLES ===== */
.highlight-card, .mission-card, .vision-card, .service-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-card:hover, .mission-card:hover, 
.vision-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ===== MAIN CONTENT AREA ===== */
.content-container {
    display: flex;
    padding: 3rem 5%;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

main {
    flex: 3;
}

aside {
    flex: 1;
    min-width: 300px;
}

/* ===== HEADING STYLES ===== */
h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-blue);
    font-size: 1.8rem;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ===== IMAGE GALLERY ===== */
.image-gallery {
    margin-top: 3rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.image-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-content {
    padding: 1.5rem;
}

.image-item h3 {
    color: var(--brand-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.image-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Highlight the target section */
.service-section:target {
    animation: highlight 2s ease;
    background: rgba(203, 161, 53, 0.1);
    border-left: 4px solid var(--brand-gold);
    padding-left: 1rem;
}

@keyframes highlight {
    from { background: rgba(203, 161, 53, 0.3); }
    to { background: rgba(203, 161, 53, 0.1); }
}

/* ===== CHATBOT BUTTON ===== */
#chatbot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-btn:hover {
    background-color: var(--brand-gold);
    transform: scale(1.1);
}

#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e1e1;
}

#chatbot-container.chatbot-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background-color: var(--brand-blue);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: transform 0.2s;
}

#chatbot-close:hover {
    transform: scale(1.2);
}

#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.chatbot-message {
    margin-bottom: 12px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-bot {
    background: white;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chatbot-user {
    background: var(--brand-blue);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chatbot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}


/* Typing indicator */
.chatbot-typing {
    display: inline-block;
    padding-left: 15px;
}

.chatbot-typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite both;
}

.chatbot-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    #chatbot-container {
        width: 90%;
        right: 5%;
        height: 65vh;
        bottom: 80px;
    }

    #chatbot-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

  /* Footer Styles */
  .site-footer {
    background-color:var(--brand-blue);
    color: white;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.2fr 1fr 0.2fr; 
    gap: 40px; 
    padding: 0 20px;
  }

  /* Align sections */
  .footer-company {
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

.footer-social-icons {
  text-align: center;
  margin-top: 15px;
}

.footer-social-icons img:hover {
  transform: scale(1.1);
}

  .footer-section h3 {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: right; 
    margin-left: 0; 
    padding-left: 0; 
  }

  .footer-section p, .footer-section a {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .footer-section a:hover {
    color: #f1c40f;
    text-decoration: none;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }

  .social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
  }

.social-icons img:hover {
  transform: scale(1.2); 
}

.footer-links h3 {
  text-align: center; 
    margin-bottom: 20px; 
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links ul li {
  width: 100%;
}

.footer-links ul li a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 5px 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

 .footer-links ul li a:hover {
    color: #f1c40f;
    transform: translateX(5px);
  }

.footer-company h3 {
  text-align: center;
  color: #f1c40f;
  margin-bottom: 20px;
}

.footer-company p,
.footer-company a {
  color: #ecf0f1;
  line-height: 1.6;
  margin-bottom: 10px;
  display: block;
  transition: all 0.3s ease;
}

 .footer-company a:hover {
    color: #f1c40f;
    transform: translateX(10px);
  }

.footer-contact h3 {
  text-align: center;

 /* Responsive Adjustments */
  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .quick-links-section,
    .quick-links-section h3 {
      text-align: center;
    }
  }

    .footer-links ul li a:hover {
      transform: none;
    }
  }


/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 31, 68, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.popup-overlay.active .popup {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--brand-blue);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: rgba(203, 161, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-gold);
    font-size: 36px;
}

.popup h2 {
    color: var(--brand-blue);
    margin-bottom: 15px;
    font-size: 28px;
}

.popup p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.1);
}

.submit-btn {
    background: var(--brand-gold);
    color: var(--brand-blue);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
}

.submit-btn:hover {
    background:var(--brand-blue);
    color: var(--brand-gold);
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(203, 161, 53, 0.3);
}

.popup-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

@media (max-width: 768px) {
    .popup {
        padding: 30px 20px;
    }
}