/* Global Styles */
:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: #cca876;
    --accent-hover: #d9b88f;
    --text-color: #333;
    --text-light: #8892b0;
    --light-bg: #f5f5f7;
    --dark-bg: #e9ecef;
    --white: #ffffff;
    --border-radius: 4px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.gold-text {
    color: var(--accent-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-divider {
    width: 80px;
    margin: 1.5rem auto 2rem;
}

.hero-cta {
    margin-top: 2.5rem;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    letter-spacing: 1px;
    position: relative;
}

header h1:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-hover);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('assets/images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 12rem 0 8rem;
    margin-top: 0;
    position: relative;
}

#hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
}

#hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Sections */
.section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

#about-hero {
    padding-bottom: 2rem;
}

main .section:first-child {
    padding-top: 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

.section-divider {
    width: 80px;
    height: 3px;
    margin: 0 auto 3rem;
}

.section p {
    margin-bottom: 1.8rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Join Features */
.join-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.join-feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(204, 168, 118, 0.1);
}

.join-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 168, 118, 0.3);
}

.join-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.join-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.join-feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.cta-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23ffffff05"/></svg>');
    opacity: 0.5;
}

.cta-box p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-box .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.alt-bg {
    background-color: var(--light-bg);
    position: relative;
}

.alt-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23cca87610"/></svg>');
    opacity: 0.5;
}

/* Services */
.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-outro {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(204, 168, 118, 0.1);
    overflow: hidden;
    text-align: center;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 168, 118, 0.3);
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.service-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Principles */
.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.principle-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid rgba(204, 168, 118, 0.1);
    position: relative;
    overflow: hidden;
}

.principle-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent rgba(204, 168, 118, 0.1) transparent;
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 168, 118, 0.3);
}

.principle-card:hover:after {
    border-color: transparent transparent var(--accent-color) transparent;
}

.principle-card .number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.principle-card p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-logo h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo .tagline {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--white);
    transition: var(--transition);
    position: relative;
    padding-bottom: 3px;
    display: inline-block;
}

.footer-contact a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-hover);
}

.footer-contact a:hover:after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    #hero {
        padding: 10rem 0 5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-contact {
        margin-bottom: 1.5rem;
    }
}

/* Team Members */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 3rem 0;
}

.team-member {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    transition: var(--transition);
    border: 1px solid rgba(204, 168, 118, 0.1);
    text-align: left;
}

.team-member:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 168, 118, 0.3);
}

.team-member-image {
    flex: 0 0 auto;
    margin-right: 3rem;
}

.placeholder-image {
    width: 120px;
    height: 120px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
}

.placeholder-image i {
    font-size: 3rem;
    color: var(--accent-color);
}

.team-member-info {
    flex: 1;
}

.team-member-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.team-member-info h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-member-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

#about-hero {
    padding-top: 12rem;
}

.active {
    color: var(--accent-color) !important;
}

@media (min-width: 992px) {
    .team-members {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
}
