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

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary: #A0522D;
    --primary-dark: #6f7984;
    --secondary: #F59E0B;
    --accent: #EC4899;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    height: auto;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.logo-icon {
    font-size: 20px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.btn-appointment {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.btn-appointment::after {
    display: none;
}

.btn-appointment:hover {
    background:  #4c5866;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    display: block;
}

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

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    transform-origin: center;
    will-change: transform;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-parallax-bg {
    background-image: url('slider2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(249, 250, 251, 0.90) 100%);
    z-index: 1;
}

.parallax-section {
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #1f2937;
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cosmic-circle {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-inner {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.orbiting-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 150px 0;
}

.dot-1 {
    animation: orbit 8s linear infinite;
}

.dot-2 {
    animation: orbit 12s linear infinite reverse;
    transform-origin: 150px 0;
    background: var(--secondary);
}

.dot-3 {
    animation: orbit 15s linear infinite;
    transform-origin: 150px 0;
    background: var(--accent);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: var(--primary);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 30px; opacity: 1; }
    50% { height: 50px; opacity: 0.5; }
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
}

/* About Section */
.about {
    background:#ebedef;
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 400px;
}

.image-frame {
    position: relative;
    padding: 12px;
    background: var(--bg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.image-frame img {
    width: 100%;padding:20px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.frame-decoration {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    border-radius: 4px 0 0 0;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.3;
}

.about-text {
    max-width: 600px;
}

.about-intro {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.about-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.cred-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cred-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cred-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.cred-item p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Services Section */
.services {
    background: var(--bg);
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-item {
    position: relative;
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 0px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-item:hover::before {
    /*transform: scaleY(1);*/
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 700;
    color: #6f7984;
    opacity: 0.1;
    font-family: 'Inter', sans-serif;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #4c5866;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-item > .service-content > p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-item ul {
    list-style: none;
}

.service-item ul li {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--bg);
    position: relative;
    padding: 100px 0;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose-left {
    position: relative;
    z-index: 2;
}

.why-choose-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.why-choose-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.why-choose-arrow {
    color: var(--text-light);
    font-size: 24px;
    opacity: 0.5;
}

.why-choose-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.why-choose-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

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

.why-choose-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-choose-btn {
    padding: 24px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #414e5e 0%, #555a60 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary-gradient:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, #795548 0%, #695148 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary-gradient:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-tertiary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.btn-tertiary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.btn-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.btn-subtitle {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
    display: block;
}

.btn-tertiary .btn-title {
    color: var(--text-dark);
}

.btn-tertiary .btn-subtitle {
    color: var(--text-gray);
}

.why-choose-right {
    position: relative;
    z-index: 2;
}

.why-choose-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.image-overlay-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(99, 102, 241, 0.3) 100%);*/
    clip-path: ellipse(80% 100% at 100% 50%);
    z-index: 2;
    pointer-events: none;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #ce7a78 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-rating {
    color: #FBBF24;
    font-size: 12px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.testimonial-author p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* FAQ Section */
.faq {
    background: var(--bg);
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-question h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro {
    font-size: 15px;
    color: var(--text-gray);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-detail-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.detail-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .detail-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.contact-detail-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-detail-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 4px 0;
    line-height: 1.6;
}

.contact-form-container {
    background: var(--bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

/* Appointment Section */
.appointment {
    background: var(--bg);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-top: 60px;
}

.appointment-intro {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.appointment-benefits {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray);
}

.benefit-item i {
    color: var(--primary);
    font-size: 16px;
}

.appointment-note {
    background: rgba(99, 102, 241, 0.1);
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.appointment-note i {
    color: var(--primary);
    margin-top: 2px;
}

.appointment-note p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.appointment-form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* Counters Section */
.counters {
    background: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.counters-parallax-bg {
    background-image: url('https://astrowithraman.com/public/uploads/slider.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    will-change: transform;
    overflow: hidden;
    pointer-events: none;
    max-width: 100%;
}

.counters-parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0% 0%, rgb(78 90 105) 100%);
    z-index: 1;
}

.counters-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.counters-left {
    display: flex;
    align-items: center;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.counter-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, #a0522d 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.counter-item:hover::before {
    transform: scaleX(1);
}

.counter-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.counter-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.4;
}

.counters-right {
    max-width: 600px;
}

.counters-content {
    margin-top: 32px;
}

.counters-intro {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 500;
}

.counters-content p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.counters-highlight {
    background: var(--bg);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-top: 32px;
    position: relative;
    box-shadow: var(--shadow);
}

.counters-highlight i {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 24px;
}

.counters-highlight p {
    font-size: 16px;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    padding-left: 40px;
    line-height: 1.8;
    font-weight: 500;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary) !important;
    color: white !important;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999999 !important;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-gray);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bg);
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--secondary);
}

.footer-col p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    color: var(--bg);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-col ul li i {
    color: var(--secondary);
    margin-right: 8px;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content,
    .about-content,
    .contact-wrapper,
    .appointment-wrapper,
    .counters-wrapper {
        gap: 50px;
    }
    
    .services-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .counters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .counter-number {
        font-size: 32px;
    }

    .about-image-wrapper {
        max-width: 350px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--bg);
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        border-top: 1px solid var(--border);
        gap: 0;
        align-items: flex-start;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 12px 0;
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .btn-appointment {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        margin-top: 8px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .about-content,
    .appointment-wrapper,
    .counters-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    .credentials {
        grid-template-columns: 1fr;
    }

    .counters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .counter-item {
        padding: 24px 16px;
    }

    .counter-number {
        font-size: 28px;
    }

    .counter-label {
        font-size: 11px;
    }

    .hero-title {
        font-size: 36px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-choose-buttons {
        grid-template-columns: 1fr;
    }

    .why-choose-image-wrapper {
        height: 500px;
    }

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .scroll-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        z-index: 999999 !important;
        position: fixed !important;
        display: flex !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .scroll-to-top.visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: flex !important;
    }
}

@media (max-width: 640px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    * {
        max-width: 100%;
    }

    .section-container {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-container {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .logo img {
        max-height: 45px;
        max-width: 180px;
    }

    .hero-content {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .parallax-bg {
        left: -50%;
        width: 200%;
        overflow: hidden;
        pointer-events: none;
        z-index: 0;
    }

    .hero-parallax-bg {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        overflow: hidden;
    }

    .hero-text,
    .hero-visual {
        position: relative;
        z-index: 2;
    }

    .parallax-section {
        overflow: hidden !important;
        position: relative;
    }

    .counters-parallax-bg {
        overflow: hidden;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .floating-elements {
        overflow: hidden;
    }

    section {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .hero {
        padding: 80px 20px 40px !important;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column;
        gap: 30px;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        order: 2;
    }

    .hero-visual {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .cosmic-circle {
        width: 200px !important;
        height: 200px !important;
    }

    .circle-inner {
        width: 120px !important;
        height: 120px !important;
    }

    .dot {
        transform-origin: 100px 0 !important;
    }

    @keyframes orbit {
        from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
    }

    .scroll-hint {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-form-container {
        padding: 24px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-detail-item {
        padding: 28px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cosmic-circle {
        width: 250px;
        height: 250px;
    }

    .circle-inner {
        width: 150px;
        height: 150px;
    }

    .dot {
        transform-origin: 125px 0;
    }

    @keyframes orbit {
        from { transform: rotate(0deg) translateX(125px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
    }

    .counters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scroll-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        z-index: 999999 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
        position: fixed !important;
        display: flex !important;
        background: var(--primary) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .scroll-to-top.visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: flex !important;
    }

    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .why-choose-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .stat-number {
        font-size: 48px;
    }

    .why-choose-buttons {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-btn {
        padding: 20px 16px;
    }

    .why-choose-image-wrapper {
        height: 400px;
    }

    .image-overlay-shape {
        width: 70%;
    }
}

    .counter-item {
        padding: 24px 20px;
    }

    .counter-number {
        font-size: 32px;
    }

    .counters-highlight {
        padding: 24px;
    }

    .counters-highlight p {
        padding-left: 30px;
        font-size: 14px;
    }
}
