.about-icon.icon-animate {
    animation: iconPop 0.7s cubic-bezier(.23,1.01,.32,1) both;
}
@keyframes iconPop {
    0% { opacity: 0; transform: scale(0.6) rotate(-20deg); }
    70% { opacity: 1; transform: scale(1.15) rotate(8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.logo-bounce {
    animation: logoBounce 0.7s cubic-bezier(.23,1.01,.32,1) both;
}
@keyframes logoBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.18) rotate(-6deg); }
    60% { transform: scale(0.95) rotate(4deg); }
    100% { transform: scale(1) rotate(0); }
}

/* Modern About Us Styles for Legal Heart Pvt Ltd */
:root {
    --primary-color: #0B1C3F;
    --accent-color: #D1A15F;
    --background-color: #FFFFFF;
    --light-gray: #F4F4F4;
    --text-color: #2E2E2E;
    --glass-bg: rgba(255,255,255,0.75);
    --glass-blur: blur(16px);
    --shadow: 0 8px 32px rgba(11,28,63,0.10);
}

body {
    background: var(--light-gray);
}

.about-hero-modern {
    position: relative;
    background: linear-gradient(120deg, var(--primary-color) 60%, var(--accent-color) 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-hero-bg-modern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}
.floating-icon {
    position: absolute;
    font-size: 2.2rem;
    color: var(--accent-color);
    opacity: 0.18;
    animation: floatIcon 7s ease-in-out infinite alternate;
}
.floating-icon:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 10%; right: 18%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 18%; left: 18%; animation-delay: 1s; }
.floating-icon:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 3s; }
@keyframes floatIcon {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-18px) scale(1.08); }
}
.about-hero-content-modern {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about-logo-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(209,161,95,0.13);
    margin-bottom: 16px;
    background: #fff;
    object-fit: contain;
    transition: transform 0.2s;
}
.about-logo-modern:hover {
    transform: scale(1.08) rotate(-6deg);
}
.about-hero-content-modern h1 {
    color: var(--background-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.about-tagline-modern {
    color: var(--background-color);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.92;
}

.about-section-modern {
    padding: 60px 0 40px 0;
    background: var(--light-gray);
}
.about-content-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.2rem;
}
.about-card-modern {
    background: var(--glass-bg);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 2.7rem 2.2rem 2.2rem 2.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1.5px solid rgba(209,161,95,0.13);
    animation: fadeInUp 1.2s cubic-bezier(.23,1.01,.32,1) both;
}
.about-icons-modern {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.about-icon-modern {
    background: var(--accent-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(209,161,95,0.13);
    transition: transform 0.2s;
}
.about-icon-modern:hover {
    transform: scale(1.13) rotate(-8deg);
}
.about-card-modern h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
    text-align: center;
}
.about-card-modern p {
    color: var(--text-color);
    font-size: 1.08rem;
    margin-bottom: 1.1rem;
    line-height: 1.7;
}
.about-founders-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.founder-modern {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.08rem;
    box-shadow: 0 1px 6px rgba(11,28,63,0.07);
    transition: background 0.2s, color 0.2s;
}
.founder-modern i {
    color: var(--accent-color);
    font-size: 1.2em;
}
.founder-modern:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}
.about-values-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    justify-content: center;
    margin: 1.2rem 0 1.2rem 0;
}
.value-modern {
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 8px;
    padding: 0.7rem 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.08rem;
    box-shadow: 0 1px 6px rgba(11,28,63,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.value-modern i {
    color: var(--accent-color);
    font-size: 1.2em;
}
.value-modern:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.04);
}
.about-quote-modern {
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 14px;
    padding: 1.3rem 1.7rem;
    font-size: 1.18rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin: 2.2rem 0 0 0;
    box-shadow: 0 2px 12px rgba(209,161,95,0.10);
    position: relative;
    animation: popIn 1.2s cubic-bezier(.23,1.01,.32,1) both;
}
.about-quote-modern i {
    color: var(--primary-color);
    font-size: 1.2em;
    margin: 0 0.3em;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-content-modern { max-width: 98vw; }
    .about-card-modern { padding: 1.5rem 0.7rem; }
}
@media (max-width: 700px) {
    .about-hero-content-modern h1 { font-size: 1.4rem; }
    .about-logo-modern { width: 38px; height: 38px; }
    .about-icons-modern { gap: 0.7rem; }
    .about-icon-modern { width: 32px; height: 32px; font-size: 1rem; }
    .about-values-modern { gap: 0.5rem; }
    .value-modern { font-size: 0.98rem; padding: 0.5rem 0.8rem; }
    .about-quote-modern { font-size: 1rem; padding: 1rem 0.7rem; }
}
@media (max-width: 500px) {
    .about-hero-modern { min-height: 160px; }
    .about-logo-modern { width: 28px; height: 28px; }
    .about-card-modern { padding: 0.7rem 0.2rem; }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 63, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--background-color);
    padding: 0 20px;
}

.hero-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

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

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(11, 28, 63, 0.1);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(11, 28, 63, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-bio {
    color: var(--text-color);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(11, 28, 63, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(11, 28, 63, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
}

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

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2c4f 100%);
    color: var(--background-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #B88B4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(209, 161, 95, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

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

    .hero-overlay p {
        font-size: 1rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .story-text h2,
    .team-section h2,
    .values-section h2 {
        font-size: 2rem;
    }
}

/* Header Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-color);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(11, 28, 63, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--accent-color);
}

.dropdown-menu a.active {
    color: var(--accent-color);
    background: var(--light-gray);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

/* About Hero Section */
.about-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.about-hero .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.about-hero .hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content {
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.story-content h2 {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
}

.story-features {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-item span {
    color: var(--dark-gray);
    font-weight: 600;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-header p {
    color: var(--text-color);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.team-info .position {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 15px;
}

.team-info .bio {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

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

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.value-card:hover .value-icon i {
    color: var(--white);
}

.value-card h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

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

    .story-content h2 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .team-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .value-card {
        padding: 30px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .value-icon i {
        font-size: 24px;
    }
} 