/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0c1445;
    /* Darker Navy */
    --secondary-color: #c5a059;
    /* More vibrant Gold */
    --accent-color: #f8f9fa;
    --text-color: #2b2d42;
    --light-text: #6c757d;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --accent-font: 'Cormorant Garamond', serif;
    --script-font: 'Great Vibes', cursive;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #f7e1ad);
    margin: 0 auto;
    border-radius: 2px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--script-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-top: -5px;
    text-transform: none;
}

header.scrolled .logo img {
    height: 45px;
}

header.scrolled .logo-text {
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 18px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 0;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.dropdown-content a::after {
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Social Header */
.social-header {
    display: flex;
    gap: 20px;
}

.social-icon {
    font-size: 1.3rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-color);
}

.instagram {
    color: #E1306C;
}

.whatsapp {
    color: #25D366;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInScale 1.2s ease;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    flex: 1.2;
    z-index: 1;
    animation: slideInRight 1s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--secondary-color);
    display: block;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 45px;
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--light-text);
}

.lawyer-name {
    font-family: var(--accent-font);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 300;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--secondary-color), #a08246);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

/* About Us Section Centering */
.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.admin-login {
    color: var(--primary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
}

.service-info {
    padding: 40px;
    flex-grow: 1;
}

.service-info h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-info p {
    margin-bottom: 25px;
    color: var(--light-text);
}

.service-info ul {
    list-style: none;
}

.service-info li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-color);
}

.service-info li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-info .info-item i {
    font-size: 1.5rem;
    color: #fff;
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 25px;
}

.contact-info .info-item h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info .info-item p {
    color: var(--light-text);
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    background: #fdfdfd;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.btn-submit {
    grid-column: span 2;
    padding: 18px;
    border-radius: 10px;
}

/* Map Section */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.address-details {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
}

.address-details i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.logo-text-footer {
    font-family: var(--script-font);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: none;
}

.footer-copyright {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.15) rotate(10deg);
}

/* Mobile Responsive */
#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    #mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        padding: 15px;
        display: block;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: var(--accent-color);
        transform: none;
        opacity: 1;
        animation: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .social-header {
        display: none;
    }

    .hero-split {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .contact-form form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
    }
}