/* ==========================================================================
   Godoi, Santos & Conti Advogados - Corporate Website Styles
   ========================================================================== */

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis da paleta de cores */
:root {
    --primary-navy: #0E1426;
    --primary-gold: #F2D57E;
    --primary-brown: #A67841;
    --light-gray: #F2F2F2;
    --dark-gray: #0D0D0D;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
    --linkedin-blue: #0077B5;
    
    /* Gradientes */
    --gold-gradient: linear-gradient(135deg, #F2D57E 0%, #A67841 100%);
    --navy-gradient: linear-gradient(135deg, #0E1426 0%, #1a2547 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(14, 20, 38, 0.08);
    --shadow-md: 0 4px 12px rgba(14, 20, 38, 0.1);
    --shadow-lg: 0 8px 32px rgba(14, 20, 38, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Tipografia */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    font-size: 16px;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-navy);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre as duas imagens */
}

/* Ajusta estas alturas para o teu design: */
.logo-img {
    height: 50px; 
    width: auto;
}

.logo-complemento-img {
    height: 40px; 
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-brown);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: var(--transition-fast);
}

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

.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #e8e8e8 100%);
    padding: 8rem 2rem 6rem;
    margin-top: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23F2D57E" fill-opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0.9;
}

/* Hero Video Styles */
/* Ajustes para o tamanho do vídeo na Hero Section */
.hero-video {
    flex: 0 0 45%; /* Reduz a largura do vídeo de ~50% para 45% */
    max-width: 500px; /* Define um tamanho máximo */
}

.video-container {
    width: 100%;
    max-width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Mantém proporção 16:9 */
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo preencha o espaço sem distorcer */
}

/* Ajusta o texto para ocupar mais espaço */
.hero-text {
    flex: 1;
    padding-left: 3rem;
}

/* Responsividade - mantém o comportamento em telas menores */
@media (max-width: 968px) {
    .hero-video {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-text {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 75%; /* Ajusta proporção em mobile */
    }
}
/* Hero Text Adjustments */
.hero-text {
    padding-left: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-linkedin {
    background: var(--linkedin-blue);
    color: var(--white);
}

.btn-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-brown);
    margin-top: 0.5rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* ==========================================================================
   PRACTICE AREAS SECTION
   ========================================================================== */

.practice-areas {
    background: var(--light-gray);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(242, 213, 126, 0.2);
    transition: var(--transition-normal);
    text-align: center;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.area-icon i {
    font-size: 2rem;
    color: var(--white);
}

.area-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.area-card > p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    opacity: 0.9;
}

.area-services {
    list-style: none;
    text-align: left;
}

.area-services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.area-services li::before {
    content: '•';
    color: var(--primary-brown);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.area-services li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team {
    background: var(--white);
}

.team-category {
    margin-bottom: 4rem;
}

.team-category-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-navy);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.team-member {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(242, 213, 126, 0.2);
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.member-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 8px 24px rgba(14, 20, 38, 0.15);
    transition: var(--transition-normal);
}

.associates-grid .member-avatar {
    width: 180px;
    height: 180px;
    border: 3px solid var(--primary-brown);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    border-radius: 50%;
}

.team-member:hover .member-avatar {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(14, 20, 38, 0.2);
}

.team-member:hover .avatar-img {
    transform: scale(1.1);
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.member-title {
    color: var(--primary-brown);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-specialties {
    font-size: 0.9rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

.linkedin-link {
    background: var(--linkedin-blue);
}

.linkedin-link:hover {
    transform: translateY(-2px);
    background: #005885;
}

.instagram-link {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.instagram-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #e6883a 0%,#d55c39 25%,#c91f3e 50%,#b91d5c 75%,#a9147a 100%);
}

/* ==========================================================================
   ARTICLES SECTION
   ========================================================================== */

v
/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.whatsapp-method {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-method:hover {
    background: rgba(37, 211, 102, 0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-method .method-icon {
    background: var(--whatsapp-green);
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.method-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.method-info a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition-normal);
}

.method-info a:hover {
    color: var(--primary-brown);
}

.whatsapp-method .method-info a:hover {
    color: var(--whatsapp-green);
}

.offices-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-navy);
}

.offices-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(242, 213, 126, 0.2);
    transition: var(--transition-normal);
}

.office-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.office-header i {
    font-size: 1.5rem;
    color: var(--primary-brown);
}

.office-header h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
}

.office-address p {
    margin-bottom: 0.3rem;
    color: var(--dark-gray);
    line-height: 1.4;
}

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

.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-link {
    width: 45px;
    height: 45px;
    background: rgba(242, 213, 126, 0.2);
    border-radius: 50%;
}

.footer .linkedin-link:hover {
    background: var(--linkedin-blue);
    color: var(--white);
}

.footer .instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(242, 213, 126, 0.3);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Newsletter Styles */
.newsletter-section {
    margin-bottom: 1.5rem;
}

.newsletter-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(242, 213, 126, 0.3);
}

.newsletter-input-group:hover,
.newsletter-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.2rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    padding: 1rem 1.2rem;
    background: var(--primary-gold);
    border: none;
    color: var(--primary-navy);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
}

.newsletter-btn:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: translateX(-2px);
}

.newsletter-btn i {
    font-size: 1rem;
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.newsletter-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.newsletter-consent label {
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-consent label:hover {
    opacity: 1;
}

.newsletter-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.newsletter-message.success {
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #25d366;
}

.newsletter-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

/* Newsletter text */
.newsletter-text {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer contact and apps */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.contact-item-footer:hover {
    opacity: 1;
}

.contact-item-footer i {
    width: 16px;
    text-align: center;
    color: var(--primary-gold);
}

.contact-item-footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-item-footer a:hover {
    color: var(--primary-gold);
}

.footer-apps {
    margin-top: 1.5rem;
}

.apps-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.apps-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.app-link:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.app-link.whatsapp-app:hover {
    color: #25d366;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsividade do footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 8px 8px;
    }
    
    .newsletter-input {
        border-radius: 8px 8px 0 0;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 2rem 4rem;
        text-align: center;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .video-container {
        border-radius: 16px;
    }
    
    .video-caption {
        padding: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .associates-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .member-avatar {
        width: 150px;
        height: 150px;
    }
    
    .associates-grid .member-avatar {
        width: 130px;
        height: 130px;
    }
    
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    .hero-layout {
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .video-info {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .video-caption {
        padding: 1rem;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 100px;
}