/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #d4af37;
    --accent-color: #0f3460;
    --accent-light: #16213e;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-section: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

#header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.company-name {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    color: var(--secondary-color);
}

nav a i {
    font-size: 1.1rem;
}

/* Hero Section - Professional Side-by-Side Layout */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #0f3460 100%);
}

/* Animated geometric background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 52, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 1;
    animation: patternMove 15s ease-in-out infinite alternate;
}

@keyframes patternMove {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Floating geometric shapes */
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 10%;
    animation: floatShape 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
        border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
        border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
    }
}

.hero > img {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

.hero-text {
    padding: 40px;
}

.hero-text h1 {
    font-size: 3.8rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 900;
    line-height: 1.2;
    position: relative;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    animation: expandLine 1s ease forwards 1.3s;
}

@keyframes expandLine {
    to {
        width: 120px;
    }
}

.hero-text .highlight {
    color: var(--secondary-color);
    display: block;
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typewriter effect for subtitle */
.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 1.5s;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--secondary-color);
    width: 0;
    animation: typewriter 3s steps(40) forwards 1.5s, blink 0.75s step-end infinite 1.5s;
}

@keyframes typewriter {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    margin-top: 30px;
    line-height: 1.9;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: slideInRight 1.2s ease forwards 0.5s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 30px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Decorative elements around image */
.hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 3s ease-in-out infinite 2s;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary-color), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0;
    animation: rotate 10s linear infinite 2s, fadeIn 1s ease forwards 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.2;
    }
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--secondary-color), #c29e2e);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards 3.5s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

/* Particles effect */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation: floatParticle 8s ease-in-out infinite 1s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation: floatParticle 7s ease-in-out infinite 2s;
}

.particle:nth-child(4) {
    top: 70%;
    left: 60%;
    animation: floatParticle 9s ease-in-out infinite 1.5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.4;
    }
    90% {
        opacity: 0.8;
    }
}

/* Services Section - Side by Side Layout */
.bckrgnd {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #0f3460 100%);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.bckrgnd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 52, 96, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: patternMove 15s ease-in-out infinite alternate;
}

@keyframes patternMove {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Animated floating particles for services */
.bckrgnd::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(3px 3px at 50% 50%, rgba(212, 175, 55, 0.2), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(3px 3px at 30% 80%, rgba(212, 175, 55, 0.2), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0.6;
}

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 0% 50%;
    }
}

.services {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--secondary-color);
    transition: width 0.8s ease 0.3s;
}

.section-title.animate h2::after {
    width: 80px;
}

.section-title p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card.animate::before {
    transform: scaleX(1);
}

.service-card:nth-child(1).animate {
    transition-delay: 0.1s;
}

.service-card:nth-child(2).animate {
    transition-delay: 0.2s;
}

.service-card:nth-child(3).animate {
    transition-delay: 0.3s;
}

.service-card:nth-child(4).animate {
    transition-delay: 0.4s;
}

.service-card:nth-child(5).animate {
    transition-delay: 0.5s;
}

.service-card:nth-child(6).animate {
    transition-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 46, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.15) rotate(2deg);
}

.service-content {
    padding: 35px 30px;
    position: relative;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-content::before {
    opacity: 1;
}

.service-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--secondary-color);
}

.service-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    transition: color 0.3s ease;
}

.service-card:hover .service-content p {
    color: #333;
}

/* About Section - Asymmetrical Layout */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about-img {
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary-color);
    border-radius: 20px;
    z-index: 0;
}

.about-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.about-img:hover img {
    transform: translate(10px, 10px);
}

.about-text {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px 0 0 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 800;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* Team Section */
.bckrnd2 {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #0f3460 100%);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.bckrnd2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(15, 52, 96, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: patternShift 20s ease-in-out infinite alternate;
}

@keyframes patternShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, -30px);
    }
}

/* Diagonal moving stripes */
.bckrnd2::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(212, 175, 55, 0.03) 100px,
        rgba(212, 175, 55, 0.03) 200px
    );
    animation: diagonalMove 30s linear infinite;
    z-index: 1;
}

@keyframes diagonalMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(141px, 141px);
    }
}

.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.team-section .section-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 80px;
    font-weight: 800;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.team-section .section-title.animate {
    opacity: 1;
    transform: scale(1);
}

.team-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--secondary-color);
    transition: width 0.8s ease 0.3s;
}

.team-section .section-title.animate::after {
    width: 100px;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    margin-bottom: 70px;
    background: rgba(255, 255, 255, 0.98);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-100px);
}

.team-member.animate {
    opacity: 1;
    transform: translateX(0);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.8s ease 0.3s;
}

.team-member.animate::before {
    width: 100%;
}

.team-member:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.team-member:nth-child(even) {
    grid-template-columns: 380px 1fr;
    transform: translateX(100px);
}

.team-member:nth-child(even).animate {
    transform: translateX(0);
}

.team-member:nth-child(even) .member-profile {
    order: -1;
}

.team-member:nth-child(even):hover {
    transform: translateX(-15px);
}

.member-profile {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 50px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.member-profile::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatCircle 15s ease-in-out infinite;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30px, 30px);
    }
}

.member-profile h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.animate .member-profile h3 {
    animation: fadeInUp 0.6s ease forwards 0.5s;
}

.member-profile .role {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.animate .member-profile .role {
    animation: fadeInUp 0.6s ease forwards 0.7s;
}

.member-info p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.animate .member-info p {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

/* Testimonials (Vision/Mission/Values) */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.1)"/></svg>');
    opacity: 0.3;
    animation: patternSlide 30s linear infinite;
}

@keyframes patternSlide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(10deg);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
}

.testimonial-card:nth-child(2).animate {
    transition-delay: 0.2s;
}

.testimonial-card:nth-child(3).animate {
    transition-delay: 0.4s;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease 0.3s;
}

.testimonial-card.animate::before {
    transform: scaleX(1);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.testimonial-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.testimonial-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 800;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}

.testimonial-card.animate .testimonial-text h2 {
    animation: slideInFromLeft 0.6s ease forwards 0.3s;
}

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
}

.testimonial-text ul {
    list-style: none;
}

.testimonial-text li {
    padding: 15px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 30px;
    opacity: 0;
    transform: translateX(-20px);
}

.testimonial-card.animate .testimonial-text li:nth-child(1) {
    animation: slideInFromLeft 0.5s ease forwards 0.5s;
}

.testimonial-card.animate .testimonial-text li:nth-child(2) {
    animation: slideInFromLeft 0.5s ease forwards 0.6s;
}

.testimonial-card.animate .testimonial-text li:nth-child(3) {
    animation: slideInFromLeft 0.5s ease forwards 0.7s;
}

.testimonial-card.animate .testimonial-text li:nth-child(4) {
    animation: slideInFromLeft 0.5s ease forwards 0.8s;
}

.testimonial-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(0);
}

.testimonial-card.animate .testimonial-text li::before {
    animation: popCheck 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards 0.9s;
}

@keyframes popCheck {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-text li:last-child {
    border-bottom: none;
}

/* Contact Section */
.bck3 {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #0f3460 100%);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.bck3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(15, 52, 96, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Wave animation */
.bck3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(ellipse at 0% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: waveMove 25s ease-in-out infinite;
    z-index: 1;
}

@keyframes waveMove {
    0%, 100% {
        background-position: 0% 50%, 100% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%;
    }
}

.contact {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-info.animate h2,
.contact-form.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-color);
    opacity: 0;
    transform: translateX(-50px);
}

.info-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.info-item:nth-child(2).animate {
    transition-delay: 0.2s;
}

.info-item:nth-child(3).animate {
    transition-delay: 0.4s;
}

.info-item:nth-child(4).animate {
    transition-delay: 0.6s;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    font-size: 2.5rem;
    min-width: 60px;
}

.info-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-text p,
.info-text a {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-text a {
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.contact-form.animate {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.contact-form.animate .form-group {
    opacity: 1;
    transform: translateY(0);
}

.contact-form.animate .form-group:nth-child(1) {
    transition-delay: 0.2s;
}

.contact-form.animate .form-group:nth-child(2) {
    transition-delay: 0.3s;
}

.contact-form.animate .form-group:nth-child(3) {
    transition-delay: 0.4s;
}

.contact-form.animate .form-group:nth-child(4) {
    transition-delay: 0.5s;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary-color), #c29e2e);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    opacity: 0;
    transform: scale(0.9);
}

.contact-form.animate .submit-btn {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.6s;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #c29e2e;
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav a {
        padding: 15px 20px;
    }

    .company-name {
        font-size: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        padding: 20px;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .highlight {
        font-size: 3rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
        white-space: normal;
        border-right: none;
        animation: fadeIn 0.5s ease forwards 1.5s;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 1;
    }

    .about-img {
        order: 2;
    }

    .team-member,
    .team-member:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .team-member:nth-child(even) .member-profile {
        order: 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 1;
    }

    .contact-form {
        order: 2;
    }

    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) .service-image {
        order: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        padding: 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text .highlight {
        font-size: 2.2rem;
    }

    .hero-text .subtitle {
        font-size: 1rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .hero-image::before,
    .hero-image::after {
        display: none;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .team-member {
        padding: 30px 20px;
    }

    .member-profile {
        padding: 30px 20px;
    }

    .member-profile h3 {
        font-size: 1.6rem;
    }

    .member-profile .role {
        font-size: 1rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 2rem;
    }

    .info-item {
        padding: 20px;
        flex-direction: column;
    }

    .info-icon {
        font-size: 2rem;
    }

    .info-text h3 {
        font-size: 1.2rem;
    }

    .info-text p,
    .info-text a {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-text h2 {
        font-size: 1.6rem;
    }

    .service-card {
        min-height: auto;
    }

    .service-content {
        padding: 25px 20px;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .about-text {
        padding: 25px 20px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}