/*!
Theme Name: SSRGA Fertility Law Group
Theme URI: https://ssrga.com/fertility
Author: SSRGA
Author URI: https://ssrga.com
Description: A custom theme for SSRGA Fertility Law Group microsite
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ssrga-fertility
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* Import navbar styles */
@import url('assets/css/navbar.css');

/* Theme specific styles */
:root {
    --primary-color: #e2692b;
    --secondary-color: #002041;
    --accent-color: #efa245;
    --text-color: #444444;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}


/* Reset and Base Styles */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 81px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
}



h1, h3, h4, h6 {
    font-family: 'Playfair Display', serif;
}

h2 {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}
h5{
    font: bold 18px Montserrat, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #929497;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}
a:hover{
    color: var(--secondary-color);
    text-decoration: none !important;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Remove all .main-navigation, .main-navigation a, .main-navigation li, .main-navigation ul, .site-header, .site-branding, .custom-logo*, .menu-toggle, .menu-close, .back-to-ssrga, and their media queries from this file. Only keep non-navbar styles. */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--secondary-color);
    margin-top: -82px; /* Offset the header height */
    padding: 82px 0 0; /* Add padding top to account for header */
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1.5rem;
    margin: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.hero-description {
    color: var(--white);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0;
    opacity: 0.9;
    text-align: center;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
    min-width: 200px;
    max-width: 100%;
    white-space: nowrap;
}

.btn-learn-more i {
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-learn-more:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive styles for buttons */
@media (max-width: 768px) {
    .btn-learn-more {
        padding: 10px 20px;
        min-width: 160px;
        font-size: 0.9rem;
        margin-top: 0.5rem;
        width: auto;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .btn-learn-more {
        min-width: 140px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Responsive styles for hero section */
@media (max-width: 768px) {
    .hero-section {
        margin-top: -72px;
        padding: 72px 20px 0;
    }

    .hero-content {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }
}

/* Add padding to sections after hero */
.hero-section + section,
.hero-section + div,
.hero-section + article {
    padding-top: 2rem;
}

/* Ensure other main content sections maintain spacing */
.site-main > section:not(.hero-section),
.site-main > div:not(.hero-section),
.site-main > article:not(.hero-section) {
    padding: 2rem 0;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Alignments */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
/* Back to SSRGA Button */
.back-to-ssrga {
    display: inline-block;
    background: #EA9036;
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-to-ssrga:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 768px) {
    .back-to-ssrga {
        position: static;
        display: block;
        text-align: center;
        margin: 10px auto;
    }
}

@media (max-width: 457px) {
    .back-to-ssrga {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 430px) {
    .back-to-ssrga {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 0.65rem !important;
        padding: 8px 10px;
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1526px) {
    .back-to-ssrga {
        position: static;
        margin-left: 20px;
        margin-right: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* News Section */
.news-section {
    padding: 60px 0;
    background: var(--white);
}

.news-section .section-title {
    color: var(--secondary-color);
}

.news-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.news-card:hover .news-title a {
    color: var(--primary-color);
}

.news-date {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* Practice Leaders Section */
.practice-leaders {
    padding: 60px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.section-title {
    color: var(--white);
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.leader-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.leader-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.leader-info {
    padding: 20px;
}

.leader-name {
    color: var(--primary-color);
    margin: 0 0 10px;
}

.leader-position {
    color: var(--accent-color);
    font-weight: 500;
}

/* News Section */
.news-section {
    padding: 60px 0;
    background: var(--white);
}

.news-section .section-title {
    color: var(--secondary-color);
}

.news-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.news-card:hover .news-title a {
    color: var(--primary-color);
}

.news-date {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* Practice Leaders / Superstar Section */
.superstar {
    background: #002041;
    padding: 60px 0;
    position: relative;
}

.superstar .description-superstars {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;  
    text-align: center;
    margin-bottom: 40px;
}

.superstar .list {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

.superstar .bxslider {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.superstar .item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    text-align: center;
    transition: all 0.3s ease;
}

.superstar .item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 20px;
    transition: all 0.3s ease;
}

.superstar .item:hover a {
    transform: translateY(-5px);
}

.superstar .item .img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
   
    transition: all 0.3s ease;
    position: relative;
}

.superstar .item:hover .img {
    filter: grayscale(0%);
    box-shadow: -6px -6px 0 #e2692b;
}

.superstar .item h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #fff;
}

.superstar .item .position {
    font-family: Montserrat, sans-serif;
    font-size: 0.9rem;
    color: #e2692b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .superstar .item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 575px) {
    .superstar .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .superstar .description-superstars {
        font-size: 2rem;
    }
}

/* Superstar Items Fade Transitions */
.superstar .item {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.superstar .item.fade-in {
    opacity: 1;
    visibility: visible;
}

.superstar .item.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Show only first 3 items by default */
.superstar .item {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.superstar .item:nth-child(-n+3) {
    opacity: 1;
    visibility: visible;
    display: block;
}

#video-embed iframe {
    width: 100%;
   
}

@media (max-width: 575px) {
    .news-section .button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
}

@media (min-width: 1145px) and (max-width: 1526px) {
    .main-navigation {
        flex: 1 1 auto;
        display: flex;
        justify-content: end !important;
        margin: 0;
    }
}

@media (min-width: 769px) and (max-width: 1526px) {
    .site-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .main-navigation {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        margin: 0;
    }
}

/* Practice Areas Page Header Overlay */
.page-header-overlay {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-header-overlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 162, 69, 0.82); /* Accent color overlay */
    mix-blend-mode: multiply;
    z-index: 1;
}
.page-header-overlay .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}
.overlay-txt-ie {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    opacity: 0.95;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    mix-blend-mode: normal;
}
@media (max-width: 700px) {
    .overlay-txt-ie {
        font-size: 2.2rem;
        padding: 0;
        margin-top: 100px;
    }
    .page-header-overlay .container {
        min-height: 180px;
    }
    .page-header-overlay {
        min-height: 180px;
    }
}

/* Practice Areas Intro Section */
.practice-intro {
    background: #fff;
    padding: 40px 0 0 0;
    margin-bottom: 30px;    
}
.practice-intro-box {
    border-left: 2px solid #e2692b;
    padding: 20px 0 20px 32px;
   /* margin: 0 auto 40px auto;*/
    max-width: 900px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #222;
    background: #fff;
}
h3.practice-intro-box {
    font-size: 28px;
    font-family: "Playfair Display", sans-serif;
    line-height: 38px;
    border-left: 1px solid #e2692b;
    padding: 10px 0 10px 32px;
    font-weight: 300;
    max-width: 100%;
}
@media (max-width: 700px) {
    .practice-intro-box {
        font-size: 1.1rem;
        padding: 15px 0 15px 16px;
    }
    h3.practice-intro-box {
        font-size: 1.1rem;
        padding-left: 10px;
    }
} 

.navbar-phone {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    padding: 0 18px;
    height: 81px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    margin-left: 10px;
}
.navbar-phone i {
    margin-right: 8px;
    font-size: 1.1em;
}
.navbar-phone:hover {
    color: var(--secondary-color);
    text-decoration: none;
}
@media (max-width: 1144px) {
    .navbar-phone {
        height: auto;
        padding: 12px 0;
        font-size: 15px;
        display: block;
        text-align: right;
    }
} 

/* Practice Areas Page Header Overlay */
.page-header-overlay {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-header-overlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 162, 69, 0.82); /* Accent color overlay */
    mix-blend-mode: multiply;
    z-index: 1;
}
.page-header-overlay .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}
.overlay-txt-ie {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    opacity: 0.95;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    mix-blend-mode: normal;
}
@media (max-width: 700px) {
    .overlay-txt-ie {
        font-size: 2.2rem;
        padding: 0;
    }
    .page-header-overlay .container {
        min-height: 180px;
    }
    .page-header-overlay {
        min-height: 180px;
    }
}

/* Practice Areas Intro Section */
.practice-intro {
    background: #fff;
    padding: 40px 0 0 0;
    margin-bottom: 30px;    
}
.practice-intro-box {
    border-left: 2px solid #e2692b;
    padding: 20px 0 20px 32px;
   /* margin: 0 auto 40px auto;*/
    max-width: 900px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #222;
    background: #fff;
}
h3.practice-intro-box {
    font-size: 28px;
    font-family: "Playfair Display", sans-serif;
    line-height: 38px;
    border-left: 1px solid #e2692b;
    padding: 10px 0 10px 32px;
    font-weight: 300;
    max-width: 100%;
}
@media (max-width: 700px) {
    .practice-intro-box {
        font-size: 1.1rem;
        padding: 15px 0 15px 16px;
    }
    h3.practice-intro-box {
        font-size: 1.1rem;
        padding-left: 10px;
    }
} 

.navbar-phone {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    padding: 0 18px;
    height: 81px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    margin-left: 10px;
}
.navbar-phone i {
    margin-right: 8px;
    font-size: 1.1em;
}
.navbar-phone:hover {
    color: var(--secondary-color);
    text-decoration: none;
}
@media (max-width: 1144px) {
    .navbar-phone {
        height: auto;
        padding: 12px 0;
        font-size: 15px;
        display: block;
        text-align: right;
    }
} 
.practice-areas-section, .faq-section{
    max-width: 100%;
    margin: 0 auto;
} 
.faq-section .title{
	padding: 5px !important;
}
.faq-section{
	margin-bottom: 20px !important;
}

/* Let's Talk Section */
.lets-talk-section {
    padding: 60px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}



@keyframes subtleGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.lets-talk-content {
    max-width: 600px;
    margin: 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.lets-talk-title {
    color: var(--white) !important;
    margin: 0 0 15px 0;
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: bold;
}

.lets-talk-divider {
    width: 60px;
    height: 2px;
    background-color: var(--white);
    margin: 0 0 30px 0;
}

.lets-talk-question {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.3;
    margin: 0 0 40px 0;
    font-weight: 400;
}

.lets-talk-button {
    font: bold 14px / 30px Montserrat, sans-serif;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #fff;
    min-width: 250px;
    height: 50px;
    color: #fff;
    text-align: center;
    transition: .5s ease-out;
    padding: 10px;
    text-decoration: none;
    background-color: transparent;
    line-height: 30px;
    box-sizing: border-box;
}

.lets-talk-button:hover {
    color: var(--primary-color);
    background-color: #fff;
    text-decoration: none;
}

/* Responsive styles for Let's Talk section */
@media (max-width: 768px) {
    .lets-talk-section {
        padding: 60px 0;
    }
    
    .lets-talk-content {
        text-align: center;
    }
    
    .lets-talk-question {
        font-size: 1.5rem;
    }
    
    .lets-talk-button {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .lets-talk-question {
        font-size: 1.25rem;
    }
    
    .lets-talk-button {
        min-width: 180px;
        height: 45px;
        font-size: 13px;
    }
}