/* Body background and text color for light-dark finance theme */
html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e2f;
    color: #f1f1f1;
}

/* About Hero Image Section */
.about-hero {
	background: url('assets/about1.jpg') no-repeat center center/cover;
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-title {
    font-size: 48px;
    color: #f9cc5a;
    font-weight: bold;
    z-index: 2;
    text-align: center;
}

/* Main Content Section */
.about-content {
    padding: 60px 10%;
    background-color: #282840;
    color: #f5f5f5;
    line-height: 1.7;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.about-content h2 {
    font-size: 32px;
    color: #f9cc5a;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dddddd;
}

/* Popup Animation */
/* === COMPANY HIGHLIGHTS SECTION === */
.company-highlights {
    background-color: rgb(112, 112, 112);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 100vw;
    margin: auto;
}

.highlight-card {
    background-color: #222;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

.highlight-content {
    flex: 1;
    padding: 30px;
    color: #f0f0f0;
}

.highlight-content h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: #00d4ff;
}

.highlight-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #d0d0d0;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00d4ff;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: #00aacc;
}

.section-bg {
	background-color: #1a1a1a;
}
/* Responsive */
@media (max-width: 768px) {
    .highlight-card {
        flex-direction: column;
    }

    .highlight-card img {
        width: 100%;
    }
}

/* === CORE VALUES SECTION === */
.core-values {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.core-card {
    background-color: #2f2f4f;
    color: #f1f1f1;
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1 1 30%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.core-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.core-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.core-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.core-card h3 {
    font-size: 1.5rem;
    color: #f9cc5a; /* Same as .about-content h2 */
    margin-bottom: 15px;
}

.core-card p {
    font-size: 1rem;
    color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .core-values {
        flex-direction: column;
    }

    .core-card {
        flex: 1 1 100%;
    }
}

.core-heading {
    text-align: center;
    font-size: 32px;
    color: #f9cc5a; /* Yellowish color */
    margin-bottom: 40px;
    margin-top: 40px;
}

/* ========== MEDIA QUERIES FOR RESPONSIVE DESIGN ========== */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-welcome {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }

    .hero-left img {
        width: 80%;
        height: auto;
        margin: 0 auto;
    }

    .hero-right h1,
    .hero-right p {
        text-align: center;
    }

    .our-services,
    .about-content,
    .company-highlights {
        padding: 40px 5%;
    }

    .highlight-card,
    .team-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .team-cards {
        flex-direction: column;
    }

    .core-values {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Small devices (phones landscape - tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-welcome {
        flex-direction: column;
        text-align: center;
    }

    .hero-left img {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    .team-cards {
        flex-direction: column;
        gap: 25px;
    }

    .highlight-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-left img {
        width: 60%;
        height: auto;
    }

    .team-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-card {
        flex: 1 1 45%;
        margin-bottom: 30px;
    }

    .highlight-card {
        flex-wrap: wrap;
    }

    .highlight-card img {
        max-width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-welcome {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 60px 8%;
    }

    .hero-left {
        flex: 1;
    }

    .hero-right {
        flex: 1;
        padding-left: 40px;
    }

    .team-cards {
        flex-direction: row;
        gap: 30px;
    }

    .team-card {
        flex: 1 1 30%;
    }
}


/* SECTION container (allows vertical scroll naturally) */
.scrollable-section {
    padding: 60px 30px;
    background-color: #1c1c2b;
    overflow-x: hidden;  /* ❌ No horizontal scroll */
}

/* Cards stacked vertically */
.highlight-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card layout: image left, text right */
.highlight-card {
    display: flex;
   background-color: rgb(60, 60, 60);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease, transform 0.4s ease;
}

/* Scroll-up animation trigger */
.highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover pop-up effect */
.highlight-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Image styles */
.highlight-card img {
    width: 220px;
    height: auto;
    object-fit: cover;
}

/* Text content styles */
.highlight-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.our-services {
  
    padding: 60px 20px;
    color: #f5f5f5;
}

.our-services .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #f9cc5a;
    animation: fadeIn 1s ease-in-out;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 30px 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
	cursor: pointer;
}

.service-card i {
    font-size: 40px;
   color: #f9cc5a;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    color: #fff;
}

.service-card:hover {
    transform: scale(1.05);
    
}

/* Scroll-up animation */
.scroll-up {
    opacity: 0;
    transform: translateY(50px);
    animation: scrollUpFade 1s ease forwards;
}

@keyframes scrollUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

	
	
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #2a2a3d;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  color: #fff;
  position: relative;
  animation: fadeInModal 0.4s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  color: #fff;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.read-more-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #00d4ff;
  border: none;
  border-radius: 4px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #f9cc5a;
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-images img {
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .modal-images img {
    flex: 1 1 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
  }
}
