/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Prevent horizontal scrolling and zoom issues */
html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4E4BC;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo Image Styles */
.logo-image {
    height: auto;
    max-width: 100%;
    display: block;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo .logo-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.loader-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    animation-delay: 0.2s;
    border-top-color: rgba(212, 175, 55, 0.7);
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    animation-delay: 0.4s;
    border-top-color: rgba(212, 175, 55, 0.5);
}

.loader-text {
    color: var(--text-gray);
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    margin-left: -4px; /* Align logo edge with hero text starting point */
}

.nav-logo .logo-image {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    margin: 3px 0;
    transition: all 0.2s ease-in-out;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, var(--accent-gold) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-text {
    text-align: left;
    padding-left: 0; /* Align text with container edge like logo */
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.badge-text {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    color: var(--primary-black);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.primary:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
}

.button-icon {
    transition: var(--transition-smooth);
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pattern-element {
    position: absolute;
    border: 2px solid var(--accent-gold);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    border-radius: 50%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 40%;
    border-radius: 0;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 60%;
    border-radius: 50%;
    animation-delay: 4s;
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    border-radius: 0;
    animation-delay: 1s;
}

.element-5 {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 30%;
    border-radius: 50%;
    animation-delay: 3s;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    top: 70%;
    right: 30%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--accent-gold);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--secondary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-heading {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.about-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
    height: 150px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.company-info {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.info-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition-slow);
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.service-code {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Vision Section */
.vision {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    position: relative;
    overflow: hidden;
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vision-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 90%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, var(--accent-gold) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px;
    opacity: 0.05;
    animation: float 25s ease-in-out infinite;
}

.vision-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.vision-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.vision-quote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    font-family: 'Playfair Display', serif;
}

.vision-divider {
    width: 100px;
    height: 2px;
    background: var(--accent-gold);
    margin: 2rem auto;
}

.vision-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.vision-values {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: row;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.value-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.value-text {
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--primary-black);
}

.testimonials-slider {
    margin-top: 4rem;
}

.testimonials-swiper {
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.testimonial-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-black);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.author-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--accent-gold);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-gold);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: var(--secondary-black);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
}

.member-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.member-photo {
    margin-bottom: 1.5rem;
    position: relative;
}

.photo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.member-card:hover .photo-placeholder {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-white);
}

.initials {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 2px;
}

.member-name {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.member-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-heading {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.contact-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-text strong {
    color: var(--accent-gold);
}

.contact-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-gray);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-gray);
}

.form-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.form-group input:focus ~ .form-line::after,
.form-group textarea:focus ~ .form-line::after {
    width: 100%;
}

.submit-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8941F 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
    background: var(--secondary-black);
    border-top: 1px solid var(--accent-gold);
    padding: 2rem 0 1.5rem; /* Slightly more padding for better balance */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem; /* Better spacing */
}

.footer-logo .logo-image {
    max-height: 60px; /* Match header logo size */
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

/* Safari Mobile Fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix viewport height issues */
    body {
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
        overflow-x: hidden;
    }
    
    html {
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        overflow-x: hidden;
    }
    
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .form-group input,
    .form-group textarea {
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    /* Fix logo alignment in Safari */
    .nav-logo {
        transform: translateX(-4px);
        -webkit-transform: translateX(-4px);
    }
    
    /* Prevent horizontal scrolling */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix section layouts */
    .about-content,
    .contact-content,
    .hero-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix grid layouts in Safari */
    .services-grid,
    .about-stats,
    .vision-values {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .service-card,
    .stat-item,
    .value-item {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 300px;
        -ms-flex: 1 1 300px;
        flex: 1 1 300px;
        max-width: 400px;
    }
}

/* Mobile Viewport Fix */
@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    /* Safari-specific body fixes */
    body {
        position: relative;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Container fixes for Safari */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        border-top: 1px solid var(--glass-border);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        font-size: 1.1rem;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        padding: 0.75rem;
    }
    
    .nav-toggle span {
        width: 26px;
        height: 3px;
        margin: 3px 0;
        transition: all 0.2s ease-in-out;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Container and spacing */
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile logo sizes - scaled proportionally */
    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    .nav-logo {
        margin-left: -2px; /* Proportional alignment for mobile */
        position: relative;
    }
    
    /* Safari-specific logo fix */
    @supports (-webkit-touch-callout: none) {
        .nav-logo {
            transform: translateX(-4px) !important;
            -webkit-transform: translateX(-4px) !important;
            margin-left: 0 !important;
        }
    }
    
    .nav-logo .logo-image {
        max-height: 45px;
        display: block;
        position: relative;
    }
    
    .footer-logo .logo-image {
        max-height: 45px; /* Match nav logo on mobile */
    }
    
    /* Section padding - reduced for mobile */
    .about,
    .services,
    .vision,
    .testimonials,
    .team,
    .contact {
        padding: 3rem 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        min-height: calc(100vh - 70px);
        display: flex;
        align-items: center;
        padding-top: 70px;
        padding-bottom: 2rem;
        position: relative;
        overflow: hidden;
    }
    
    /* Hero section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
        padding: 2rem 0;
        align-items: flex-start;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    .hero-visual {
        display: none; /* Hide on mobile for cleaner look */
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        text-align: left;
        max-width: none;
    }
    
    .hero-cta {
        justify-content: flex-start;
        flex-direction: column;
        gap: 1rem;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        min-height: 52px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 26px;
        white-space: nowrap;
        text-align: center;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .title-underline {
        width: 60px;
        margin-bottom: 1.5rem;
    }
    
    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .about-visual {
        order: -1;
        margin-bottom: 1rem;
        height: 150px;
    }
    
    .about-heading {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .about-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
        text-align: left;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .company-info {
        margin-top: 1.5rem;
        padding-top: 1rem;
        text-align: center;
        padding: 1rem;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .info-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .service-card {
        padding: 1.25rem;
        margin-bottom: 0;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
        text-align: left;
    }
    
    /* Vision section */
    .vision-content {
        text-align: center;
    }
    
    .vision-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .vision-quote {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .vision-description {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
    }
    
    .vision-values {
        flex-direction: column !important;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
        width: 100% !important;
        flex-wrap: nowrap !important;
        padding: 0 1rem;
        display: flex !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    .value-item {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 320px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
        flex: none !important;
        min-width: auto !important;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .value-text {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Testimonials section */
    .testimonials-swiper {
        padding: 0;
        overflow: visible;
    }
    
    .testimonial-card {
        margin: 0 0.5rem;
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-title {
        font-size: 0.85rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }
    
    /* Team section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .member-card {
        padding: 1.25rem;
        margin-bottom: 0;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-title {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .photo-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .initials {
        font-size: 2rem;
    }
    
    /* Contact section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-heading {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .contact-details {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        padding: 1rem;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 1.25rem;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 1rem;
        min-height: 48px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
        border: 1px solid var(--glass-border);
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-white);
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .submit-button {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    /* Hide desktop elements on mobile */
    .floating-card,
    .geometric-pattern,
    .floating-element,
    .hero-particles,
    .vision-particles,
    .scroll-indicator {
        display: none;
    }
    
    /* Disable hover effects on mobile */
    .service-card:hover,
    .testimonial-card:hover,
    .member-card:hover,
    .stat-item:hover,
    .value-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Mobile optimizations */
    .service-card,
    .testimonial-card,
    .member-card {
        cursor: default;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        transition: none;
    }
    
    .hero-description,
    .about-description,
    .service-description,
    .testimonial-text,
    .member-description {
        user-select: text;
        -webkit-user-select: text;
    }
    
    /* Better mobile focus states */
    .nav-link:focus,
    .cta-button:focus,
    .submit-button:focus,
    .form-group input:focus,
    .form-group textarea:focus {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
    
    /* Mobile section transitions */
    .about,
    .services,
    .vision,
    .testimonials,
    .team,
    .contact {
        scroll-margin-top: 80px;
    }
    
    /* Better contrast for mobile */
    .text-gray {
        color: #DDDDDD;
    }
    
    /* Mobile-optimized text sizing */
    .hero-title,
    .section-title,
    .about-heading,
    .contact-heading {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure AOS animations work on mobile */
    [data-aos] {
        transition: all 0.8s ease-in-out !important;
    }
    
    /* Mobile-specific hero animations */
    .title-line {
        animation: mobileSlideInUp 1s ease-out forwards;
        animation-delay: 0.3s;
    }
    
    .title-line:nth-child(2) {
        animation-delay: 0.5s;
    }
    
    .hero-subtitle {
        animation: mobileFadeInUp 1s ease-out 0.7s forwards;
    }
    
    .hero-description {
        animation: mobileFadeInUp 0.8s ease-out 0.9s forwards;
    }
    
    .hero-cta {
        animation: mobileFadeInUp 0.8s ease-out 1.1s forwards;
    }
    
    /* About section mobile animations */
    .about-text {
        animation: mobileSlideInLeft 1s ease-out forwards;
    }
    
    .stat-item {
        animation: mobileSlideInUp 0.8s ease-out forwards;
    }
    
    .stat-item:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .stat-item:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .stat-item:nth-child(3) {
        animation-delay: 0.6s;
    }
    
    /* Service cards mobile animations */
    .service-card {
        animation: mobileSlideInUp 0.8s ease-out forwards;
    }
    
    .service-card:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .service-card:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .service-card:nth-child(3) {
        animation-delay: 0.6s;
    }
}

/* Mobile-specific vision values fix */
@media (max-width: 768px) {
    .vision-values {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    
    .vision-values .value-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 280px !important;
        flex: none !important;
        min-width: auto !important;
    }
}

/* Mobile Animation Keyframes */
@keyframes mobileSlideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes mobileFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes mobileSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes mobileSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

/* Enhanced Mobile Animations */
@media (max-width: 768px) {
    /* Set initial state for mobile animations */
    .title-line,
    .hero-subtitle,
    .hero-description,
    .hero-cta,
    .about-heading,
    .about-description,
    .stat-item,
    .service-card {
        opacity: 0;
        transform: translateY(30px);
    }
    
    /* Hero section mobile animations */
    .title-line {
        animation: mobileSlideInUp 0.8s ease-out forwards;
    }
    
    .title-line:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .title-line:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .hero-subtitle {
        animation: mobileFadeInUp 0.8s ease-out 0.6s forwards;
    }
    
    .hero-description {
        animation: mobileFadeInUp 0.8s ease-out 0.8s forwards;
    }
    
    .hero-cta {
        animation: mobileFadeInUp 0.8s ease-out 1.0s forwards;
    }
    
    /* About section mobile animations */
    .about-heading {
        animation: mobileSlideInLeft 0.8s ease-out 0.2s forwards;
    }
    
    .about-description {
        animation: mobileSlideInLeft 0.8s ease-out 0.4s forwards;
    }
    
    .stat-item {
        animation: mobileSlideInUp 0.6s ease-out forwards;
    }
    
    .stat-item:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .stat-item:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .stat-item:nth-child(3) {
        animation-delay: 0.6s;
    }
    
    /* Service cards mobile animations */
    .service-card {
        animation: mobileSlideInUp 0.6s ease-out forwards;
    }
    
    .service-card:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .service-card:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .service-card:nth-child(3) {
        animation-delay: 0.6s;
    }
}

/* Landscape mobile orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about,
    .services,
    .vision,
    .testimonials,
    .team,
    .contact {
        padding: 3rem 0;
    }
    
    .nav-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
        height: 65px;
    }
    
    .nav-logo {
        margin-left: -1px; /* Slight alignment for small mobile */
    }
    
    .nav-logo .logo-image {
        max-height: 45px;
    }
    
    .hero {
        padding: 65px 0 1rem 0;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        gap: 0.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .about-heading,
    .contact-heading {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .service-card,
    .testimonial-card,
    .member-card {
        padding: 1rem;
        margin: 0;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-title {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.95rem;
    }
    
    .vision-quote {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .vision-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .value-item {
        padding: 1.25rem 1rem;
        margin-bottom: 0.75rem;
        max-width: 250px;
        flex: none !important;
        min-width: auto !important;
    }
    
    .value-icon {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .value-text {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-title {
        font-size: 0.85rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
    
    .footer-logo .logo-image {
        max-height: 40px; /* Match nav logo on small mobile */
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .about,
    .services,
    .vision,
    .testimonials,
    .team,
    .contact {
        padding: 2.5rem 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding: 60px 0 1rem 0;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-cta {
        gap: 0.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .service-card,
    .testimonial-card,
    .member-card {
        padding: 1rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        height: 60px;
    }
    
    .nav-logo {
        margin-left: -0.5px; /* Minimal alignment for extra small mobile */
    }
    
    .nav-logo .logo-image {
        max-height: 40px;
    }
    
    .footer-logo .logo-image {
        max-height: 35px; /* Match nav logo on extra small mobile */
    }
    
    .about,
    .services,
    .vision,
    .testimonials,
    .team,
    .contact {
        padding: 2rem 0;
    }
    
    .value-item {
        padding: 1rem 0.75rem;
        max-width: 220px;
        min-height: 100px;
    }
    
    .value-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .value-text {
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content,
    .contact-content {
        gap: 3rem;
    }
    
    .vision-values {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .value-item {
        flex: 0 1 280px;
        max-width: 280px;
        min-width: 240px;
    }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-toggle span,
    .title-underline,
    .form-line {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Hardware acceleration for smooth animations */
    .hero-content,
    .nav-menu,
    .cta-button,
    .service-card,
    .value-item {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .hero-particles,
    .hero-shimmer,
    .vision-particles {
        display: none;
    }
    
    /* Optimize transforms for mobile */
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Prevent overscroll bounce on iOS Safari */
    body {
        overscroll-behavior: none;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    /* Safari-specific overscroll fixes */
    @supports (-webkit-touch-callout: none) {
        html {
            position: static;
        }
        
        body {
            position: relative;
            overflow-x: hidden;
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
        }
        
        .hero, .about, .services, .vision, .testimonials, .team, .contact {
            position: relative;
            overflow-x: hidden;
            width: 100%;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
        }
    }
}

/* iPhone X/11/12/13/14 Safe Area Support */
@supports (padding: max(0px)) {
    .nav-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .hero {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
    html {
        height: 100%;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        height: 100%;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    /* Fix viewport units in Safari */
    .hero {
        min-height: 100vh;
        min-height: calc(100vh - 70px);
        min-height: calc(100dvh - 70px);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu {
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent overscroll bounce */
    .hero, .about, .services, .vision, .testimonials, .team, .contact {
        position: relative;
        overflow-x: hidden;
    }
    
    /* Fix logo positioning in Safari */
    .nav-logo {
        position: relative;
        transform: translateX(-4px);
        -webkit-transform: translateX(-4px);
    }
    
    /* Fix container widths */
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        overflow-x: hidden;
    }
    
    /* Fix grid layouts for Safari */
    .hero-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }
    
    .about-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }
    
    .contact-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }
}

/* Android Chrome specific fixes */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }
}

/* Mobile accessibility improvements */
@media (max-width: 768px) {
    /* Better contrast for mobile */
    .text-gray {
        color: #DDDDDD;
    }
    
    /* Larger touch targets for accessibility */
    .nav-toggle {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-toggle span {
        width: 28px;
        height: 3px;
        margin: 4px 0;
    }
    
    /* Better mobile focus indicators */
    *:focus {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
    
    /* Mobile-optimized text sizing */
    .hero-title,
    .section-title,
    .about-heading,
    .contact-heading {
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Prevent zoom on input focus */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Better button touch targets */
    .cta-button,
    .submit-button,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Privacy Policy and Terms of Service Pages */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 80px 0;
    background: var(--primary-black);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.content-section:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-white);
    margin: 1.5rem 0 1rem;
}

.content-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    position: relative;
}

.content-section li::before {
    content: '•';
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.content-section strong {
    color: var(--text-white);
    font-weight: 600;
}

.contact-info {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--accent-gold);
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .content-section h3 {
        font-size: 1.1rem;
    }
    
    .content-section ul {
        padding-left: 1.5rem;
    }
}

/* Ensure consistent left alignment across sections */
.about-heading,
.contact-heading,
.section-title {
    text-align: left;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center; /* Keep section titles centered */
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} 