/* --- QUOTE SECTION STYLES --- */

/* Wrapper */
.quote-section-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 60px auto; /* Centers the section & adds spacing */
    border-radius: 14px;
    overflow: hidden; /* Prevents corners from leaking color */
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
}

/* Left Block Logo Area */
.quote-branding {
    width: 30%;
    background: none; 
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-branding img {
    width: 85%;
    max-width: 260px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Right Block Quote Area */
.quote-content {
    width: 70%;
    background: #f3f7ff;
    color: #003366;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Quote Text */
.quote-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7em;
    margin-bottom: 20px;
}

/* Author */
.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
    color: #00509e;
    margin-top: 10px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .quote-section-wrapper {
        flex-direction: column;
        max-width: 95%;
    }

    .quote-branding {
        width: 100%;
        padding: 20px;
    }

    .quote-content {
        width: 100%;
        padding: 25px;
    }

    .quote-text {
        font-size: 1.05rem;
    }
}


/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #d7e9f7, #ffffff);
  padding: 40px 10%;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
}

.hero-logo {
  width: 120px;
}

.hero-left h1 {
  color: #004b87;
  font-size: 2rem;
  margin: 10px 0 0;
}

.hero-left p {
  font-size: 1.1rem;
  color: #555;
}

.hero-right blockquote {
  font-style: italic;
  color: #333;
  font-size: 1.1rem;
}

.hero-right span {
  display: block;
  margin-top: 8px;
  font-weight: bold;
}

/* Categories */
.categories {
  padding: 40px 5%;
  text-align: center;
}

.categories h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #004b87;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.category-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.category-card h3 {
  color: #004b87;
  margin: 10px 0 5px;
}

.category-card p {
  font-size: 0.9rem;
  color: #555;
}

.category-card a {
  display: inline-block;
  margin-top: 10px;
  color: #004b87;
  text-decoration: none;
  font-weight: bold;
}


/************************* ABOUT PAGE  ************************************/

/* Second Row Layout (About + Sidebar) */
.about-layout {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
}

.about-text {
    width: 68%;
    line-height: 1.7;
    color: #333;
}

.about-text h1 {
    color: #004b87;
    margin-bottom: 15px;
}

/* Sidebar Right */
.about-sidebar {
    width: 32%;
    background: #f5fdf9;
    border-left: 4px solid #004b87;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.about-sidebar h3 {
    margin-bottom: 10px;
    color: #004b87;
}

.about-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: .3s;
}

.about-sidebar li:hover {
    color: #00a37a;
}

/* Mobile */
@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
    }
    .about-text, .about-sidebar {
        width: 100%;
    }
}


/* *****************ARTICLES PAGE *****************************/

.articles-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}


.articles-section h1 {
  color: #004b87;
  margin-bottom: 25px;
  text-align: center;
}

.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  background: #f5fdf9;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-left: 4px solid #004b87;
  border-radius: 6px;
  transition: 0.3s;
}

.article-list li:hover {
  background: #e9fbf4;
  transform: translateX(4px);
}

.article-list a {
  color: #004b87;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

/* ***************************** PRODUCTIVE WORK PAGE ******************************** */

.work-header {
  text-align: center;
  padding: 40px 20px;
}

.work-header h1 {
  color: #004b87;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

/* Sticky Category Filter Bar */
.category-filter {
  /* position: sticky; */
  top: 80px; /* adjust if header is taller */
  z-index: 50;
  display: flex;
  justify-content: center;     /* ✅ center horizontally */
  flex-wrap: wrap;             /* ✅ allow line wrap on smaller screens */
  gap: 12px;
  background: #ffffff;
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
}

.category-filter button {
padding: 8px 14px;
  border-radius: 6px;
  border: none;
  background: #004b87;
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
  white-space: nowrap;   
}

.category-filter button:hover {
  background: #004b87;
   transform: translateY(-2px);
}

/* Technology Tiles Grid */
.tech-grid {
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tech-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  padding-bottom: 15px;
  cursor: pointer;
  transition: .3s;
}

.tech-card:hover {
  transform: translateY(-5px);
}

.tech-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.tech-card h3 {
  margin: 12px;
  font-size: 1.1rem;
  color: #004b87;
}

.tech-card p {
  margin: 0 12px 10px;
  font-size: 0.9rem;
  color: #444;
}




/* ***************************** RESOURCES  PAGE ******************************** */




.resources-header {
  text-align: center;
  padding: 40px 20px;
}

.resource-title {
  text-align: center;
  margin-top: 40px;
  color: #004b87;
}

.resource-grid {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.resource-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  padding: 15px;
  text-align: center;
}

.resource-card img,
.resource-card video {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.resource-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
}

.tab-button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: #e6e6e6;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
}

.tab-button.active,
.tab-button:hover {
  background: #004b87;
  color: white;
}

.tab-content {
  margin-top: 20px;
}

.resource-title {
  text-align: center;
  margin-bottom: 15px;
  color: #004b87;
}


/****************************** Enquiry Page **********************************/
.enquiry-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.enquiry-section h1 {
  color: #004b87;
  margin-bottom: 10px;
}

.enquiry-section p {
  color: #555;
  margin-bottom: 30px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #004b87;
}

.submit-btn {
  background: #004b87;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #009f7c;
  transform: translateY(-2px);
}

/****************************** Feedback Page **********************************/

/* ===============================
   FEEDBACK FORM STYLES
================================ */

.feedback-section {
  max-width: 720px;
  margin: 60px auto;
  padding: 40px 25px;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  text-align: center;
}

/* TITLE */
.feedback-section h1 {
  font-size: 2rem;
  color: #004b87;
  margin-bottom: 8px;
}

/* SUBTEXT */
.feedback-section p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* FORM */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

/* FORM GROUP */
.form-group {
  display: flex;
  flex-direction: column;
}

/* LABEL */
.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #333;
}

/* INPUTS & TEXTAREA */
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  font-size: 0.95rem;

  border: 1px solid #ccc;
  border-radius: 8px;

  transition: border 0.2s ease, box-shadow 0.2s ease;
}

/* INPUT FOCUS */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #004b87;
  box-shadow: 0 0 0 2px rgba(0, 123, 94, 0.15);
}

/* TEXTAREA */
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===============================
   STAR RATING
================================ */

.rating {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.4rem;
}

.rating label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rating input {
  cursor: pointer;
}

/* ===============================
   SUBMIT BUTTON
================================ */

.submit-btn {
  margin-top: 15px;
  padding: 14px;

  font-size: 1rem;
  font-weight: bold;

  background: #004b87;
  color: #ffffff;

  border: none;
  border-radius: 10px;
  cursor: pointer;

  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: #009f7c;
  transform: translateY(-2px);
}


/* ===============================
   FORM STATUS MESSAGE
================================ */

.form-status {
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

.form-status.loading {
  display: block;
  background: #fff3cd;
  color: #856404;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}
/* ===============================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 768px) {
  .feedback-section {
    margin: 40px 15px;
    padding: 30px 20px;
  }

  .feedback-section h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .feedback-section {
    padding: 25px 18px;
  }

  .rating {
    font-size: 1.2rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .submit-btn {
    font-size: 0.95rem;
  }
}

/****************************** Contact page *******************************/

.contact-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

.contact-section h1 {
  text-align: center;
  color: #004b87;
  margin-bottom: 10px;
}

.contact-section p {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

.office-block {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
}

.office-info {
  flex: 1;
  padding: 25px;
  background: #f8fafb;
  color: #333;
}

.office-info h2 {
  color: #004b87;
  margin-bottom: 10px;
}

.office-map {
  flex: 1;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive layout */
@media (max-width: 768px) {
  .office-block {
    flex-direction: column;
  }
}



