:root {

    --gold: #D4AF37;

    --deep-blue: #0A1931;

    --light-blue: #1E3A8A;

    --white: #FFFFFF;

    --light-gray: #F5F5F5;

    --dark-gray: #333333;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Montserrat', sans-serif;

    color: var(--dark-gray);

    line-height: 1.6;

    overflow-x: hidden;

}



h1, h2, h3, h4 {

    font-family: 'Playfair Display', serif;

    font-weight: 700;

    color: var(--deep-blue);

}



.container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



/* Header & Navigation */

header {

    background-color: rgba(10, 25, 49, 0.9);

    position: fixed;

    width: 100%;

    z-index: 1000;

    padding: 15px 0;

    transition: all 0.3s ease;

}



header.scrolled {

    padding: 10px 0;

    background-color: var(--deep-blue);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

}



.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo {

    display: flex;

    align-items: center;

    width: 100px;

    height: 73px;

}



.logo-icon {

    color: var(--gold);

    font-size: 24px;

    width: 100px;

    height: 100px;

}



nav ul {

    display: flex;

    list-style: none;

}



nav li {

    margin-left: 30px;

}



nav a {

    color: var(--white);

    text-decoration: none;

    font-weight: 500;

    transition: color 0.3s ease;

    position: relative;

}



nav a:after {

    content: '';

    position: absolute;

    width: 0;

    height: 2px;

    background: var(--gold);

    left: 0;

    bottom: -5px;

    transition: width 0.3s ease;

}



nav a:hover {

    color: var(--gold);

}



nav a:hover:after {

    width: 100%;

}



.mobile-menu-btn {

    display: none;

    background: none;

    border: none;

    color: var(--white);

    font-size: 24px;

    cursor: pointer;

}



/* Hero Section */

.hero {

    height: 100vh;

    background: linear-gradient(rgba(10, 25, 49, 0.8), rgba(10, 25, 49, 0.6)), url("images/background - Copy.jpg") no-repeat center center/cover;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--white);

    position: relative;

    overflow: hidden;

}



.hero-content {

    max-width: 800px;

    z-index: 1;

    animation: fadeIn 1.5s ease-in-out;

}



.hero h1 {

    font-size: 4rem;

    margin-bottom: 20px;

    color: var(--white);

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);

}



.hero p {

    font-size: 1.5rem;

    margin-bottom: 30px;

    color: var(--gold);

    font-weight: 500;

}



/* Buttons */

.btn {

    display: inline-block;

    background: var(--gold);

    color: var(--deep-blue);

    padding: 15px 30px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: all 0.3s ease;

    border: 2px solid var(--gold);

}



.btn:hover {

    background: transparent;

    color: var(--gold);

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);

}



.btn-outline {

    background: transparent;

    color: var(--gold);

    margin-left: 15px;

}



.btn-outline:hover {

    background: var(--gold);

    color: var(--deep-blue);

}



/* About Section */

.about {

    padding: 100px 0;

    background-color: var(--white);

}



.section-title {

    text-align: center;

    margin-bottom: 60px;

    position: relative;

}



.section-title:after {

    content: '';

    position: absolute;

    width: 80px;

    height: 3px;

    background: var(--gold);

    bottom: -15px;

    left: 50%;

    transform: translateX(-50%);

}



.about-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

}



.about-text {

    flex: 1;

    min-width: 300px;

    padding-right: 40px;

}



.about-text h2 {

    font-size: 2.5rem;

    margin-bottom: 20px;

    color: var(--deep-blue);

}



.about-icons {

    flex: 1;

    display: flex;

    justify-content: space-around;

    flex-wrap: wrap;

    min-width: 300px;

}



.icon-item {

    text-align: center;

    margin: 20px;

    transition: transform 0.3s ease;

}



.icon-item:hover {

    transform: translateY(-10px);

}



.icon-circle {

    width: 100px;

    height: 100px;

    background: var(--light-gray);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 15px;

    border: 2px solid var(--gold);

    color: var(--gold);

    font-size: 36px;

}



/* Features Section */

.features {

    padding: 100px 0;

    background: var(--light-gray);

}



.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



.feature-card {

    background: var(--white);

    border-radius: 10px;

    padding: 30px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

}



.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

}



.feature-icon {

    font-size: 40px;

    color: var(--gold);

    margin-bottom: 20px;

}



.feature-card h3 {

    margin-bottom: 15px;

    font-size: 1.5rem;

}



/* Gallery Section */

.gallery {

    padding: 100px 0;

    background: var(--light-gray);

}



.gallery-filters {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 40px;

}



.filter-btn {

    background: var(--white);

    border: none;

    padding: 10px 24px;

    margin: 5px;

    border-radius: 30px;

    cursor: pointer;

    transition: all 0.3s ease;

    font-weight: 500;

    font-size: 14px;

}



.filter-btn.active,

.filter-btn:hover {

    background: var(--gold);

    color: var(--deep-blue);

}



.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    gap: 25px;

}



.gallery-item {

    position: relative;

    border-radius: 15px;

    overflow: hidden;

    height: 280px;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;

}



.gallery-item:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);

}



.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.gallery-item:hover img {

    transform: scale(1.1);

}



.gallery-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(10, 25, 49, 0.9), rgba(30, 58, 138, 0.9));

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.gallery-item:hover .gallery-overlay {

    opacity: 1;

}



.gallery-caption {

    text-align: center;

    padding: 20px;

    transform: translateY(20px);

    transition: transform 0.3s ease;

}



.gallery-item:hover .gallery-caption {

    transform: translateY(0);

}



/* Force ALL gallery titles to GOLD - including all headings */

.gallery-caption h1,

.gallery-caption h2,

.gallery-caption h3,

.gallery-caption h4,

.gallery-caption h5,

.gallery-caption h6,

.gallery .gallery-caption h3,

.gallery-item .gallery-caption h3,

.gallery-overlay .gallery-caption h3,

section.gallery .gallery-caption h3 {

    color: #D4AF37 !important;

    font-family: 'Playfair Display', serif;

    font-size: 1.2rem;

    margin-bottom: 8px;

}



.gallery-caption p {

    color: #FFFFFF !important;

    font-size: 0.9rem;

    margin: 0;

}



.gallery-caption small {

    color: rgba(255, 255, 255, 0.8);

    font-size: 0.8rem;

}



/* Gallery Modal */

.gallery-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.95);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 2000;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

}



.gallery-modal.open {

    opacity: 1;

    pointer-events: all;

}



.modal-content {

    max-width: 90%;

    max-height: 90%;

    position: relative;

}



.modal-content img {

    max-width: 100%;

    max-height: 80vh;

    border-radius: 10px;

    object-fit: contain;

}



.modal-close {

    position: absolute;

    top: -40px;

    right: 0;

    background: none;

    border: none;

    color: var(--white);

    font-size: 32px;

    cursor: pointer;

    transition: color 0.3s ease;

}



.modal-close:hover {

    color: var(--gold);

}



/* Responsive Gallery */

@media (max-width: 768px) {

    .gallery-grid {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    }

    

    .gallery-item {

        height: 240px;

    }

    

    .filter-btn {

        padding: 8px 18px;

        font-size: 12px;

    }

}



@media (max-width: 576px) {

    .gallery-filters {

        flex-direction: column;

        align-items: center;

    }

    

    .filter-btn {

        width: 200px;

        margin: 5px 0;

    }

    

    .gallery-grid {

        grid-template-columns: 1fr;

    }

    

    .gallery-item {

        height: 260px;

    }

}



/* Team Section */

.team {

    padding: 100px 0;

    background: var(--white);

}



.team-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



.team-member {

    text-align: center;

    transition: all 0.3s ease;

}



.team-member:hover {

    transform: translateY(-10px);

}



.team-img {

    width: 200px;

    height: 200px;

    border-radius: 50%;

    overflow: hidden;

    margin: 0 auto 20px;

    border: 3px solid var(--gold);

}



.team-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;

}



.team-member:hover .team-img img {

    transform: scale(1.1);

}



.team-info h3 {

    margin-bottom: 5px;

}



.team-role {

    color: var(--gold);

    font-weight: 600;

    margin-bottom: 15px;

}



.team-social {

    display: flex;

    justify-content: center;

    gap: 10px;

}



.team-social a {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    background: var(--light-gray);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--deep-blue);

    transition: all 0.3s ease;

}



.team-social a:hover {

    background: var(--gold);

    color: var(--white);

}



/* Team Showcase */

.team-showcase {

    padding: 80px 0;

    background: #f8f9fa;

    position: relative;

}



.team-description {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 30px;

    font-size: 18px;

    line-height: 1.6;

    color: #333;

}



.team-description p {

    margin-bottom: 20px;

}



.team-background {

    position: relative;

    min-height: 400px;

    background-image: url('images/team.jpg');

    background-size: cover;

    background-position: center;

    margin: 40px 0;

    border-radius: 12px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

}



.team-background::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(25, 25, 112, 0.85), rgba(75, 0, 130, 0.85));

    z-index: 1;

}



.team-names-overlay {

    position: relative;

    z-index: 2;

    padding: 20px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;

    max-width: 95%;

}



.team-name {

    color: white;

    font-weight: 600;

    opacity: 0.9;

    transition: all 0.3s ease;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);

    padding: 5px 10px;

}



.team-name:hover {

    opacity: 1;

    transform: scale(1.05);

}



.team-name.x-small { font-size: 12px; }

.team-name.small { font-size: 14px; }

.team-name.medium { font-size: 16px; }

.team-name.large { font-size: 18px; }

.team-name.x-large { font-size: 20px; }



/* Blog Section */

.blog {

    padding: 100px 0;

    background: var(--light-gray);

}



.blog-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 30px;

}



.blog-card {

    background: var(--white);

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

}



.blog-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

}



.blog-img {

    height: 200px;

    overflow: hidden;

}



.blog-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.blog-card:hover .blog-img img {

    transform: scale(1.1);

}



.blog-content {

    padding: 20px;

}



.blog-date {

    color: var(--gold);

    font-weight: 600;

    margin-bottom: 10px;

    display: block;

}



.blog-card h3 {

    margin-bottom: 15px;

    font-size: 1.3rem;

}



.blog-excerpt {

    margin-bottom: 20px;

}



.read-more {

    color: var(--gold);

    font-weight: 600;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 5px;

}



.read-more:hover i {

    transform: translateX(5px);

}



/* Newsletter Section */

.newsletter {

    padding: 80px 0;

    background: var(--light-blue);

    color: var(--white);

    text-align: center;

}



.newsletter .section-title h2 {

    color: var(--white);

}



.newsletter-form {

    max-width: 500px;

    margin: 0 auto;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    justify-content: center;

}



.newsletter-input {

    flex: 1;

    min-width: 250px;

    padding: 15px 20px;

    border: none;

    border-radius: 50px;

    font-family: 'Montserrat', sans-serif;

}



.newsletter-btn {

    background: var(--gold);

    color: var(--deep-blue);

    border: none;

    padding: 15px 30px;

    border-radius: 50px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

}



.newsletter-btn:hover {

    background: var(--white);

    transform: translateY(-3px);

}



/* WhatsApp Section */

.whatsapp-section {

    padding: 80px 0;

    background: var(--light-gray);

    text-align: center;

}



.whatsapp-container {

    max-width: 600px;

    margin: 0 auto;

    background: var(--white);

    padding: 40px;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

}



.whatsapp-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #25D366;

    color: white;

    padding: 15px 30px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    margin-top: 20px;

    transition: all 0.3s ease;

}



.whatsapp-btn:hover {

    background: #128C7E;

    transform: translateY(-3px);

}



/* Floating WhatsApp */

.floating-whatsapp {

    position: fixed;

    bottom: 20px;

    right: 20px;

    width: 60px;

    height: 60px;

    background: #25D366;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 28px;

    text-decoration: none;

    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);

    z-index: 1000;

    transition: all 0.3s ease;

    animation: pulse 2s infinite;

}



.floating-whatsapp:hover {

    background: #128C7E;

    transform: scale(1.1);

}



@keyframes pulse {

    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }

    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8); }

}



/* Social Feed */

.social-feed {

    padding: 100px 0;

    background: var(--white);

}



.social-tabs {

    display: flex;

    justify-content: center;

    margin-bottom: 40px;

    border-bottom: 1px solid #eee;

}



.social-tab {

    padding: 10px 20px;

    cursor: pointer;

    font-weight: 600;

    border-bottom: 3px solid transparent;

    transition: all 0.3s ease;

}



.social-tab.active {

    color: var(--gold);

    border-bottom-color: var(--gold);

}



.social-content {

    display: none;

}



.social-content.active {

    display: block;

}



/* CTA Section */

.cta {

    padding: 100px 0;

    background: linear-gradient(rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.9)), url('images/background-footer.jpg') no-repeat center center/cover;

    text-align: center;

    color: var(--white);

}



.cta h2 {

    color: var(--white);

    font-size: 2.5rem;

    margin-bottom: 20px;

}



.cta p {

    max-width: 600px;

    margin: 0 auto 30px;

    font-size: 1.2rem;

}



/* Footer */

footer {

    background: var(--deep-blue);

    color: var(--white);

    padding: 70px 0 20px;

}



.footer-content {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;

    margin-bottom: 50px;

}



.footer-logo {

    font-family: 'Playfair Display', serif;

    font-size: 28px;

    font-weight: 800;

    color: var(--gold);

    margin-bottom: 20px;

    display: inline-block;

}



.footer-about p {

    margin-bottom: 20px;

}



.social-icons {

    display: flex;

    gap: 10px;

}



.social-icons a {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    transition: all 0.3s ease;

}



.social-icons a:hover {

    background: var(--gold);

    color: var(--deep-blue);

    transform: translateY(-3px);

}



.footer-links h3, .footer-contact h3 {

    font-size: 1.2rem;

    margin-bottom: 20px;

    color: var(--gold);

}



.footer-links ul {

    list-style: none;

}



.footer-links li {

    margin-bottom: 10px;

}



.footer-links a {

    color: var(--white);

    text-decoration: none;

    transition: color 0.3s ease;

}



.footer-links a:hover {

    color: var(--gold);

}



.contact-info {

    margin-bottom: 15px;

    display: flex;

    align-items: flex-start;

    gap: 10px;

}



.contact-info i {

    color: var(--gold);

    margin-top: 5px;

}



.copyright {

    text-align: center;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.7);

}



/* Animations */

@keyframes fadeIn {

    from { opacity: 0; transform: translateY(20px); }

    to { opacity: 1; transform: translateY(0); }

}



.animate-on-scroll {

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.8s ease;

}



.is-visible {

    opacity: 1;

    transform: translateY(0);

}



/* Responsive Design */

@media (max-width: 992px) {

    .hero h1 { font-size: 3rem; }

    .about-content { flex-direction: column; }

    .about-text { padding-right: 0; margin-bottom: 40px; }

}



@media (max-width: 768px) {

    .mobile-menu-btn { display: block; }

    

    nav ul {

        position: fixed;

        top: 70px;

        left: -100%;

        background: var(--deep-blue);

        width: 100%;

        height: calc(100vh - 70px);

        flex-direction: column;

        align-items: center;

        justify-content: center;

        transition: all 0.3s ease;

    }

    

    nav ul.active { left: 0; }

    nav li { margin: 15px 0; }

    

    .hero h1 { font-size: 2.5rem; }

    .hero p { font-size: 1.2rem; }

    

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

    .gallery-item { height: 240px; }

    

    .filter-btn { padding: 8px 18px; font-size: 12px; }

    

    .team-names-overlay { gap: 10px; }

    .team-name { padding: 4px 8px; }

    .team-name.x-small { font-size: 10px; }

    .team-name.small { font-size: 11px; }

    .team-name.medium { font-size: 12px; }

    .team-name.large { font-size: 13px; }

    .team-name.x-large { font-size: 14px; }

    

    .newsletter-form { flex-direction: column; align-items: center; }

    .newsletter-input { min-width: 100%; }

    

    .floating-whatsapp { width: 50px; height: 50px; font-size: 24px; }

}



@media (max-width: 576px) {

    .hero h1 { font-size: 2rem; }

    .hero-buttons { display: flex; flex-direction: column; }

    .btn-outline { margin-left: 0; margin-top: 15px; }

    

    .gallery-filters { flex-direction: column; align-items: center; }

    .filter-btn { width: 200px; margin: 5px 0; }

    

    .gallery-grid { grid-template-columns: 1fr; }

    .gallery-item { height: 260px; }

    

    .social-tabs { flex-direction: column; align-items: center; }

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

    

    .team-names-overlay { gap: 8px; }

    .team-name { padding: 3px 6px; font-size: 10px !important; }

    

    .floating-whatsapp { width: 45px; height: 45px; font-size: 22px; }

}



/* Force ALL gallery caption titles to gold */

.gallery-caption h3 {

    color: #D4AF37 !important;

}



/* Team Names Grid Section - Homepage */

.team-names-home {

    padding: 60px 0 80px;

    background: var(--light-gray);

}



.team-names-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 15px;

    margin-top: 40px;

}



.team-name-card {

    background: white;

    border-radius: 10px;

    padding: 15px 10px;

    text-align: center;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

    border: 1px solid #e2e8f0;

}



.team-name-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    border-color: var(--gold);

}



.team-name-text {

    display: block;

    font-weight: 500;

    color: var(--deep-blue);

    transition: color 0.3s ease;

}



.team-name-card:hover .team-name-text {

    color: var(--gold);

}



/* Font sizes for team names */

.team-name-text.x-small { font-size: 11px; }

.team-name-text.small { font-size: 12px; }

.team-name-text.medium { font-size: 13px; }

.team-name-text.large { font-size: 14px; }

.team-name-text.x-large { font-size: 15px; }



/* Responsive */

@media (max-width: 768px) {

    .team-names-grid {

        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));

        gap: 12px;

    }

    

    .team-name-card {

        padding: 12px 8px;

    }

}



@media (max-width: 576px) {

    .team-names-grid {

        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));

        gap: 10px;

    }

    

    .team-name-card {

        padding: 10px 5px;

    }

    

    .team-name-text.x-small { font-size: 10px; }

    .team-name-text.small { font-size: 11px; }

    .team-name-text.medium { font-size: 12px; }

    .team-name-text.large { font-size: 13px; }

    .team-name-text.x-large { font-size: 14px; }

}

/* Team Members Grid */

.team-members-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 30px;

    margin-top: 40px;

}



.team-member-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

    text-align: center;

}



.team-member-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

}



.team-member-img {

    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #f0f0f0;

}



.team-member-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.team-member-card:hover .team-member-img img {

    transform: scale(1.08);

}



.team-member-info {

    padding: 20px;

}



.team-member-info h3 {

    font-size: 1.2rem;

    margin-bottom: 5px;

    color: #0A1931;

}



.team-member-role {

    color: #D4AF37;

    font-weight: 600;

    font-size: 0.85rem;

    margin-bottom: 10px;

}



.team-member-bio {

    font-size: 0.85rem;

    color: #666;

    line-height: 1.5;

    margin-bottom: 15px;

}



.team-member-social {

    display: flex;

    justify-content: center;

    gap: 12px;

}



.team-member-social a {

    width: 35px;

    height: 35px;

    background: #f0f0f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #0A1931;

    transition: all 0.3s ease;

}



.team-member-social a:hover {

    background: #D4AF37;

    color: white;

    transform: translateY(-3px);

}



/* Responsive */

@media (max-width: 768px) {

    .team-members-grid {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

        gap: 20px;

    }

    

    .team-member-img {

        height: 220px;

    }

}



@media (max-width: 576px) {

    .team-members-grid {

        grid-template-columns: 1fr;

    }

    

    .team-member-img {

        height: 250px;

    }

}



/* Team Showcase Section */

.team-background {

    position: relative;

    min-height: 400px;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    margin: 40px 0;

    border-radius: 12px;

    overflow: hidden;

    background-image: url('images/team-bg.jpg');

}



.team-background::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(10, 25, 49, 0.85), rgba(30, 58, 138, 0.85));

    z-index: 1;

}



.team-names-overlay {

    position: relative;

    z-index: 2;

    padding: 40px 20px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    gap: 20px;

    min-height: 400px;

}



.team-name {

    color: white;

    font-weight: 600;

    opacity: 0.9;

    transition: all 0.3s ease;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);

    padding: 5px 10px;

}



.team-name:hover {

    opacity: 1;

    transform: scale(1.1);

    color: #D4AF37;

}



.team-name.x-small { font-size: 12px; }

.team-name.small { font-size: 14px; }

.team-name.medium { font-size: 16px; }

.team-name.large { font-size: 18px; }

.team-name.x-large { font-size: 20px; }



.team-description {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 30px;

    font-size: 18px;

    line-height: 1.6;

    color: #333;

}



.team-description p {

    margin-bottom: 20px;

}



/* Team Members Grid */

.team-members-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 30px;

    margin-top: 40px;

}



.team-member-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

    text-align: center;

}



.team-member-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

}



.team-member-img {

    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #f0f0f0;

}



.team-member-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.team-member-card:hover .team-member-img img {

    transform: scale(1.08);

}



.team-member-info {

    padding: 20px;

}



.team-member-info h3 {

    font-size: 1.2rem;

    margin-bottom: 5px;

    color: #0A1931;

}



.team-member-role {

    color: #D4AF37;

    font-weight: 600;

    font-size: 0.85rem;

    margin-bottom: 10px;

}



.team-member-bio {

    font-size: 0.85rem;

    color: #666;

    line-height: 1.5;

    margin-bottom: 15px;

}



.team-member-social {

    display: flex;

    justify-content: center;

    gap: 12px;

}



.team-member-social a {

    width: 35px;

    height: 35px;

    background: #f0f0f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #0A1931;

    transition: all 0.3s ease;

}



.team-member-social a:hover {

    background: #D4AF37;

    color: white;

    transform: translateY(-3px);

}



/* Responsive */

@media (max-width: 768px) {

    .team-background {

        min-height: 300px;

    }

    .team-names-overlay {

        gap: 12px;

        padding: 30px 15px;

        min-height: 300px;

    }

    .team-name.x-small { font-size: 10px; }

    .team-name.small { font-size: 11px; }

    .team-name.medium { font-size: 12px; }

    .team-name.large { font-size: 13px; }

    .team-name.x-large { font-size: 14px; }

    .team-members-grid {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

        gap: 20px;

    }

    .team-member-img {

        height: 220px;

    }

}



@media (max-width: 576px) {

    .team-names-overlay {

        gap: 8px;

    }

    .team-name {

        padding: 3px 6px;

        font-size: 9px !important;

    }

    .team-members-grid {

        grid-template-columns: 1fr;

    }

    .team-member-img {

        height: 250px;

    }

}



/* Fix for overflow issues */

html, body {

    overflow-x: hidden;

    width: 100%;

    position: relative;

}



.container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;

}



/* Make all images responsive */

img {

    max-width: 100%;

    height: auto;

}



/* Fix gallery grid overflow */

.gallery-grid,

.features-grid,

.blog-grid,

.team-members-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

    width: 100%;

    overflow: hidden;

}



/* Responsive adjustments */

@media (max-width: 768px) {

    .container {

        padding: 0 15px;

    }

    

    .hero h1 {

        font-size: 2rem;

        word-wrap: break-word;

    }

    

    .gallery-item,

    .feature-card,

    .blog-card,

    .team-member-card {

        width: 100%;

        overflow: hidden;

    }

}



@media (max-width: 480px) {

    .container {

        padding: 0 12px;

    }

    

    .hero-buttons {

        display: flex;

        flex-direction: column;

        gap: 10px;

    }

    

    .btn-outline {

        margin-left: 0;

    }

}