/* CSS Variables - Color Palette */
:root {
    --primary-color: #325281;
    --secondary-color: #3cbba3;
    --tertiary-color: #F7FAFC;
    --accent-color: #fe715a;
    --neutral-color: #3d4753;
    
    --primary-light: #72a2e4;
    --primary-dark: #193658;
    --secondary-light: #aeeaef;
    --secondary-dark: #277478;
    --tertiary-dark: #EDF2F7;
    --accent-light: #ffb4b8;
    --accent-dark: #c23d34;
    --neutral-light: #8aa6b9;
    --neutral-dark: #2c3654;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--tertiary-color);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.57rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.navbar-nav .nav-link {
    color: var(--neutral-color);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--tertiary-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../DAT_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-top: 125px;
}

.hero-section p {
    font-size: 1.26rem;
    margin-bottom: 1.61rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.53rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

section h3 {
    font-size: 1.88rem;
    font-weight: 600;
    color: var(--neutral-color);
    margin-bottom: 0.72rem;
}

section p {
    font-size: 1.21rem;
    color: var(--neutral-color);
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.34rem;
    font-weight: 600;
    margin-bottom: 0.90rem;
}

.feature-card p {
    color: var(--neutral-color);
    font-size: 1rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    color: var(--primary-color);
    font-size: 1.44rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card .price {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 1.61rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured h4 {
    color: white;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.pricing-card.featured .price {
    color: var(--secondary-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--tertiary-dark);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-card h5 {
    color: var(--primary-color);
    font-size: 1.28rem;
    font-weight: 600;
    margin-bottom: 0.59rem;
}

.team-card p {
    color: var(--neutral-color);
    font-size: 1.04rem;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
}

.review-card .stars {
    color: var(--accent-color);
    font-size: 1.61rem;
    margin-bottom: 1rem;
}

.review-card .reviewer {
    color: var(--neutral-color);
    font-style: italic;
    margin-top: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 0;
    right: -11px;
}

.timeline-item:nth-child(even)::before {
    left: -11px;
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h4 {
    color: var(--primary-color);
    font-size: 1.44rem;
    font-weight: 600;
    margin: 1rem 0;
    padding: 0 1.5rem;
}

.blog-card p {
    color: var(--neutral-color);
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 1.5rem;
    display: block;
    margin-bottom: 1.69rem;
}

.blog-card a:hover {
    color: var(--secondary-dark);
}

/* FAQ Accordion */
.accordion-button {
    background: white;
    border: none;
    box-shadow: none;
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background: var(--tertiary-dark);
    color: var(--primary-color);
}

.accordion-body {
    background: white;
    color: var(--neutral-color);
}

/* Gallery */
.gallery-img {
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form .form-control {
    border: 2px solid var(--tertiary-dark);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 94, 152, 0.25);
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--neutral-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

footer h5 {
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--tertiary-dark);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

/* Additional Card Styles */
.safety-card, .area-card, .quality-card, .eco-card,
.innovation-card, .research-card, .spec-card, .training-card,
.future-card, .career-card, .info-card, .case-study-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.safety-card:hover, .area-card:hover, .quality-card:hover, .eco-card:hover,
.innovation-card:hover, .research-card:hover, .spec-card:hover, .training-card:hover,
.future-card:hover, .career-card:hover, .info-card:hover, .case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 25px rgba(0, 0, 0, 0.15);
}

.safety-card h4, .area-card h4, .quality-card h4, .eco-card h4,
.innovation-card h4, .research-card h4, .spec-card h4, .training-card h4,
.future-card h4, .career-card h4, .info-card h4, .case-study-card h4 {
    color: var(--primary-color);
    font-size: 1.40rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.career-card p:first-of-type {
    color: var(--accent-color);
    font-weight: 600;
}

.case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive spacing */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 125px;
}
    
    section h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 70px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.30rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1050;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification.notification-success {
    border-left: 4px solid var(--secondary-color);
}

.notification.notification-success i {
    color: var(--secondary-color);
}

.notification.notification-error {
    border-left: 4px solid var(--accent-color);
}

.notification.notification-error i {
    color: var(--accent-color);
}

.notification.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification.notification-info i {
    color: var(--primary-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--neutral-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: var(--neutral-dark);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Nanobar Progress */
#nanobar-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0.25rem;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    color: white;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
