/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #BDC3C7;
    background-color: #2C3E50;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(36, 40, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(189, 195, 199, 0.1);
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo .logo-img {
    height: 77px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.3);
}

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

.nav-link {
    color: #BDC3C7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #DC143C;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #BDC3C7;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.6) 0%, rgba(52, 73, 94, 0.6) 100%),
                url('assets/hero-bg.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    transform: translateZ(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #DC143C;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-mission {
    font-size: 1.5rem;
    color: #BDC3C7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background: #DC143C;
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
    background: #B91C3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: #BDC3C7;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #DC143C;
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #BDC3C7;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    position: relative;
    padding: 100px 0;
    background: #34495E;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(44, 62, 80, 1) 0%,
        rgba(46, 65, 83, 0.8) 40%,
        rgba(52, 73, 94, 0.6) 70%,
        rgba(52, 73, 94, 0) 100%);
    z-index: 1;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/about-bg.jpg') center/cover no-repeat;
    opacity: 0.7;
    transform: translateZ(0);
    mix-blend-mode: multiply;
}

.about-content {
    position: relative;
    z-index: 2;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.member-image {
    position: relative;
}

.headshot {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.headshot:hover {
    transform: scale(1.02);
}

.member-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.member-info h4 {
    font-size: 1.3rem;
    color: #DC143C;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.member-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #BDC3C7;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.credentials span {
    background: rgba(220, 20, 60, 0.1);
    color: #DC143C;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.credentials i {
    margin-right: 8px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #DC143C;
    backdrop-filter: blur(10px);
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.6;
    position: relative;
}

.testimonial .fa-quote-left {
    font-size: 2rem;
    color: #DC143C;
    margin-bottom: 1rem;
}

.testimonial footer {
    margin-top: 1rem;
    font-size: 1rem;
    color: #BDC3C7;
    font-weight: 500;
}

/* Services Section */
.services {
    position: relative;
    padding: 100px 0;
    background: #2C3E50;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(52, 73, 94, 1) 0%,
        rgba(48, 68, 87, 0.8) 40%,
        rgba(44, 62, 80, 0.6) 70%,
        rgba(44, 62, 80, 0) 100%);
    z-index: 1;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/services-bg.jpg') center/cover no-repeat;
    opacity: 0.7;
    transform: translateZ(0);
    mix-blend-mode: multiply;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(52, 73, 94, 0.8);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(189, 195, 199, 0.1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #DC143C;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DC143C, #B91C3C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.service-card p {
    color: #BDC3C7;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 100px 0;
    background: #34495E;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(44, 62, 80, 1) 0%,
        rgba(46, 65, 83, 0.8) 40%,
        rgba(52, 73, 94, 0.6) 70%,
        rgba(52, 73, 94, 0) 100%);
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: #DC143C;
    margin-right: 1rem;
}

.contact-item a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(220, 20, 60, 0.1);
    border: 2px solid #DC143C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DC143C;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #DC143C;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}


/* Footer */
.footer {
    position: relative;
    background: #2C3E50;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(189, 195, 199, 0.1);
    min-height: fit-content;
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(52, 73, 94, 1) 0%,
        rgba(48, 68, 87, 0.8) 40%,
        rgba(44, 62, 80, 0.6) 70%,
        rgba(44, 62, 80, 0) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-img {
    height: 100px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #BDC3C7;
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact {
    min-height: fit-content;
    overflow: visible;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-contact p {
    color: #BDC3C7;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(189, 195, 199, 0.1);
    color: #BDC3C7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background: rgba(44, 62, 80, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-mission {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }


    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .footer-contact p {
        word-break: break-word;
        hyphens: auto;
        line-height: 1.8;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-mission {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-background,
    .about-background,
    .services-background {
        display: none;
    }
}
