/* GLOBAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Lora", serif;
    background: #ffffff;
    color: #1a1a1a;
}

/* NAVBAR */
.navbar {
  background: white;
  position: relative;
  z-index: 5000;
  padding: 22px 60px;
  font-family: 'Public Sans', sans-serif;
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
    color: #1D2E5C;
    font-weight: 500;
}

.nav-logo-icon {
    width: 88px;
    height: 58px;
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #1D2E5C;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

/* HOVER + ACTIVE */
.nav-menu a:hover,
.nav-menu a.active {
  border-bottom: 2px solid #1D2E5C;
}

/* DROPDOWN PANEL */
.dropdown-panel {
    position: absolute;
    top: 42px;
    left: 0;
    background: white; /* softer black */
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    min-width: 240px;
    z-index: 1000;
    border-radius: 6px; /* subtle rounding */
    border: 1px solid rgba(255,255,255,0.08); /* faint outline */
}

.dropdown-panel a {
    padding: 10px 20px;
    font-size: 16px;
    color: #1D2E5C;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    border-bottom: none !important;
}

.dropdown-panel a:hover {
    background: rgba(61, 95, 184, 0.18); /* soft blue tint */
    color: #3D5FB8;
    border-bottom: none !important;
}

.dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px); /* subtle motion */
}

/* SEARCH ICON */
.search-icon {
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.2s ease;
}

.search-icon:hover {
  opacity: 0.7;
}

/* EXPANDING SEARCH BAR */
.search-bar-container {
    width: 100%;
    background: #ffffff;
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease, padding 0.35s ease;
    border-bottom: 1px solid #e5e5e5;
    z-index: 999;
}

.search-bar-container.active {
    height: 70px;
    padding: 16px 0;
    padding-bottom: 70px;
}

#siteSearchInput {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    padding: 14px 18px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s ease;
}

#siteSearchInput:focus {
    border-color: #1D2E5C;
    box-shadow: 0 0 0 3px rgba(29, 46, 92, 0.15);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(90deg, #1D2E5C 0%, #2E488C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    position: relative;
    overflow: hidden;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #1D2E5C;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {

    .navbar {
        padding: 18px 24px;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 3000; /* make sure it's above hero */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        padding: 30px 24px;
        gap: 18px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
        width: 100%;
        text-align: left; /* important */
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        font-weight: 600;
        font-size: 18px;
    }

    .nav-menu > li {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a:hover {
    background: #f4f6fa;
    padding-left: 6px;
    }

    .dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding-left: 18px;
        margin-top: 8px;
        box-shadow: none;
        gap: 10px;
    }

    .dropdown-panel a {
        font-size: 16px;
        font-weight: 400;
        opacity: 0.9;
    }
}

/* CENTERED CONTAINER */
.hero-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT TEXT BLOCK */
.hero-text {
    position: relative; 
    max-width: 600px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #E8ECF7;
    margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 16px;
}

/* BASE BUTTON STYLE */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.35s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
}

/* PRIMARY BUTTON — PREMIUM GRADIENT */
.btn-primary { 
    background: rgba(61, 95, 184, 0.15); 
    border: 2px solid rgba(61, 95, 184, 0.55); 
    color: #5E82E0; 
    box-shadow: 0 6px 18px rgba(61, 95, 184, 0.25); 
} 

.btn-primary:hover { 
    background: rgba(61, 95, 184, 0.28); 
    border-color: #90AAF0; 
    color: white; 
    transform: translateY(-6px); 
    box-shadow: 0 12px 28px rgba(61, 95, 184, 0.45);
}

/* SECONDARY BUTTON — GLASS OUTLINE */
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: white;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(61, 95, 184, 0.25); 
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #5E82E0;
    color: #90AAF0;
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(61, 95, 184, 0.45);
}

/* OUTLINE BUTTON — BRAND BLUE OUTLINE */
.btn-outline {
    background: transparent;
    border: 2px solid #3D5FB8;
    color: #3D5FB8;
}

.btn-outline:hover {
    background: #3D5FB8;
    color: white;
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(61, 95, 184, 0.35);
}

/* RIGHT SPHERE IMAGE */
.hero-image {
    position: absolute;
    right: 0%; /* slight push off-screen like Deloitte */
    top: 50%;
    transform: translateY(-50%);
    height: 50vh; /* medium size, proportional to screen height */
    opacity: 0.85;
    z-index: 1;
    pointer-events: none; /* decorative */

    /* FADE-IN ANIMATION */ 
    animation: fadeIn 2s ease-out forwards, float 6s ease-in-out infinite;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 0 60px rgba(255,255,255,0.25)) drop-shadow(0 0 40px rgba(0,0,0,0.35)); */
}

/* FADE-IN */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-50%) scale(0.95); }
    100% { opacity: 0.85; transform: translateY(-50%) scale(1); }
}

/* SUBTLE FLOATING MOTION */
@keyframes float {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-52%) translateX(-1%); }
    100% { transform: translateY(-50%) translateX(0); }
}

/* MOBILE BEHAVIOR */
@media (max-width: 900px) {

    .hero {
        height: auto;
        padding: 100px 24px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image {
        position: relative;
        transform: none;
        height: 180px;
        margin-top: 40px;
    }
}

/* SECTIONS */
.section {
    padding: 80px 60px;
}

@media (max-width: 900px) {
    .section {
        padding: 80px 24px;
    }
}

.white {
    background: white;
}

.grey {
    background: #F4F6FA;
}

.navy {
    background: #1D2E5C;
    color: white;
}

/* ABOUT SECTION */
#about.section {
    padding: 160px 0; /* more top + bottom space */
}

#about .section-inner {
    max-width: 900px; /* centered container */
    margin: 0 auto;   /* centers the block */
    text-align: center; /* keeps text left-aligned */
}

#about h2 {
    font-size: 44px; /* bigger heading */
    margin-bottom: 32px;
    color: #1D2E5C;
    font-weight: 700;
}

#about p {
    font-size: 20px; /* bigger body text */
    line-height: 1.85;
    margin-bottom: 26px;
    color: #1A1A1A;
}


/* SERVICES */
#services h2 {
    font-size: 44px; /* bigger heading */
    margin-bottom: 32px;
    color: #1D2E5C;
    font-weight: 700;
    text-align: center;
    padding-bottom: 50px;
}

#services.section {
    padding: 160px 60px; /* top, right, bottom, left */
}

#services .section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* GRID — 3 CARDS PER ROW */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; /* more breathing room */
}

/* SERVICE CARD — BASE STYLE */
.service-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 2px solid transparent; /* invisible until hover */
    transition: all 0.35s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

/* TYPOGRAPHY — MATCH ABOUT SECTION */
.service-card h3 {
    font-size: 23px;
    margin-bottom: 16px;
    color: #1D2E5C;
    font-weight: 700;
}

.service-card p {
    font-size: 20px;
    line-height: 1.75;
    color: #1A1A1A;
}

/* HOVER EFFECT — MOVE + OUTLINE */
.service-card:hover {
    transform: translateY(-10px);
    border-color: #1D2E5C;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.service-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #1D2E5C;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* VALUES */
#values.section {
    padding: 160px 60px; /* top, right, bottom, left */
}

#values.section h2 {
    font-size: 44px; /* bigger heading */
    margin-bottom: 32px;
    color: #1D2E5C;
    font-weight: 700;
    text-align: center;
    padding-bottom: 50px;
}

#values .section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* GRID — 3 CARDS PER ROW */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; /* more breathing room */
}

/* VALUE CARD — BASE STYLE */
.value-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 2px solid transparent; /* invisible until hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* TYPOGRAPHY — MATCH ABOUT SECTION */
.value-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #1D2E5C;
    font-weight: 700;
}

.value-card p {
    font-size: 20px;
    line-height: 1.75;
    color: #1A1A1A;
}

/* HOVER EFFECT — MOVE + OUTLINE */
.value-card:hover {
    transform: translateY(-10px);
    border-color: #1D2E5C;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* TEAM SECTION */
.team-section {
    background: #F4F6FA; /* same as services */
    padding: 160px 60px; /* top, right, bottom, left */
}

.team-section .section-inner {
    max-width: 900px; /* centered container */
    margin: 0 auto;
    text-align: left; /* keep text left-aligned */
}

/* TYPOGRAPHY */
.team-section h2 {
    font-size: 44px;
    margin-bottom: 32px;
    color: #1D2E5C;
    font-weight: 700;
}

.team-section p {
    font-size: 20px;
    line-height: 1.85;
    color: #1A1A1A;
}

.team-section strong {
    font-size: 22px;
    color: #1D2E5C;
}

/* FEATURED RESOURCE */
#resources.section {
    padding: 160px 60px; /* top, right, bottom, left */
    background: #1D2E5C; /* your navy background */
    color: white;
}

#resources .section-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* TYPOGRAPHY — MATCH ABOUT SECTION */
#resources h2 {
    font-size: 44px;
    margin-bottom: 32px;
    font-weight: 700;
    
}

#resources h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

#resources p {
    font-size: 20px;
    line-height: 1.85;
    margin-bottom: 40px;
    color: #E8ECF7;
}

/* BUTTON — BASE STYLE */
#resources .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* BUTTON — HOVER INVERSION */
#resources .btn-outline:hover {
    background: white;
    color: #1D2E5C;
    border-color: white;
}

/* BLOGS */
#blogs.section {
    padding: 160px 60px; /* top, right, bottom, left */
    background: white;
}

#blogs .section-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

/* TYPOGRAPHY */
#blogs h2 {
    font-size: 44px;
    margin-bottom: 48px; /* more spacing before grid */
    color: #1D2E5C;
    text-align: center;
    font-weight: 700;
}

/* GRID — 3 CARDS PER ROW */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; /* spacing between cards */
    margin-bottom: 60px; /* spacing before button */
}

/* BLOG CARD — BASE STYLE */
.blog-card {
    background: #F4F6FA;
    padding: 32px;
    border-radius: 8px;
    border: 2px solid transparent; /* invisible until hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* TYPOGRAPHY — MATCH ABOUT SECTION */
.blog-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #1D2E5C;
    font-weight: 700;
}

.blog-card p {
    font-size: 20px;
    line-height: 1.75;
    color: #1A1A1A;
}

#blogs .blog-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* HOVER EFFECT — MOVE + OUTLINE */
.blog-card:hover {
    transform: translateY(-10px);
    border-color: #1D2E5C;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* BUTTON — SAME AS FEATURED RESOURCE */
#blogs .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid #1D2E5C;
    background: #1D2E5C;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* BUTTON HOVER — INVERT COLORS */
#blogs .btn-primary:hover {
    background: white;
    color: #1D2E5C;
    border-color: #1D2E5C;
}

/* FAQ SECTION */
.faq-section {
    padding: 160px 60px;
    background: #F4F6FA;
}

.faq-section .section-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* TITLE */
.faq-section h2 {
    font-size: 44px;
    margin-bottom: 40px;
    color: #1D2E5C;
    font-weight: 700;
    text-align: center;
}

/* FAQ ITEM */
.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid #d0d6e0;
    padding-bottom: 16px;
}

/* QUESTION BUTTON */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-size: 22px;
    font-weight: 600;
    color: #1A1A1A;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ICON */
.faq-icon {
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #1D2E5C;
}

/* ANSWER (HIDDEN) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: 
        max-height 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.faq-answer p {
    font-size: 18px;
    line-height: 1.75;
    margin-top: 16px;
    color: #1A1A1A;
}

/* OPEN STATE */
.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #3D5FB8; /* brand blue */
}

/* CONTACT */
.contact-section {
    padding: 160px 60px; /* top, right, bottom, left */
    background: white; /* same as Services */
}

.contact-section .section-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* TYPOGRAPHY — MATCH ABOUT SECTION */
.contact-section h2 {
    font-size: 44px;
    margin-bottom: 32px;
    color: #1D2E5C;
    font-weight: 700;
    text-align: center;
}

.contact-subtext {
    font-size: 20px;
    line-height: 1.85;
    margin-bottom: 60px;
    color: #1A1A1A;
}

/* CONTACT INFO GRID */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #1D2E5C;
    font-weight: 700;
}

.contact-info p {
    font-size: 20px;
    line-height: 1.75;
    color: #1A1A1A;
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #d0d6e0;
    font-size: 18px;
    font-family: inherit;
}

.contact-form textarea {
    height: 160px;
    resize: none;
}

/* BUTTON — SAME AS FEATURED RESOURCE */
.contact-form .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid #1D2E5C;
    background: #1D2E5C;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* BUTTON HOVER — INVERT COLORS */
.contact-form .btn-primary:hover {
    background: white;
    color: #1D2E5C;
    border-color: #1D2E5C;
}

/* ICON CONTACT INFO */
.contact-info.icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-icon-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.contact-icon-item:hover {
    transform: translateY(-6px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #1D2E5C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.contact-icon-item:hover .icon-circle {
    background: white;
    color: #1D2E5C;
    border: 2px solid #1D2E5C;
}

.contact-icon-item p {
    font-size: 20px;
    color: #1A1A1A;
    font-weight: 600;
}

/* FOOTER */
.footer {
    background: #1D2E5C;
    color: white;
    padding: 40px 60px;
}

.disclaimer {
    font-size: 12px;
    line-height: 1.6;
}

/* SCROLL TO TOP BUTTON */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: white;
    color: #3D5FB8;
    border: 2px solid #3D5FB8;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9999;
}

/* HOVER EFFECT — INVERT COLORS + FLOAT UP/DOWN */
.scroll-top-btn:hover {
    background: #3D5FB8;
    color: white;
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(61, 95, 184, 0.35);
}

.scroll-top-btn:hover {
    animation: floatUpDown 0.6s ease-in-out infinite alternate;
}

@keyframes floatUpDown {
    from { transform: translateY(-6px); }
    to   { transform: translateY(-2px); }
}

@media (max-width: 900px) {

    .services-grid,
    .values-grid,
    .blogs-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {

    h2 {
        font-size: 28px !important;
    }

    .value-card h3,
    .service-card h3,
    .blog-card h3 {
        font-size: 20px;
    }

    p {
        font-size: 16px !important;
    }

}

@media (max-width: 900px) {

    .search-bar-container.active {
        height: auto;
        padding: 16px 24px;
    }

    #siteSearchInput {
        width: 100%;
    }

}

@media (max-width: 900px) {

    .scroll-top-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

}
