
/* CSS Reset and Variables */

 :root {
    --primary-bg: #0a1a2f;
    --secondary-bg: #000;
    --accent-gold: #cfa349;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Container */

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


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-gold);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}


/* Hero Section */

.hero-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 24px 48px -16px rgba(255, 255, 255, 0.7);
    /* white shadow at bottom */
    background: #fff;
    /* optional: keeps edges clean */
    margin: 0 auto 30px;
    display: block;
}

.hero {
    min-height: 130vh;
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(10, 26, 47, 0.8)), url('https://images.pexels.com/photos/5668772/pexels-photo-5668772.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--secondary-bg);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--secondary-bg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Section Styles */

section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* About Section */

.about {
    background: var(--primary-bg);
}

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

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

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.about-image {
    position: relative;
}

.headshot {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.image-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    border-radius: 10px;
    z-index: -1;
    transition: transform 0.3s ease;
}

.about-image:hover .image-decoration {
    transform: translate(8px, 8px);
}


/* Add a second decorative element */

.about-image::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100%;
    height: 100%;
    background: rgba(207, 163, 73, 0.1);
    border-radius: 10px;
    z-index: -2;
    transition: transform 0.3s ease;
}

.about-image:hover::before {
    transform: translate(-8px, -8px);
}


/* Articles Section */

.articles {
    background: var(--secondary-bg);
}

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

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

.article-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-gold);
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--secondary-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-bg);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--accent-gold);
}

.card-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--text-light);
}


/* Resume Section */

.resume {
    background: var(--primary-bg);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.resume-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.btn-download {
    background: var(--accent-gold);
    color: var(--secondary-bg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-download:hover {
    background: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.download-icon {
    font-size: 1.2rem;
}

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

.resume-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.resume-section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.resume-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.resume-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resume-item p {
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.year {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill {
    background: var(--primary-bg);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.resume-details {
    list-style: none;
    margin-top: 0.5rem;
}

.resume-details li {
    color: var(--text-gray);
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.resume-details li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}


/* Achievements Section */

.achievements {
    background: var(--secondary-bg);
}

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

.achievement-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.achievement-item p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.achievement-year {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.9rem;
}


/* Testimonials Section */

.testimonials {
    background: var(--primary-bg);
}

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

.testimonial-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.testimonial-quote p {
    margin-top: 30px;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--accent-gold);
    font-size: 0.9rem;
}


/* Contact Section */

.contact {
    background: var(--secondary-bg);
    padding-top: 100px;
    padding-bottom: 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.contact-details h3 {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-details a,
.contact-details span {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-gray);
}


/* Animations */

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 800px;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        padding-bottom: 60px;
    }
    .hero-img {
        width: 200px;
        height: 200px;
        margin: 50px auto 25px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .resume-grid,
    .achievements-grid,
    .articles-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 70px;
        padding-bottom: 60px;
    }
    .hero-img {
        width: 180px;
        height: 180px;
        margin: 60px auto 25px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-stats {
        justify-content: center;
    }
    .resume-header {
        flex-direction: column;
        text-align: center;
    }
    .resume-header .section-title {
        text-align: center;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
    .social-links {
        flex-wrap: wrap;
    }
    .section-title {
        font-size: 2rem;
    }
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
        padding: 0 8px;
    }
    .hero-img {
        width: 150px;
        height: 150px;
        margin: 80px auto 20px;
    }
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 70px;
        padding-bottom: 40px;
    }
    .hero-content {
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .about-content,
    .resume-grid,
    .achievements-grid,
    .articles-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .about-image {
        max-width: 220px;
        margin: 0 auto;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .back-to-top {
        right: 10px;
        bottom: 10px;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .nav-menu {
        font-size: 1.1rem;
    }
    .btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}


/* Legal Aid Modal Styles */

.legal-aid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
}

.legal-aid-modal-content {
    position: relative;
    background-color: #f8f9fa;
    margin: 30px auto;
    padding: 35px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-aid-modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.legal-aid-modal .close:hover {
    color: #000;
}


/* Fundamental Rights Modal Styles */

.fundamental-rights-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
}

.fundamental-rights-modal-content {
    position: relative;
    background-color: #f8f9fa;
    margin: 30px auto;
    padding: 35px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fundamental-rights-modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.fundamental-rights-modal .close:hover {
    color: #000;
}

.fundamental-rights-modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.fundamental-rights-modal h3 {
    color: #333;
    font-size: 20px;
    margin: 25px 0 15px;
}

.fundamental-rights-modal-content .abstract {
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
    margin: 20px 0;
}

.fundamental-rights-modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.fundamental-rights-modal-content ul {
    list-style-type: disc;
    margin: 0 0 20px 20px;
}

.fundamental-rights-modal-content li {
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.download-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f2f5;
    border-radius: 6px;
}

.download-note {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}

.fundamental-rights-pdf-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.fundamental-rights-pdf-download:hover {
    background-color: #b88f3d;
}

.legal-aid-modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.legal-aid-modal h3 {
    color: #333;
    font-size: 20px;
    margin: 25px 0 15px;
}

.legal-aid-modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.legal-aid-modal-content ul {
    list-style-type: disc;
    margin: 0 0 20px 20px;
}

.legal-aid-modal-content li {
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-aid-pdf-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.legal-aid-pdf-download:hover {
    background-color: #b88f3d;
}


/* Environmental Law Modal Styles */

.environmental-law-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.environmental-law-modal-content {
    position: relative;
    background-color: #f8f9fa;
    margin: 30px auto;
    padding: 35px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.environmental-law-modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.environmental-law-modal .close:hover {
    color: #000;
}

.environmental-law-modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.environmental-law-modal h3 {
    color: #333;
    font-size: 20px;
    margin: 25px 0 15px;
}

.environmental-law-modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.environmental-law-modal-content ul {
    list-style-type: disc;
    margin: 0 0 20px 20px;
}

.environmental-law-modal-content li {
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.environmental-law-modal .summary {
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
    margin: 20px 0;
}

.environmental-law-modal .download-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f2f5;
    border-radius: 6px;
    text-align: center;
}

.environmental-law-modal .download-note {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}

.environmental-law-pdf-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.environmental-law-pdf-download:hover {
    background-color: #b88f3d;
}


/* Modal Responsive Styles */

@media (max-width: 768px) {
    .environmental-law-modal {
        padding-top: 60px;
    }
    .environmental-law-modal-content {
        padding: 25px;
    }
    .environmental-law-modal h2 {
        font-size: 20px;
    }
    .environmental-law-modal h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }
}

@media (max-width: 480px) {
    .environmental-law-modal {
        padding-top: 50px;
    }
    .environmental-law-modal-content {
        padding: 20px;
    }
    .environmental-law-modal-content p,
    .environmental-law-modal-content li {
        font-size: 14px;
        line-height: 1.5;
    }
    .environmental-law-modal .download-section {
        padding: 15px;
    }
    .environmental-law-modal .download-note {
        font-size: 13px;
    }
    .environmental-law-pdf-download {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.9rem;
    }
}


/* Modal Responsive Styles */

@media (max-width: 768px) {
    .supreme-court-modal {
        padding-top: 60px;
    }
    .supreme-court-modal-content {
        margin: 15px auto;
        padding: 25px;
        width: 90%;
    }
    .supreme-court-modal h2 {
        font-size: 20px;
    }
    .supreme-court-modal h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }
}

@media (max-width: 480px) {
    .supreme-court-modal {
        padding-top: 50px;
    }
    .supreme-court-modal-content {
        margin: 10px auto;
        padding: 20px;
        width: 95%;
    }
    .hero-title {
        font-size: 2rem;
    }
    .articles-grid,
    .achievements-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    .about-image {
        max-width: 150px;
    }
    .resume-header .section-title {
        font-size: 1.1rem;
    }
    .testimonial-item,
    .achievement-item,
    .resume-section {
        padding: 1rem;
    }
    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.9rem;
    }
    .social-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .contact-info {
        gap: 1rem;
    }
    .about-description,
    .card-description,
    .contact-subtitle {
        font-size: 0.95rem;
    }
}


/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--secondary-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--text-light);
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(207, 163, 73, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}


/* Print Styles */

@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .back-to-top {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    .hero {
        height: auto;
        background: none;
    }
}


/* Supreme Court Modal Styles */

.supreme-court-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding-top: 70px;
    /* Add padding to account for the navbar */
    overflow-y: auto;
}

.supreme-court-modal-content {
    position: relative;
    background-color: #f8f9fa;
    margin: 30px auto;
    padding: 35px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.supreme-court-modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.supreme-court-modal .close:hover {
    color: #000;
}

.supreme-court-modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.supreme-court-modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.supreme-court-modal .modal-text p {
    color: #444;
}

.supreme-court-modal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.supreme-court-modal-content li {
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.supreme-court-modal h3 {
    color: #333;
    font-size: 20px;
    margin: 25px 0 15px;
}

.supreme-court-pdf-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.supreme-court-pdf-download:hover {
    background-color: #b88f3d;
}
