



.hero {
    display: flex;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 400px !important;
    padding-bottom: 60px;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-background img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.hero-content {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding: 0 20px;
    width: 100%;
    margin-bottom: 40px;
    
}

.hero-company {

    font-size: 72px;
    padding-top: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons a {
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(26, 58, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 58, 95, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 16px 45px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 58, 95, 0.3);
}


section {
    padding: 80px 0;
    overflow-x: hidden;
}

.section-header {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    padding: 30px 20px;
    border-radius: 40px;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 42px;
    color: var(--light-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    margin-top: 20px;
    font-size: 18px;
    color: var(--dark-gray);
    font-style: italic;
}



/* About Section */
.about-section {
    background-color: var(--white);}


.about-content {
    margin-top: 40px;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
    margin-bottom: 30px;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-stats {
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.6s ease;
    margin-bottom: 20px;
    height: 100%;
}

.stat-item h4 {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: bold;
}

.static-item-inner {
        background-color: var(--light-gray);
        border-radius: 10px;
        padding: 20px;
}

.stat-item.animate {
    opacity: 1;
    transform: scale(1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item p {
    color: var(--dark-gray);
    font-size: 14px;
}

.about-image {
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for md to small screens */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 40px;
    }

    .hero-company {
        font-size: 56px;
    }

    .hero-title {
        font-size: 42px;
    }

    .about-text {
        margin-bottom: 40px;
    }
    
    .about-image {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    
    section {
        padding: 40px 0;
    }
    
    .section-header {
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-text h3 {
        font-size: 26px;
    }
    
    .stat-item {
        margin-bottom: 15px;
    }
    
    .service-card {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    
    .card-content {
        padding: 25px 15px;
    }
    
    .about-img {
        min-height: 250px;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero-company {
        font-size: 42px;
        padding-top: 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons a {
        width: auto;
        min-width: 220px;
        text-align: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .services-section .container,
    .legal-services-section .container,
    .about-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .services-grid {
        margin-top: 30px;
    }
    
    .legal-services-grid {
        margin-top: 30px;
    }

    .about-stats .stat-item {
        padding: 8px 0;
    }

    .stat-item h4 {
        font-size: 28px;
    }
    
    .static-item-inner {
        padding: 15px;
    }

}

@media (max-width: 575.98px) {
    
    section {
        padding: 30px 0;
    }
    
    .hero {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .hero-company {
        font-size: 36px;
        padding-top: 10px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 30px;
        font-size: 15px;
        min-width: 200px;
    }

    .section-header {
        padding: 15px 10px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-top: 15px;
    }
    
    .about-text h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .about-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .stat-item p {
        font-size: 13px;
    }
    
    .stat-item h4 {
        font-size: 26px;
    }
    
    .static-item-inner {
        padding: 12px;
    }
    
    .service-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .card-content {
        padding: 20px 12px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .service-btn {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .services-section .container,
    .legal-services-section .container,
    .about-section .container,
    .accreditations-section .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .services-grid,
    .legal-services-grid {
        margin-top: 20px;
    }
    
    .about-stats {
        margin-top: 30px;
    }
}



/* Parallax Divider */
.parallax-divider {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.parallax-divider.animate {
    opacity: 1;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 37, 55, 0.4);
}

/* Services Section */
.services-section {
    position: relative;
    background-image: url("../images/geometricPattern.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

.services-section .container .section-header .section-title {
   margin: auto;
   width: fit-content;
   border-radius: 8px;
}


.services-grid {
    margin-top: 40px;
}

.service-card {
    
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .service-card {
        margin-bottom: 30px;
        min-height: auto;
        padding: 35px 25px;
    }
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease, opacity 0.8s ease, transform 0.8s ease;
}

.service-card.animate:nth-child(1) {
    transition-delay: 0.2s;
}

.service-card.animate:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.animate:nth-child(3) {
    transition-delay: 0.2s;
}

.card-content {

    transition: transform 0.6s ease, box-shadow 0.3s ease;
    padding: 30px 15px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);    border: 2px solid transparent;
}

.card-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-lg);
    border: 2px solid var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 36px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.service-card h3 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
    flex-grow: 0;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
    flex-grow: 1;
}

.service-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 0;
    margin-top: auto;
}

.card-content a{
    text-decoration: none;
}

.service-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Legal Services Section */
.legal-services-section {
    background-color: var(--light-gray);
    position: relative;
}

.legal-services-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.legal-service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.legal-card-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(26, 58, 95, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.legal-card-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.legal-card-content:hover::before {
    opacity: 1;
}

.legal-card-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 58, 95, 0.3);
}

.legal-service-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 42px;
    transition: all 0.3s ease;
}

.legal-card-content:hover .legal-service-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 255, 255, 0.25);
}

.legal-card-content h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-card-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.legal-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin: 0 auto;
}

.legal-service-link:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateX(5px);
}

.legal-service-link i {
    transition: transform 0.3s ease;
}

.legal-service-link:hover i {
    transform: translateX(5px);
}

/* Accreditations Section */
.accreditations-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.accreditations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

.accreditations-section .container {
    position: relative;
    z-index: 1;
}

.accreditations-section .section-header {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.accreditations-section .section-title {
    color: var(--white);
}

.accreditations-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive for Legal Services */
@media (max-width: 991.98px) {
    .legal-services-grid {
        gap: 20px;
    }
    
    .legal-card-content {
        padding: 40px 30px;
    }
    
    .legal-card-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .legal-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-card-content {
        padding: 30px 20px;
    }
    
    .legal-service-icon {
        width: 75px;
        height: 75px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .legal-card-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .legal-card-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
}

@media (max-width: 575.98px) {
    .legal-services-grid {
        gap: 10px;
    }
    
    .legal-card-content {
        padding: 25px 12px;
    }
    
    .legal-service-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .legal-card-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .legal-card-content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .legal-service-link {
        font-size: 14px;
        padding: 8px 20px;
    }
}


/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}






.no-bg{
    background-color: transparent;
    box-shadow: none;
}