/* ==========================================================================
   GLOBAL BASE STYLES & COLOR VARIABLES
   ========================================================================== */
*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #102A43; /* Navy Blue Text */
    background: #E8E5DF; /* Light Grey Main Background */
}

a{
    color: inherit;
}

/* Shared footer across public pages. */
footer{
    padding: 28px 20px;
    background: #102A43;
    color: #E8E5DF;
    border-top: 3px solid #C9A227;
    text-align: center;
    font-size: .9rem;
    line-height: 1.7;
}

footer p{
    margin: 0;
}

footer p + p{
    margin-top: 6px;
    color: #C9A227;
    font-size: .8rem;
}

/* ==========================================================================
   NAVIGATION & HEADER MODULE
   ========================================================================== */
header{
    height: 76px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #102A43; /* Premium Navy Blue Header Bar */
    color: #FFFFFF; /* Clean White Title */
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo{
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.logo span{
    color: #C9A227; /* Luxury Gold Accent */
}

nav{
    display: flex;
    gap: 8px;
    align-items: center;
}

nav a{
    text-decoration: none;
    padding: 10px 12px;
    font-size: .92rem;
    font-weight: 600;
    color: #E8E5DF; /* Elegant Light Grey for Links */
    transition: color 0.2s ease;
}

nav a:hover, nav a.active{
    color: #C9A227; /* Luxury Gold for Active States */
}

.profile-link{
    border: 1px solid #C9A227; /* Luxury Gold Border */
    border-radius: 30px;
}

.menu{
    display: none;
    background: none;
    border: 0;
    font-size: 1.5rem;
    color: #FFFFFF;
    cursor: pointer;
}

/* ==========================================================================
   HERO / COMPACT HOME SECTION
   ========================================================================== */
.hero{
    min-height: 540px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(120deg, rgba(16, 42, 67, 0.95), rgba(16, 42, 67, 0.85)), 
                radial-gradient(circle at 20% 20%, #C9A227 0 10%, transparent 11%), 
                linear-gradient(135deg, #102A43, #0c2033); /* Deep Navy Gradients */
    color: #FFFFFF; /* Clean White text on Dark Backgrounds */
}

.hero-content{
    max-width: 780px;
}

.eyebrow, .section-title p, .page-hero p{
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #C9A227; /* Luxury Gold highlights */
}

.hero h1, .page-hero h1{
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: .98;
    margin: 18px 0;
    color: #FFFFFF;
}

.hero h1 span{
    color: #C9A227; /* Luxury Gold Span Title */
}

.hero p{
    font-size: 1.08rem;
    line-height: 1.7;
    color: #E8E5DF;
}

.hero-actions{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ==========================================================================
   BUTTON ARCHITECTURE
   ========================================================================== */
.btn{
    display: inline-block;
    border: 0;
    border-radius: 4px;
    background: #C9A227; /* Luxury Gold Main Button */
    color: #102A43; /* Navy Blue Button Text for High Contrast */
    text-decoration: none;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover{
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn.ghost{
    background: transparent;
    border: 1px solid #C9A227; /* Luxury Gold Highlight Borders */
    color: #C9A227;
}

.btn.ghost:hover{
    background: #C9A227;
    color: #102A43;
}

/* ==========================================================================
   LAYOUT STRUCTURES & GRID SECTIONS
   ========================================================================== */
.section{
    max-width: 1180px;
    margin: auto;
    padding: 75px 24px;
}

.narrow{
    max-width: 900px;
}

.section-title{
    text-align: center;
    margin-bottom: 38px;
}

.section-title h2, .section h2, .feature h2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.4rem;
    margin: 8px 0;
    color: #102A43; /* Navy Blue Headings */
}

.section-title span{
    display: block;
    width: 55px;
    height: 3px;
    background: #C9A227; /* Luxury Gold Decorative Underlines */
    margin: 15px auto;
}

.cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card{
    background: #FFFFFF; /* Clean White Cards Base */
    box-shadow: 0 8px 30px rgba(16, 42, 67, 0.08);
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #E8E5DF;
}

.card-body{
    padding: 24px;
}

.card h3{
    margin: 0 0 8px;
    font-size: 1.3rem;
    color: #102A43;
}

.card p, .section p{
    line-height: 1.7;
    color: #486581; /* Subtle descriptive slate text */
}

.card a{
    color: #C9A227; /* Luxury Gold Links */
    font-weight: 700;
    text-decoration: none;
}

.card a:hover{
    text-decoration: underline;
}

/* ==========================================================================
   IMAGE CONTAINERS & BACKGROUND GRAPHICS
   ========================================================================== */
.photo, .g{
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background-size: cover !important;
    background-position: center !important;
    color: #FFFFFF; /* Clean White text over photo dark-gradients */
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: inset 0 -60px 40px rgba(16, 42, 67, 0.6);
}

/* Unsplash Placeholders mapping dynamically across page interfaces */
.p1{ background-image: url('https://unsplash.com') !important; }
.p2{ background-image: url('https://unsplash.com') !important; }
.p3{ background-image: url('https://unsplash.com') !important; }
.p4{ background-image: url('https://unsplash.com') !important; }
.p5{ background-image: url('https://unsplash.com') !important; }
.p6{ background-image: url('https://unsplash.com') !important; }

/* ==========================================================================
   METRICS & MARKETING FEATURES
   ========================================================================== */
.feature{
    background: #102A43; /* Premium Navy Blue Block Section */
    color: #FFFFFF; /* Clean White layout metrics text */
    padding: 65px max(6%, 24px);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature h2{
    color: #FFFFFF;
}

.feature p{
    color: #E8E5DF;
    line-height: 1.7;
}

.stats{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stats div{
    text-align: center;
    padding: 25px 10px;
    border: 1px solid rgba(232, 229, 223, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.stats strong{
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    color: #C9A227; /* Luxury Gold highlights for big metrics */
}

.stats span{
    font-size: .8rem;
    color: #E8E5DF;
}

/* ==========================================================================
   SUB-PAGE TOP HERO HEADER
   ========================================================================== */
.page-hero{
    background: #102A43; /* Premium Navy Blue */
    color: #FFFFFF; /* Clean White Header */
    text-align: center;
    padding: 75px 20px;
}

.page-hero h1{
    font-size: 3.5rem;
    margin: 10px;
    color: #FFFFFF;
}

/* ==========================================================================
   INTERACTIVE GALLERY GRID
   ========================================================================== */
.gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.g{
    height: 270px;
    border-radius: 4px;
    transition: transform .25s ease;
}

.g:hover{
    transform: scale(1.02);
    border: 2px solid #C9A227; /* Luxury Gold hover borders */
}

/* ==========================================================================
   ABOUT PAGE THREE-COLUMN LAYOUT
   ========================================================================== */
.web-banner{
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 28px auto;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, .35);
    border-radius: 12px;
    background: #102A43;
    box-shadow: 0 10px 28px rgba(16, 42, 67, .14);
}

.web-banner > img{
    display: block;
    width: 100%;
    height: auto;
}

.web-banner-content{
    padding: 22px 24px;
    text-align: center;
    color: #FFFFFF;
}

.web-banner-content p{
    margin: 0 0 10px;
    color: #C9A227;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.web-banner-content h1{
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.web-banner-content > span{
    display: block;
    max-width: 520px;
    margin: auto;
    color: #E8E5DF;
    font-size: .85rem;
    line-height: 1.6;
}

.banner-btn{
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    background: #C9A227;
    color: #102A43;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.banner-btn:hover, .banner-btn:focus-visible{
    background: #E0BE53;
}

.learning{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 35px;
}

.learning div{
    background: #FFFFFF; /* Clean White internal block elements */
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(16, 42, 67, 0.05);
    border-top: 4px solid #C9A227; /* Gold accent styling lines */
}

.learning b{
    font-size: 2rem;
    color: #102A43;
}

/* ==========================================================================
   CONTACT FORM LAYOUT & INTERFACE ELEMENTS
   ========================================================================== */
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

form{
    background: #FFFFFF; /* Clean White Form Card Base */
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.06);
    border: 1px solid #E8E5DF;
}

label{
    display: block;
    font-weight: 700;
    margin-bottom: 16px;
    color: #102A43;
}

input, select, textarea{
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
}

.member-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.85;
}