/* ===========================================
   GLOBAL STYLES
   =========================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===============================
   NAVBAR — Relume Style
   =============================== */
.custom-navbar {
    background-color: #03312E; /* dark teal */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-logo {
    font-family: "Pacifico", cursive;
    font-size: 1.5rem;
    color: #ffffff;
}

.custom-nav-link {
    color: #d5e5e4 !important;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.custom-nav-link:hover {
    color: #ffffff !important;
}

/* Right buttons */
.nav-btn-outline {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 4px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.nav-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

.nav-btn-filled {
    background-color: #1AA179;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.nav-btn-filled:hover {
    background-color: #148b66;
}

/* Dropdown menu styling */
.custom-dropdown {
    background-color: #0d3b37;
    border: none;
}

.custom-dropdown .dropdown-item {
    color: #d5e5e4;
}

.custom-dropdown .dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* ===========================================
   HERO SECTION
   =========================================== */

/* Prevent container overrides */
.hero-inner {
    width: 100%;
    background-color: #5A6078;
}

.hero-section {
    display: block;
    width: 100%;
    background-color: #5A6078; /* outer slate background */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-card {
    background-color: #2D3246; /* inner dark navy card */
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* LEFT TEXT */
.hero-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* RIGHT IMAGE — SCALE WITHOUT CROPPING */
.hero-image {
    width: 100%;
    max-height: 420px;      /* this sets your desired hero height */
    object-fit: contain;    /* show full head, no cropping */
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* ===========================================
   TECHNOLOGIES SECTION
   =========================================== */

.tech-section {
    background-color: #03312E; /* deep teal background */
}

.tech-tabs .nav-link {
    color: #fff !important;
    padding: 1rem 2rem;
    border: none;
    background-color: transparent;
    font-weight: 600;
}

.tech-tabs .nav-link.active {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px 8px 0 0;
}

.tech-card {
    background-color: #0B3A37; /* darker teal card */
    border-radius: 16px;
}

.tech-img-placeholder {
    background-color: #2F4B48; /* slate green */
    height: 300px;
    border-radius: 16px;
}



/* ===========================================
   PORTFOLIO SECTION
   =========================================== */

.portfolio-section {
    background-color: #E2E1E8; /* light gray/purple background */
}

.portfolio-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-img-placeholder {
    background-color: #FFFFFF;
    height: 160px;          /* or whatever size you want */
    border-radius: 12px;
    overflow: hidden;       /* THIS is the critical line */
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;    /* use 'cover' if you want cropping */
    display: block;
}


/* ===========================================
   BLOG SECTION
   =========================================== */

.blog-section {
    background-color: #343A40; /* dark gray */
}

.blog-card {
    background-color: #444A50;
    border-radius: 20px;
}

.blog-img-placeholder {
    background-color: #b9b9b9;
    height: 220px;
    border-radius: 12px;
}



/* ===========================================
   FLIP CARD
   =========================================== */

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
  border-radius: 12px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* FRONT + BACK SIDES */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* FRONT IMAGE SIDE */
.flip-card-front {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-card-front img.company-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flip-card-front:hover .company-logo {
  transform: scale(1.05);
}

/* BACK CONTENT SIDE */
.flip-card-back {
  transform: rotateY(180deg);
  background-color: #f8f9fa;
  color: #000;
  padding: 1.5rem;
  overflow-y: auto;
}

.flip-card-back h5 {
  margin-bottom: 0.5rem;
}

.flip-card-back p {
  margin-bottom: 1rem;
  font-weight: 500;
  color: #0d6efd;
}

.company-logo {
  width: 90%;
  height: auto;
  object-fit: contain;
  padding: 1rem;
  display: block;
  max-height: 80%;
}

/* ===========================================
   FOOTER
   =========================================== */

.footer-section {
    background-color: #052C2B; /* full footer background */
    color: #ffffff;
}

/* Lightened green behind footer card */
.footer-bg {
    background-color: #063634;
}

/* Inner rounded footer card */
.footer-card {
    background-color: #063634;
    border-radius: 20px;
}

/* Logo text */
.footer-logo {
    font-family: 'Georgia', serif;
    font-size: 32px;
    color: #ffffff;
}

/* Menu Links */
.footer-menu-link {
    color: #d9e7e6;
    text-decoration: none;
    font-weight: 500;
}

.footer-menu-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Email and social links */
.footer-link {
    color: #c7f2ef;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Social icon behavior */
.footer-icon-link svg {
    width: 20px;
    height: 20px;
    fill: #c7f2ef;
    transition: 0.2s ease;
}

.footer-icon-link:hover svg {
    fill: #ffffff;
}

.footer-icon-link img {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.9;
}

.footer-icon-link:hover img {
  opacity: 1;
}


/* BOTTOM COPYRIGHT BAR */
.footer-lower {
    background-color: #052C2B;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-link {
    color: #c7f2ef;
    text-decoration: none;
}

.footer-bottom-link:hover {
    color: #ffffff;
    text-decoration: underline;
}