/* Global Styles */
:root {
    /* Primary Colors from Logo */
    --primary-color: #2c5282;      /* Dark Blue */
    --secondary-color: #e53e3e;    /* Red */
    --accent-color: #38b2ac;       /* Teal */
    
    /* Neutral Colors */
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --container-bg: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Gradients & Effects */
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    /* Specific UI Colors */
    --header-bg: var(--white);
    --footer-bg: var(--dark-color);
    --button-bg: var(--primary-color);
    --button-hover: #2c5282;
    --link-color: var(--primary-color);
    --link-hover: var(--secondary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling and scrollbar styling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 25px;
    background: var(--container-bg);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.cta-button {
    animation: fadeIn 1s ease-out 0.9s both, pulse 2s infinite 2s;
    background: var(--secondary-color);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #e63939;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.cta-button:hover {
    background: #c0392b;
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Animated Background for Hero */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
    line-height: 1;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Logo tagline */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block !important;
}

/* Mobile menu button - hidden by default */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 5px 12px;
    outline: none;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure the menu button is visible on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    /* Add a subtle background to the header on mobile for better contrast */
    header {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
}

.mobile-menu-btn i {
    display: block;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Image Section */
.hero-image {
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
    position: relative;
    max-height: 80vh;
}

.hero-banner {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
    display: block;
}

/* Ensure content below hero image is not hidden */
.services {
    padding-top: 40px;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
    animation: slideUp 1s ease-out 0.3s both;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.5px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    -webkit-text-fill-color: #ffffff;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: widthGrow 1s ease-out 1s both;
}

.hero h3 {
    font-size: 1.6rem;
    margin: 30px auto 40px;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    padding: 0 20px;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes widthGrow {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        padding: 0 20px;
    }
    
    .hero h3 {
        font-size: 1.2rem;
        margin: 20px auto 30px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.1rem;
        margin: 15px auto 25px;
    }
}

/* Responsive adjustments for hero image */
@media (max-width: 768px) {
    .hero-image,
    .hero-banner {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero-image,
    .hero-banner {
        max-height: 50vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 82, 130, 0.3), rgba(231, 76, 60, 0.2));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: slideUp 1s ease-out 0.3s both;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.5px;
    animation: fadeIn 1s ease-out 0.5s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.7s both;
    color: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    position: relative;
    display: inline-block;
    margin: 0 auto 60px;
    padding-bottom: 15px;
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) rotateY(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.03;
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1), rgba(56, 178, 172, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card:hover .icon-container {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    margin: 20px 0 15px;
    color: var(--dark-color);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.4s ease;
}

.service-card:hover h3::after {
    width: 60px;
    background: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.service-features {
    text-align: left;
    margin: 20px 0 25px;
    padding: 0;
    list-style: none;
}

.service-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card:hover .service-features li::before {
    color: var(--primary-color);
    transform: scale(1.2);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.learn-more:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 178, 172, 0.3);
    border-color: var(--accent-color);
}

.learn-more:hover::before {
    left: 100%;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.learn-more::after {
    display: none;
}

/* Add staggered animation for service cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.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; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

.team .container {
    position: relative;
    z-index: 1;
}

.team h2 {
    position: relative;
    display: inline-block;
    margin: 0 auto 60px;
    padding-bottom: 15px;
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.team-member {
    background: white;
    padding: 40px 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02) rotateY(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.team-member:hover::before {
    height: 100%;
    opacity: 0.03;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 15px;
    background: #f5f7fa;
    position: relative;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 82, 130, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.team-member:hover .social-overlay {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-link, .phone-link {
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.email-link i, .phone-link i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.email-link:hover, .phone-link:hover {
    color: var(--primary-color);
}

.email-link:hover i, .phone-link:hover i {
    transform: scale(1.2);
}

.position {
    color: var(--accent-color);
    font-weight: 600;
    margin: 5px 0 15px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.position::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.team-member:hover .position::after {
    width: 60px;
    background: var(--accent-color);
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.team-member:hover .member-photo::after {
    opacity: 0.1;
}

.team-member h3 {
    margin: 25px 0 5px;
    color: var(--dark-color);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.team-member h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.4s ease;
}

.team-member:hover h3::after {
    width: 60px;
    background: var(--primary-color);
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.team-member a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.team-member a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.team-member a:hover {
    color: var(--accent-color);
}

.team-member a:hover::after {
    width: 100%;
}

.team-member a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.team-member a:hover i {
    transform: translateX(5px);
}

/* Add staggered animation for team members */
.team-member {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    padding: 100px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cmVjdCB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIGZpbGw9IiNlZWYiLz48cGF0aCBkPSJNMzYgMzRjMC0yLjIwOS0xLjc5MS00LTQtNHMtNCAxLjc5MS00IDQgMS43OTEgNCA0IDQgNC0xLjc5MSA0LTRtMC0xNGMwLTIuMjA5LTEuNzkxLTQtNC00cy00IDEuNzkxLTQgNCAxLjc5MSA0IDQgNCA0LTEuNzkxIDQtNG0tMTQgMGMwLTIuMjA5LTEuNzkxLTQtNC00cy00IDEuNzkxLTQgNCAxLjc5MSA0IDQgNCA0LTEuNzkxIDQtNHoiIGZpbGw9IiNlMWU1ZTkiIG9wYWNpdHk9IjAuNSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    position: relative;
    display: inline-block;
    margin: 0 auto 60px;
    padding-bottom: 15px;
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 50px;
    perspective: 1200px;
}

.contact-info {
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-info:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.contact-info:hover::before {
    height: 100%;
    opacity: 0.03;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: all 0.4s ease;
}

.contact-info:hover h3::after {
    width: 100px;
}

.contact-info p {
    margin-bottom: 25px;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.contact-info i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    height: 25px;
    background: rgba(44, 82, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-info:hover i {
    background: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(44, 82, 130, 0.2);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2);
}

.contact-form {
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-form:hover {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.contact-form:hover::before {
    height: 100%;
    opacity: 0.03;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    transition: all 0.4s ease;
}

.contact-form:hover h3::after {
    width: 100px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    animation: btnPulse 1.5s infinite;
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* Footer */
footer {
    background: linear-gradient(145deg, #1a1f2e 0%, #0f121b 100%);
    color: var(--white);
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 60px 0 0;
    border-top: 4px solid var(--secondary-color);
}

.footer-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px 8px 0 0;
    padding: 20px 0 0;
    margin: 0 20px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-logo p {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 5px 0;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 0.7em;
    width: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(229, 62, 62, 0.3);
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.footer-services li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-services li a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 5px 0;
}

.footer-services li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 0.9em;
    width: 20px;
    text-align: center;
}

.footer-services li:hover a {
    color: var(--secondary-color);
    transform: translateX(8px);
}

.footer-services li:hover a i {
    transform: scale(1.2);
}

.footer-contact p {
    color: #e0e0e0;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    color: #ffffff;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
    margin: 40px -20px -20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links,
    .footer-services,
    .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4 {
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-services h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul,
    .footer-services ul {
        text-align: center;
    }
    
    .footer-links a,
    .footer-services a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
        text-align: center;
    }
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
    font-size: 0.9rem;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .container {
        padding: 10px 15px;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    /* Show mobile menu button on mobile */
    .mobile-menu-btn {
        display: block;
        order: 2;
    }
    
    /* Hide regular nav on mobile */
    nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4 {
        justify-content: center;
    }
    
    .footer-links h4::after,
    .footer-services h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #f9fafb;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .map-container {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 40px 0;
    }
    
    .map-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .map-container {
        margin: 0 15px;
    }
}

@media (max-width: 576px) {
    .map-section h2 {
        font-size: 1.6rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
}
