:root {
    --primary-blue: #1a73e8;
    --secondary-blue: #4285f4;
    --light-blue: #e8f0fe;
    --white: #ffffff;
    --gray: #f8f9fa;
    --dark-gray: #5f6368;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif !important;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    font-family: 'Inter', sans-serif !important;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero, .slider {
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: 16/9;
    max-height: 100vh;
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Video styles for the first slide */
.slide-video {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center !important;
    background: #000;
}

/* Responsive video adjustments */
@media (max-width: 900px) {
    .hero, .slider {
        aspect-ratio: 16/9;
        height: 45vw;
        min-height: 180px;
        max-height: 60vw;
    }
}

@media (max-width: 600px) {
    .hero, .slider {
        aspect-ratio: 16/9;
        height: 55vw;
        min-height: 120px;
        max-height: 70vw;
    }
}

/* Video overlay to ensure text readability */
.slide:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 115, 232, 0.7), rgba(26, 115, 232, 0.5));
    z-index: 2;
}

/* Ensure hero content appears above video */
.slide:first-child .hero-content {
    z-index: 3;
}

.slide:nth-child(1) {
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.7)),
                url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.7)),
                url('https://static.wixstatic.com/media/bbdf45_6d2f45c602054f5497a3860183a1012c~mv2.jpg/v1/fill/w_941,h_536,al_c,lg_1,q_85/bbdf45_6d2f45c602054f5497a3860183a1012c~mv2.jpg');
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.7)),
                url('https://herkesicinhavacilik.com/wp-content/uploads/2022/03/HAVACL2.jpg');
}

.slide:nth-child(4) {
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.7)),
                url('https://blog.adgager.com/wp-content/uploads/2017/10/aa2d225463fbc35e43e738ba476562ad-1000x635.jpg');
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 100%;
    padding: 0 1rem;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 3;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.active {
    background: var(--white);
}

@media (max-width: 768px) {
    .slider-controls {
        bottom: 1rem;
        gap: 1rem;
    }

    .prev-slide,
    .next-slide {
        width: 35px;
        height: 35px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background-color: var(--gray);
}

.services h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: default;
}

/* Make clickable service cards show pointer */
a.service-card {
    cursor: pointer;
}

a.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 600px) {
    .service-card h3 {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: var(--secondary-blue);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-brand p {
    color: var(--light-blue);
    line-height: 1.6;
}

.footer-contact h3,
.footer-services h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-contact p {
    margin: 10px 0;
    color: var(--light-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-services ul li {
    margin: 10px 0;
}

.footer-services ul li a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services ul li a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: var(--white);
    color: var(--primary-blue);
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--light-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .language-selector {
        margin: 1rem 0;
        width: 100%;
    }

    .language-selector select {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .social-icons {
        gap: 20px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

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

    .footer-contact p {
        justify-content: center;
    }

    .footer-services ul {
        display: inline-block;
        text-align: left;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .footer-contact p {
        font-size: 14px;
    }
}

/* RTL Support */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .nav-links {
    flex-direction: row-reverse;
}

[lang="ar"] .language-selector::after {
    left: 10px;
    right: auto;
}

[lang="ar"] .flag-icon {
    right: 8px;
    left: auto;
}

[lang="ar"] .footer-contact p i {
    margin-left: 10px;
    margin-right: 0;
}

[lang="ar"] .newsletter-form {
    flex-direction: row-reverse;
}

[lang="ar"] .social-icons {
    flex-direction: row-reverse;
}

[lang="ar"] .footer-bottom {
    flex-direction: row-reverse;
}

[lang="ar"] .footer-social {
    flex-direction: row-reverse;
}

/* Language Selector with Flags */
.language-selector {
    position: relative;
}

.language-selector select {
    padding: 8px 30px 8px 35px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    font-size: 14px;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.language-selector::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    pointer-events: none;
}

.flag-icon {
    margin-right: 8px;
    width: 20px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background-color: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 3/4;
}

.team-member h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.5rem;
    padding: 0 1rem;
}

.team-member .position {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.team-member .description {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link.linkedin {
    background-color: var(--primary-blue);
}

.social-link.whatsapp {
    background-color: #25D366;
}

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

/* Hide social links in modal */
.modal .social-links {
    display: none;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .team-member {
        max-width: 100%;
        margin: 0 auto;
    }

    .team-member img {
        object-fit: contain;
        object-position: center;
        background: #fff;
    }

    .modal-body {
        flex-direction: column;
        padding: 20px;
    }

    .modal-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .modal-image img {
        height: 300px;
        aspect-ratio: 3/4;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .team-member {
        max-width: 100%;
    }

    .team-member img {
        object-fit: contain;
        object-position: center;
        background: #fff;
    }

    .modal-content {
        margin: 20px auto;
        width: 90%;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-image {
        max-width: 100%;
    }

    .modal-image img {
        height: 250px;
        aspect-ratio: 3/4;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-gray);
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal-body {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.modal-image {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.modal-image img {
    width: 100%;
    height: 40%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.modal-info {
    flex: 1;
}

.modal-name {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-position {
    color: var(--dark-gray);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.modal-details h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.modal-details p,
.modal-details ul {
    color: var(--dark-gray);
    line-height: 1.6;
}

.modal-expertise {
    list-style: none;
    padding: 0;
}

.modal-expertise li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.modal-expertise li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 20px;
    }

    .modal-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .modal-image img {
        height: 300px;
    }

    .modal-name {
        font-size: 1.8rem;
    }

    .modal-position {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .team-member img {
        height: 250px;
    }

    .modal-image {
        max-width: 100%;
    }

    .modal-image img {
        height: 250px;
    }

    .modal-name {
        font-size: 1.5rem;
    }

    .modal-position {
        font-size: 1rem;
    }
}

/* Social Media Section */
.social {
    padding: 60px 20px;
    background-color: var(--white);
    text-align: center;
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social h2 {
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon.linkedin {
    background-color: var(--primary-blue);
}

.social-icon.instagram {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
}

.social-icon.email {
    background-color: var(--primary-blue);
}

/* FAQ Section */
.faq {
    background: var(--gray);
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 4rem auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-item.active {
    box-shadow: 0 4px 16px rgba(26,115,232,0.08);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}
.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    font-size: 1rem;
    color: var(--primary-blue);
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-question:hover {
    background: var(--light-blue);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--dark-gray);
    font-size: 1rem;
    border-top: 1px solid var(--gray);
    background: var(--white);
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    max-height: 300px;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
@media (max-width: 600px) {
    .faq {
        padding: 2rem 0.5rem;
    }
    .faq h2 {
        font-size: 1.5rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
    .faq-answer {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .faq-item.active .faq-answer {
        padding: 0.7rem 1rem 1rem 1rem;
    }
}

/* Notification Card Styles */
.notification-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    color: #222;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 9999;
    min-width: 320px;
    max-width: 90vw;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(.4,2,.6,1), transform 0.3s cubic-bezier(.4,2,.6,1);
}
.notification-card.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.notification-content {
    padding: 32px 24px 24px 24px;
    font-size: 1.15rem;
    text-align: center;
    font-weight: 500;
}
@media (max-width: 500px) {
    .notification-card {
        min-width: 90vw;
        padding: 0;
    }
    .notification-content {
        padding: 24px 8px 16px 8px;
        font-size: 1rem;
    }
}

/* --- Service Categories Modern Redesign --- */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.service-category-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,115,232,0.08);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,115,232,0.15) 0%, rgba(26,115,232,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}
.service-category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 32px rgba(26,115,232,0.16);
}
.category-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.92);
    border-radius: 18px 18px 0 0;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(26,115,232,0.04);
}
.category-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.toggle-category {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.2s;
    outline: none;
    margin-left: 1rem;
}
.toggle-category.rotate {
    transform: rotate(180deg);
}
.category-dropdown {
    background: rgba(255,255,255,0.98);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 8px rgba(26,115,232,0.04);
    padding: 0 1.5rem 1.2rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    z-index: 2;
    animation: dropdownFadeIn 0.3s;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-category-card.active .category-dropdown {
    display: flex;
}
.service-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-blue);
    background: none;
    border: none;
    font-size: 1.08rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}
.service-link i {
    font-size: 1.2rem;
    color: var(--secondary-blue);
}
.service-link:hover {
    background: var(--light-blue);
    color: var(--secondary-blue);
}
@media (max-width: 900px) {
    .service-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-category-card {
        min-height: 220px;
    }
    .category-header {
        padding: 1rem 1.2rem 1rem 1.2rem;
    }
    .category-dropdown {
        padding: 0 1.2rem 1rem 1.2rem;
    }
}

/* --- About Us Modern Section --- */
.aboutus-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
    padding: 3rem 1rem 2rem 1rem;
}
.aboutus-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.aboutus-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    text-align: left;
    margin-bottom: 0.5rem;
}
.aboutus-underline {
    width: 60px;
    height: 5px;
    background: var(--primary-blue);
    border-radius: 3px;
    margin-bottom: 1.5rem;
}
.aboutus-desc {
    font-size: 1.13rem;
    color: #444;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.aboutus-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.aboutus-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26,115,232,0.08);
    padding: 1.3rem 1.5rem 1.1rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.aboutus-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.aboutus-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}
.aboutus-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 260px;
    max-width: 400px;
}
.aboutus-image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,115,232,0.10);
    object-fit: cover;
}
@media (max-width: 900px) {
    .aboutus-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 2rem 0.5rem 1rem 0.5rem;
    }
    .aboutus-image {
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
    }
    .aboutus-cards {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .aboutus-title {
        font-size: 1.4rem;
    }
    .aboutus-modern {
        padding: 1.2rem 0.2rem 0.5rem 0.2rem;
        gap: 1.2rem;
    }
    .aboutus-card {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
        min-width: 0;
        max-width: 100%;
    }
    .aboutus-image img {
        max-width: 100%;
        border-radius: 12px;
    }
}

/* --- CTA Expert Section --- */
.cta-expert {
    background: linear-gradient(90deg, #1a73e8 0%, #4285f4 100%);
    padding: 3.5rem 0 3.5rem 0;
    margin: 0 0 2.5rem 0;
}
.cta-expert-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 0 1.5rem;
}
.cta-expert-text {
    flex: 1.2;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-expert-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    color: #fff;
}
.cta-expert-desc {
    font-size: 1.13rem;
    margin-bottom: 2rem;
    color: #e8f0fe;
    line-height: 1.6;
}
.cta-expert-btn {
    display: inline-block;
    background: #fff;
    color: #1a73e8;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2.1rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(26,115,232,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.cta-expert-btn:hover {
    background: #e8f0fe;
    color: #174ea6;
    box-shadow: 0 4px 16px rgba(26,115,232,0.18);
}
.cta-expert-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    max-width: 350px;
}
.cta-expert-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(26,115,232,0.13);
}
@media (max-width: 900px) {
    .cta-expert-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    .cta-expert-image {
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .cta-expert {
        padding: 2rem 0 2rem 0;
    }
    .cta-expert-title {
        font-size: 1.2rem;
    }
    .cta-expert-btn {
        font-size: 0.98rem;
        padding: 0.7rem 1.2rem;
    }
    .cta-expert-image img {
        max-width: 100%;
        border-radius: 12px;
    }
}

/* --- Service Modal Styles --- */
.service-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 40, 80, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    overflow-y: auto;
}
.service-modal-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(26,115,232,0.18);
    max-width: 540px;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.45s cubic-bezier(.4,2,.6,1);
    padding: 2.2rem 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.service-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #222;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}
.service-modal-close:hover {
    color: var(--primary-blue);
}
.service-modal-content img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    object-fit: cover;
    max-height: 180px;
}
.service-modal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #222;
}
.service-modal-content p {
    color: #444;
    font-size: 1.02rem;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}
.service-modal-content ul {
    margin: 0 0 1.2rem 1.2rem;
    padding: 0;
    color: #333;
    font-size: 1rem;
}
.service-modal-content ul li {
    margin-bottom: 0.5rem;
    list-style: disc;
}
.service-modal-content .modal-section-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 1.2rem 0 0.5rem 0;
    color: var(--primary-blue);
}
.service-modal-content .modal-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}
.service-modal-content .modal-why-card {
    background: #f5f8fd;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.98rem;
    color: #174ea6;
    font-weight: 500;
    min-width: 0;
}
.service-modal-content .modal-why-card strong {
    display: block;
    color: #174ea6;
    font-size: 1.01rem;
    margin-bottom: 0.2rem;
}
.service-modal-content .modal-bottom {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.service-modal-content .modal-contact-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.7rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.7rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(26,115,232,0.10);
}
.service-modal-content .modal-contact-btn:hover {
    background: var(--secondary-blue);
}
@media (max-width: 600px) {
    .service-modal-card {
        padding: 1.1rem 0.5rem 0.7rem 0.5rem;
        max-width: 99vw;
    }
    .service-modal-content .modal-why-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .service-modal-content img {
        max-height: 120px;
    }
}

/* --- Modern Contact Section --- */
.contact-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.contact-underline {
    width: 60px;
    height: 5px;
    background: var(--primary-blue);
    border-radius: 3px;
    margin: 0 auto 1.2rem auto;
}
.contact-desc {
    text-align: center;
    color: #444;
    font-size: 1.13rem;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.contact-main-grid {
    display: flex;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.contact-form-card, .contact-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26,115,232,0.08);
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 480px;
    flex: 1 1 340px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}
.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.contact-form-card label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    padding: 0.9rem 1rem;
    border: 1px solid #e0e6ef;
    border-radius: 7px;
    font-size: 1rem;
    background: #f8fafc;
    color: #222;
    margin-bottom: 0.2rem;
    transition: border 0.2s;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border: 1.5px solid var(--primary-blue);
    outline: none;
}
.contact-form-card textarea {
    min-height: 90px;
    resize: vertical;
}
.contact-submit-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(26,115,232,0.10);
}
.contact-submit-btn:hover {
    background: var(--secondary-blue);
}
.contact-info-card {
    gap: 1.2rem;
    align-items: flex-start;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #174ea6;
    font-size: 1.05rem;
    font-weight: 500;
}
.contact-info-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}
.contact-social-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.01rem;
}
.contact-social-icons {
    display: flex;
    gap: 0.7rem;
}
.contact-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f8fd;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.contact-social-icon:hover {
    background: var(--primary-blue);
    color: #fff;
}
@media (max-width: 900px) {
    .contact-main-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .contact-form-card, .contact-info-card {
        max-width: 100%;
        min-width: 0;
        margin: 0 auto 1.2rem auto;
    }
}
@media (max-width: 600px) {
    .contact-title {
        font-size: 1.4rem;
    }
    .contact-form-card, .contact-info-card {
        padding: 1.1rem 0.7rem 1rem 0.7rem;
    }
}

.contact-info-card.modern {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,115,232,0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
    max-width: 400px;
    margin: 0 auto;
    gap: 1.2rem;
}
.contact-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}
.contact-info-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.08rem;
    color: #174ea6;
    font-weight: 500;
    background: #f5f8fd;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(26,115,232,0.04);
}
.contact-info-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .contact-info-card.modern {
        max-width: 100%;
        min-width: 0;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

.contact-social-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(26,115,232,0.07);
    margin-top: 1.2rem;
    padding: 1.2rem 1.2rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
    max-width: 400px;
}
.contact-social-title {
    color: var(--primary-blue);
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    text-align: center;
}
@media (max-width: 900px) {
    .contact-social-box {
        max-width: 100%;
        padding: 1rem 0.7rem 0.7rem 0.7rem;
    }
}

@media (max-width: 1200px) {
    .modal-image img {
        object-fit: contain;
        object-position: center;
        background: #fff;
    }
}

@media (max-width: 768px) {
    .modal-image img {
        object-fit: contain;
        object-position: center;
        background: #fff;
    }
}

@media (max-width: 480px) {
    .modal-image img {
        object-fit: contain;
        object-position: center;
        background: #fff;
    }
}

/* Custom Language Dropdown */
.custom-language-dropdown {
    position: relative;
    display: inline-block;
    min-width: 150px;
    font-size: 1rem;
    z-index: 20;
}
.custom-language-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: #fff;
    border: 2px solid #1a73e8;
    border-radius: 8px;
    padding: 0.5em 1em;
    cursor: pointer;
    font-weight: 600;
    color: #1a73e8;
    width: 100%;
    min-width: 140px;
    transition: border 0.2s;
}
.custom-language-dropdown .dropdown-toggle:focus {
    outline: none;
    border-color: #4285f4;
}
.custom-language-dropdown .dropdown-label {
    margin-left: 0.3em;
}
.custom-language-dropdown .dropdown-arrow {
    margin-left: auto;
    font-size: 1.1em;
    color: #1a73e8;
}
.custom-language-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    background: #fff;
    border: 1.5px solid #e0e6ef;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(26,115,232,0.10);
    min-width: 100%;
    padding: 0.3em 0;
    margin: 0;
    list-style: none;
    z-index: 30;
    animation: fadeInDropdown 0.25s;
}
.custom-language-dropdown.open .dropdown-menu {
    display: block;
}
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.custom-language-dropdown .dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 1em;
    cursor: pointer;
    color: #174ea6;
    font-weight: 500;
    background: #fff;
    transition: background 0.15s, color 0.15s;
}
.custom-language-dropdown .dropdown-menu li:hover,
.custom-language-dropdown .dropdown-menu li.selected {
    background: #e8f0fe;
    color: #1a73e8;
}
.custom-language-dropdown .fi {
    font-size: 1.2em;
}
@media (max-width: 600px) {
    .custom-language-dropdown {
        min-width: 110px;
        font-size: 0.98rem;
    }
    .custom-language-dropdown .dropdown-toggle {
        padding: 0.45em 0.7em;
        min-width: 100px;
    }
    .custom-language-dropdown .dropdown-menu li {
        padding: 0.45em 0.7em;
    }
}

/* Off-canvas mobile menu styles */
.mobile-offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: rgba(30, 30, 40, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 2px 0 24px rgba(0,0,0,0.18);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.77,0,.18,1);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
}
.mobile-offcanvas-menu.active {
    transform: translateX(0);
}
.offcanvas-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.offcanvas-close:hover {
    color: var(--primary-blue);
}
.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}
.offcanvas-nav a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.offcanvas-nav a:hover {
    color: var(--primary-blue);
}
.offcanvas-language-selector {
    margin-top: 2.5rem;
}
@media (min-width: 769px) {
    .mobile-offcanvas-menu {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .mobile-offcanvas-menu {
        display: flex;
    }
}

/* Force Font Awesome icons to use their own font-family */
i.fab, i.fas, i.far, i.fal, i.fad, i.fa {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', Arial, sans-serif !important;
  font-weight: 400 !important;
} 