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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    display: flex;
    height: 70vh;
    background-color: #f8f9fa;
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-image {
    flex: 0 0 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-image img {
    border-radius: 100%;
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.hero-content {
    flex: 0 0 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    text-align: center;
    background-color: white;
}

.about h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Expertise Slider */
.expertise {
    padding: 0;
    background-color: #f8f9fa;
    margin-top: calc(40px + 98px); /* top-bar + navbar height */
}

.expertise h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2rem;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* Add fade effect overlays */
.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(44, 62, 80, 1) 0%, 
        rgba(44, 62, 80, 0.9) 20%,
        rgba(248, 249, 250, 0) 100%
    );
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(44, 62, 80, 1) 0%, 
        rgba(44, 62, 80, 0.9) 20%,
        rgba(248, 249, 250, 0) 100%
    );
}

/* Update navigation buttons to appear over the fade effect */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 1.5rem;
    border: none;
    cursor: pointer;
    z-index: 3;
    font-size: 1.5rem;
}

.prev { left: 0; }
.next { right: 0; }

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    animation: slowZoom 12s infinite alternate; /* Reduced from 20s to 12s */
}

/* Add keyframes for zoom animation */
@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15); /* Slightly increased zoom level */
    }
}

/* Remove hover effects since we're using continuous animation */
.slide:hover img {
    transform: none;
}

/* Keep the overlay transition */
.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    opacity: 0.7;
}

.slide h3 {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
    transition: transform 0.5s ease;
    pointer-events: none;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 4rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
    flex: 1;
}

.info-item i {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 40px; /* Match top-bar height */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 98px; /* Fixed height for navbar */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #34495e;
}

/* Top Contact Bar */
.top-bar {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    height: 40px; /* Fixed height for top-bar */
    display: flex;
    align-items: center;
}

.contact-details {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: #2c3e50;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2rem;
}

.services-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-category {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #2c3e50;
    opacity: 0.8;
}

.service-category h3 {
    color: #2c3e50;
    margin-bottom: 1.8rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.service-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #2c3e50, rgba(44, 62, 80, 0.3));
}

.service-category ul {
    list-style: none;
    padding-left: 0.5rem;
}

.service-category li {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    color: #444;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.service-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2c3e50;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.service-category li:hover {
    color: #2c3e50;
}

.service-category li:hover::before {
    transform: translateX(5px);
}

/* Footer Section */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 2rem 1rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: white;
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #bdc3c7;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Lawyer Profile Section */
.lawyer-profile {
    padding: 5rem 2rem;
    background-color: white;
}

.profile-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.profile-content h3 {
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.profile-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.profile-credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
}

.credential i {
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        margin-top: calc(35px + 75px);
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .hero-image {
        flex: 0 0 auto;
        height: 300px;
        padding: 1rem;
    }

    .hero-image img {
        width: 280px;
        height: 280px;
    }

    .hero-content {
        padding: 2rem;
    }

    .contact-info {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .navbar {
        top: 35px;
        height: 75px;
        padding: 0.8rem 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: white;
        flex-direction: column;
        padding: 80px 2rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .logo-image {
        height: 45px;
    }

    .top-bar {
        height: 35px;
        padding: 0.5rem 8px;
    }

    .contact-details {
        padding-right: 8px;
        font-size: 0.8rem;
    }

    .expertise {
        margin-top: calc(35px + 75px);
    }

    .slide img {
        height: 40vh;
    }

    .slide h3 {
        font-size: 1.6rem;
        bottom: 2rem;
    }

    .services-container {
        flex-direction: column;
        gap: 2rem;
    }

    .service-category {
        padding: 1.5rem;
    }

    .service-category h3 {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        padding: 3rem 1rem 1rem 1rem;
    }

    .profile-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .profile-image {
        flex: 0 0 200px;
    }

    .profile-image img {
        width: 200px;
        height: 200px;
    }

    .profile-content h2 {
        font-size: 1.8rem;
    }

    .profile-content h3 {
        font-size: 1.1rem;
    }

    .profile-credentials {
        align-items: center;
    }

    .prev, .next {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .slider-container::before,
    .slider-container::after {
        width: 40px;
    }

    .map-container {
        height: 350px;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        height: auto;
        margin-top: calc(40px + 88px);
        padding: 2rem 0;
    }

    .hero-image {
        height: 400px;
    }

    .hero-image img {
        width: 350px;
        height: 350px;
    }

    .expertise {
        margin-top: calc(40px + 88px);
    }

    .slide img {
        height: 55vh;
    }

    .slide h3 {
        font-size: 2rem;
    }
} 