/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Font */
@font-face {
    font-family: 'SpecialFont';
    src: url('../includes/fonts/248169530.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gotham', Arial, sans-serif;
    overflow: auto;
    min-height: 100vh;
    padding-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: #000;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 53px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff0000;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-left: 3px solid #ff0000;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    text-transform: none;
    color: #ddd;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu li a:hover {
    background-color: #333;
    padding-left: 25px;
}

.dropdown > a .fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* Slider styles */
.slider-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 90%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-indicator a {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin-bottom: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Practice Areas Section */
.practice-areas-section {
    padding: 80px 0;
    background-color: #121212;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #ff0000;
    margin: 0 auto;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.practice-area-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.practice-area-card .icon {
    font-size: 36px;
    color: #ff0000;
    margin-bottom: 20px;
}

.practice-area-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0 0;
    background-color: #1a1a1a;
    color: #fff;
    min-height: auto;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.icon-container {
    width: 50px;
    height: 50px;
    background-color: #ff0000;
    border-radius: 50%; /* Ensures a perfect circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    overflow: hidden; /* Ensures content doesn't overflow the rounded corners */
}

.icon-container i {
    font-size: 20px;
    color: #fff;
}

.info-text h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 16px;
    color: #ccc;
}

.contact-form-container {
    flex: 1.5;
    min-width: 300px;
    background-color: #222;
    padding: 30px 30px 60px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 70px;
}

.footer-space {
    margin-bottom: 33px;
}

.contact-form-container h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.submit-container {
    margin-top: 30px;
    margin-bottom: 20px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.contact-spacer {
    height: 150px;
    width: 100%;
    clear: both;
}

/* Footer styles */
footer {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    width: 100%;
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-button a {
    display: inline-block;
    border: 1px solid #fff;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-button a:hover {
    background-color: #fff;
    color: #000;
}

.footer-center {
    text-align: center;
}

.disclaimer, .legal-notice {
    margin-right: 15px;
    font-size: 14px;
    cursor: pointer;
}

.copyright {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff0000;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .slide-content h1 {
        font-size: 36px;
    }
    
    .practice-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, .contact-form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
    }
    
    nav .nav-menu.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-center {
        order: 3;
    }
    
    .social-icons {
        margin-top: 10px;
    }
    
    .social-icons a {
        margin: 0 8px;
    }
    
    .disclaimer, .legal-notice {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .icon-container {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
