/* 
* DFN Global - Corporate Website
* Custom CSS
*/

:root {
    --vh: 1vh;
    --primary-color: #1a5276;
    --secondary-color: #566573;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --transition: all 0.3s ease;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #444;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

p {
    font-size: 1rem;
    color: #666;
}

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

section {
    padding: var(--section-padding);
    padding-top: 80px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

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

.section-divider {
    height: 3px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto 2rem;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.btn {
    padding: 10px 25px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
}

.btn-primary {
    background-color: #ffffff;
    border-color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, 
.btn-primary:active,
.btn-primary:focus {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

img {
    max-width: 100%;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
}

.loader-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: scale(1);
        border-width: 3px;
    }
    50% {
        transform: scale(1.2);
        border-width: 1px;
    }
    100% {
        transform: scale(1);
        border-width: 3px;
    }
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    transition: var(--transition);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand .text-primary {
    color: white !important;
}

.navbar-brand .text-dark {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 15px !important;
    position: relative;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-collapse {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.slide-1, .slide-2, .slide-3 {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-1:before, .slide-2:before, .slide-3:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1565891741441-64926e441838?q=80&w=1000');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1504387103978-e4ee71416c38?q=80&w=1000');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?q=80&w=1000');
}

/* Slider animation classes */
.swiper-slide .slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.swiper-slide h1,
.swiper-slide .hero-text,
.swiper-slide .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    z-index: 5;
}

.swiper-slide.animated h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.swiper-slide.animated .hero-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.swiper-slide.animated .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); /* Enhanced text shadow for better readability */
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Enhanced text shadow for better readability */
}

.swiper-button-next, .swiper-button-prev {
    color: white !important;
    background-color: var(--primary-color);
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    opacity: 0.9;
    transition: var(--transition);
    margin-top: -50px; /* Move buttons above the text */
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold;
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 0 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-img-wrapper {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img-wrapper img {
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-img-wrapper:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 5px solid var(--primary-color);
    z-index: -1;
    opacity: 0.3;
}

.counter-item {
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.counter-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    top: -5px;
    margin-left: 2px;
}

.counter-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Services Section */
.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    background-color: rgba(26, 82, 118, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
}

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

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

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    height: 250px;
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h5 {
    color: white;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px 10px;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1);
}

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

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-content span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-text {
    flex-grow: 1;
}

.contact-text h5 {
    margin-bottom: 5px;
}

.contact-text a {
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-media {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    margin-right: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    border-color: var(--primary-color);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

textarea.form-control {
    height: auto;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-section iframe {
    display: block;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}

footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
    text-decoration: none;
}

footer .footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-list i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 8px;
    margin-right: 0;
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #004494;
    color: white;
    transform: translateY(-5px);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-duration: 1s;
    transition-timing-function: ease-out;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    /* Fix for full screen on mobile */
    html, body {
        height: 100%;
        overflow-x: hidden;
    }
    
    .hero-section {
        min-height: 100vh; /* Full screen height on mobile */
        height: 100vh;
    }
    
    .slide-1, .slide-2, .slide-3 {
        min-height: 100vh;
        height: 100vh;
        width: 100%;
    }
    
    /* Modern gradient overlay for mobile */
    .slide-1:before, .slide-2:before, .slide-3:before {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.6) 0%, 
            rgba(26, 82, 118, 0.85) 100%);
        opacity: 1;
    }
    
    .swiper-slide .slide-content {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-section .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }
    
    /* Center text better on mobile */
    .swiper-slide .col-md-7 {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 100px !important; /* Ensure padding for scroll arrow */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Modern text styling */
    .hero-section h1 {
        font-size: 2.4rem;
        line-height: 1.3;
        margin-top: 0;
        margin-bottom: 1.2rem;
        opacity: 1 !important;
        transform: translateY(0) !important;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
        max-width: 100%;
    }
    
    .hero-section h1 .text-primary {
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(26, 82, 118, 0.8);
    }
    
    .hero-text {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        max-width: 100%;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Enhanced button styling */
    .hero-section .btn {
        padding: 14px 35px;
        font-size: 0.95rem;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-bottom: 30px;
        background-color: #ffffff;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .hero-section .btn:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .hero-section .btn:active {
        transform: scale(0.98) !important;
    }
    
    /* Show scroll arrow and style it better */
    .scroll-down-arrow {
        display: flex !important;
        bottom: 35px;
        z-index: 100;
    }
    
    /* Navigation buttons positioning */
    .swiper-button-next, .swiper-button-prev {
        top: auto !important;
        bottom: 150px !important;
        width: 45px !important;
        height: 45px !important;
        opacity: 0.9;
        background-color: rgba(26, 82, 118, 0.9);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 18px !important;
    }
    
    .swiper-button-next {
        right: 20px !important;
    }
    
    .swiper-button-prev {
        left: 20px !important;
    }
    
    /* Pagination style improvement */
    .swiper-pagination {
        bottom: 90px !important; /* Move above scroll arrow */
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px !important;
        background: rgba(255, 255, 255, 0.6);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .swiper-pagination-bullet-active {
        transform: scale(1.4);
        background: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    
    /* Improved testimonials for mobile */
    .testimonial-card {
        margin: 15px 5px;
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        height: auto;
        background: linear-gradient(145deg, #ffffff, #f8fafc);
    }
    
    .testimonial-img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
        border: 3px solid var(--primary-color);
        box-shadow: 0 5px 15px rgba(26, 82, 118, 0.2);
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #555;
    }
    
    .testimonial-content h5 {
        margin-top: 5px;
        font-size: 1.1rem;
    }
    
    .testimonial-pagination {
        bottom: -5px !important;
    }
    
    /* Service cards on mobile */
    .service-card {
        padding: 25px 20px;
        height: auto;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    /* Section spacing on mobile */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section, .slide-1, .slide-2, .slide-3 {
        min-height: 108vh; /* Full screen height */
    }
    
    .hero-section h1 {
        font-size: 2.1rem;
        margin-top: 0;
        padding: 0 5px;
    }
    
    .hero-section .hero-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    /* Improved button positioning */
    .hero-section .btn {
        margin-bottom: 50px; /* Increased bottom margin */
        padding: 12px 30px;
    }
    
    .swiper-button-next, .swiper-button-prev {
        bottom: 120px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 16px !important;
    }
    
    /* Better pagination positioning */
    .swiper-pagination {
        bottom: 70px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 5px !important;
    }
    
    /* Improved testimonials on small mobile */
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .testimonial-content h5 {
        font-size: 1rem;
    }
    
    .testimonial-content span {
        font-size: 0.8rem;
    }
    
    /* Portfolio items */
    .portfolio-item {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .portfolio-content h5 {
        font-size: 1rem;
    }
    
    .portfolio-content p {
        font-size: 0.85rem;
    }
}

/* Enhanced scroll down arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: none; /* Hidden by default, shown via JS on mobile */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    animation: bounce 2s infinite;
    cursor: pointer;
    background-color: rgba(26, 82, 118, 0.9);
    padding: 12px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.scroll-down-arrow:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) translateX(-50%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

.scroll-down-arrow i {
    font-size: 26px;
    margin-bottom: 5px;
    animation: pulse 2s infinite;
}

.scroll-down-arrow span {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 12px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 767.98px) {
    .scroll-down-arrow {
        padding: 12px 22px;
        bottom: 30px;
        border-width: 2px;
    }
}

@media (max-width: 575.98px) {
    .scroll-down-arrow {
        bottom: 70px;
        padding: 10px 20px;
    }
    
    .scroll-down-arrow i {
        font-size: 22px;
    }
    
    .scroll-down-arrow span {
        font-size: 11px;
    }
}

/* Enhanced testimonials section styling */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=2000') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

.testimonial-card {
    background-color: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px 10px;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 60px;
    color: rgba(26, 82, 118, 0.1);
    line-height: 1;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1);
}

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

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-content h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-content span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.exchange-rate-ticker {
    background-color: #f8f9fa;
    color: #333;
    padding: 10px 0;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.ticker-content {
    display: inline-block;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
} 