/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --accent-color: #2d5a8c;
    --light-bg: #f5f7fa;
    --light-purple: #f0ebf8;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    width: 60px;
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-color);
}

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 8px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-content h1 .accent {
    color: var(--accent-color);
}

.hero-content > p:first-of-type {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Services Grid */
.services-grid {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.services-grid h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

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

.service-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* How It Works */
.how-it-works {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.step {
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #e8eef5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.author-initials {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.author-title {
    font-size: 13px;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.contact-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-benefits h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.benefit-item {
    background-color: var(--light-purple);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    min-width: 50px;
}

.benefit-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

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

.footer-logo {
    width: 100px;
    height: auto;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Service Page Styles */
.service-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

.service-hero h1 .accent {
    color: var(--accent-color);
}

.service-hero p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.why-choose-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.why-choose-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background-color: #e8eef5;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

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

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* Projects Page */
.projects-header {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    text-align: center;
}

.projects-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.projects-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.project-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--accent-color);
}

.project-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.project-link:hover {
    text-decoration: underline;
}

.project-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.project-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 13px;
}

.project-details {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.project-details li {
    margin-left: 20px;
}

/* Products Page */
.products-header {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    text-align: center;
}

.products-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.products-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
}

.product-content {
    padding: 30px;
}

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

.product-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* Career Page */
.career-header {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    text-align: center;
}

.career-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.career-form-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.career-form {
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .upload-btn {
    border: 2px solid var(--text-color);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.file-upload .upload-btn:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.form-group button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

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

/* About Us Page */
.about-header {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    text-align: center;
}

.about-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.about-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-section {
    text-align: center;
    margin: 80px auto;
    padding: 0 20px;
}

.mission-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-section p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.why-choose-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.why-choose-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.why-choose-list {
    max-width: 600px;
}

.why-choose-list li {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tagline {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 80px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .service-hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .service-hero h1 {
        font-size: 32px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid h2,
    .testimonials h2,
    .how-it-works h2,
    .contact-section h2,
    .projects-header h1,
    .products-header h1,
    .career-header h1,
    .about-header h1 {
        font-size: 32px;
    }

    .grid-container,
    .testimonials-grid,
    .why-choose-grid,
    .projects-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .career-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .services-grid h2,
    .testimonials h2,
    .how-it-works h2,
    .contact-section h2 {
        font-size: 26px;
    }

    .hero-description {
        font-size: 14px;
    }

    .service-card,
    .feature-card,
    .project-card,
    .product-card {
        padding: 20px;
    }
}

/* ===== ADVANCED CSS ENHANCEMENTS ===== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Button Styling */
.btn-primary {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(45, 90, 140, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 140, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Form Field Enhancements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 140, 0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Validation States */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

/* Loading State Animation */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Skeleton Loading Effect */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--light-bg) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        var(--light-bg) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
    .service-card,
    .testimonial-card,
    .feature-card {
        border: 2px solid var(--text-color);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        font-weight: 700;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #e0e0e0;
        --accent-color: #64b5f6;
        --light-bg: #1e1e1e;
        --light-purple: #2a1b3d;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --border-color: #404040;
        --white: #121212;
    }

    body {
        background-color: var(--white);
    }

    .navbar {
        background-color: #1e1e1e;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .service-card,
    .testimonial-card,
    .feature-card,
    .project-card,
    .product-card {
        background-color: #1e1e1e;
        border-color: #404040;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        background-color: #2a2a2a;
        color: var(--text-color);
        border-color: #404040;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-light);
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 12px;
    white-space: normal;
}

.tooltip .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background-color: var(--accent-color);
    color: var(--white);
    margin-right: 8px;
}

.badge.secondary {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.badge.success {
    background-color: #27ae60;
}

.badge.danger {
    background-color: #e74c3c;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #64b5f6);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 90, 140, 0.4);
    transition: all 0.3s ease;
    z-index: 99;
    text-decoration: none;
    font-size: 24px;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 90, 140, 0.6);
}

@media (max-width: 768px) {
    .fab {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Card Animations */
.service-card,
.testimonial-card,
.feature-card,
.project-card,
.product-card {
    animation: fadeInUp 0.6s ease;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Card Hover Effects */
.service-card:hover,
.testimonial-card:hover,
.feature-card:hover,
.project-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Link Underline Animation */
a {
    position: relative;
    text-decoration: none;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.faq-item {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.faq-answer {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--white);
}

.newsletter-section > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-input-group {
    display: flex;
    width: 100%;
    gap: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    background-color: var(--white);
    color: var(--text-color);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.newsletter-form button {
    padding: 14px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-bg);
    transform: none;
    box-shadow: none;
}

.newsletter-notice {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}
