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

:root {
    --primary-color: #1a3c5a; /* Dark teal/blue */
    --primary-light: #2a5478;
    --secondary-color: #4ecdc4; /* Light teal */
    --accent-color: #ff6b6b; /* Coral */
    --light-color: #ffffff;
    --dark-color: #1c1c1c;
    --gray-color: #f8f9fa;
    --gray-dark: #e9ecef;
    --text-color: #333333;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #1a3c5a 0%, #2a5478 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #2ab7ca 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle:before,
.section-subtitle:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--secondary-color);
}

.section-subtitle:before {
    left: -40px;
}

.section-subtitle:after {
    right: -40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

.section-header.light h2,
.section-header.light p,
.section-header.light .section-subtitle {
    color: var(--light-color);
}

.section-header.light .section-subtitle:before,
.section-header.light .section-subtitle:after {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
}

.btn-primary:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: var(--light-color);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light-color);
}

.btn-secondary:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: var(--light-color);
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

#header.scrolled {
    padding: 10px 0;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
}

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

.logo h1 {
    font-size: 28px;
    margin-bottom: 0;
    color: var(--primary-color);
}
.logo img{
    max-height: 40px;
}
.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.btn-contact {
    background: var(--gradient-primary);
    color: var(--light-color) !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-contact:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    color: var(--secondary-color);
}

.feature span {
    font-weight: 500;
    color: var(--primary-color);
}

.hero-form {
    position: relative;
}

.form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--gray-color);
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
    text-align: center;
}

#form-message.success {
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    display: block;
}

#form-message.error {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    display: block;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.service-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.service-icon {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 500;
    color: var(--secondary-color);
}

.service-link span {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover span {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--gray-color);
}

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

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--gradient-secondary);
    color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: var(--text-light);
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.team-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-social a:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-position {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    scroll-snap-align: start;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-rating {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 18px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-author h4 {
    color: var(--light-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--secondary-color);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--gray-color);
}

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

.blog-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
    color: var(--secondary-color);
}

.blog-link span {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-link:hover span {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p {
    margin-bottom: 0;
}

.map-container {
    grid-column: span 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.contact-form-container {
    background-color: var(--gray-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

#contact-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
    text-align: center;
}

#contact-form-message.success {
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    display: block;
}

#contact-form-message.error {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    display: block;
}

/* Footer Section */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 70px 0 0;
}

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

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-practice h3,
.footer-newsletter h3 {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-practice h3:after,
.footer-newsletter h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li,
.footer-practice ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-practice ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-practice ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 60px 14px 20px;
    border: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 30px);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}