/* Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transform: translateX(100%);
}

.slider-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slider-slide.prev {
    transform: translateX(-100%);
}

.slider-content {
    max-width: 800px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
    padding: 2rem;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.slider-slide.active .slider-content {
    opacity: 1;
    transform: translateY(0);
}

.slider-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: none; /* Remove default animation */
}

.slider-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    animation: none; /* Remove default animation */
}

.slider-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: none; /* Remove default animation */
}

.slider-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-buttons .btn-primary {
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    border: none;
}

.slider-buttons .btn-outline-light {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

.slider-buttons .btn-outline-light:hover {
    background: #fff;
    color: #333;
}

.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--secondary-color);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

/* Slider Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .slider-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .slider-title {
        font-size: 2.5rem;
    }
    
    .slider-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 60vh;
        min-height: 400px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1.1rem;
    }
    
    .slider-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .slider-title {
        font-size: 1.75rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
}

/* Modern Professional Stack */
body {
    font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Premium Headings Stack */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Playfair Display', Georgia, serif;
}

/* Theme Colors */
:root {
    --primary-color: #134e4a; /* Dark Green Blue */
    --primary-dark: #08334f; /* Darker shade of Dark Green Blue */
    --secondary-color: #d97706; /* Red Gold */
    --secondary-light: #f59e0b; /* Lighter shade of Red Gold */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
}

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

/* Slider Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        animation-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    to {
        transform: perspective(400px);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        transform-origin: center;
        transform: rotate3d(0, 0, 1, -200deg);
        opacity: 0;
    }
    to {
        transform-origin: center;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* Animation classes */
.slideInRight {
    animation: slideInRight 1s ease forwards !important;
}

.slideInLeft {
    animation: slideInLeft 1s ease forwards !important;
}

.slideInDown {
    animation: slideInDown 1s ease forwards !important;
}

.slideInUp {
    animation: slideInUp 1s ease forwards !important;
}

.zoomIn {
    animation: zoomIn 1s ease forwards !important;
}

.fadeIn {
    animation: fadeIn 1s ease forwards !important;
}

.bounceIn {
    animation: bounceIn 1s ease forwards !important;
}

.flipInX {
    animation: flipInX 1s ease forwards !important;
    backface-visibility: visible !important;
}

.rotateIn {
    animation: rotateIn 1s ease forwards !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slider-title {
        font-size: 3.5rem !important;
    }
    
    .slider-subtitle {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 992px) {
    .slider-container {
        height: 80vh;
        min-height: 500px;
    }
    
    .slider-title {
        font-size: 3rem !important;
    }
    
    .slider-subtitle {
        font-size: 1.2rem !important;
        max-width: 90% !important;
    }
    
    .slider-content {
        padding: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 70vh;
        min-height: 450px;
    }
    
    .slider-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .slider-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slider-buttons {
        gap: 1rem !important;
    }
    
    .slider-buttons .btn {
        padding: 0.6rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .slider-nav {
        bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 60vh;
        min-height: 400px;
    }
    
    .slider-title {
        font-size: 2rem !important;
    }
    
    .slider-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .slider-buttons {
        flex-direction: column;
        gap: 0.75rem !important;
        width: 100%;
    }
    
    .slider-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .slider-nav {
        bottom: 1.5rem !important;
    }
    
    .slider-dot {
        width: 10px !important;
        height: 10px !important;
    }
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0f766e; /* Lighter shade of primary color */
    color: white;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--gray-300);
}

.btn-tertiary:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 78, 74, 0.9), rgba(8, 51, 79, 0.9)), url('../images/frontend/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Service Cards */
.service-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-card-text {
    color: var(--gray-800);
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Team Member */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--secondary-color);
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.team-member-position {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.team-member-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: var(--gray-100);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

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

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.faq-question {
    background-color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: var(--gray-50);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
    outline: none;
}

/* Blog/Insight Card */
.insight-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-card-img {
    height: 200px;
    overflow: hidden;
}

.insight-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.insight-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.insight-card-excerpt {
    color: var(--gray-800);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.insight-card-meta {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pagination li {
    margin: 0 0.25rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--gray-100);
}

.pagination .active a {
    background-color: var(--secondary-color);
    color: white;
}

/* Footer */
.footer-widget h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-widget h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}