/* ===========================
   GLOBAL STYLES & VARIABLES
   =========================== */

:root {
    --primary-color: #FFFFFF;
    --primary-dark: #FFFFFF;
    --primary-light: #FFFFFF;
    --secondary-color: #0891B2;
    --danger-color: #DC2626;
    --warning-color: #EA580C;
    --info-color: #0284C7;
    --dark: #1F2937;
    --light: #EBEADF;
    --gray: #6B7280;
    --gray-light: #F3E8D8;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #EBEADF;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 1.0625rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 1000; */
    padding: 1rem 0;
}


.navbar .logo {
    position: absolute;
    left: 0; /* või -20px kui tahad rohkem üle ääre */
    top: 50%;
    transform: translateY(-50%);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center; /* menu keskele */
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 00;

}



.brand-logo i {
    font-size: 1.875rem;
    color: var(--primary-color);
}
.logo {
    width: 170px;
    height: 160px;
   margin-left: -40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(165, 87, 129, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition-timing);
    margin-top: 18px;
}

.navbar .logo {
    transform: translateY(-80%);
}

.navbar {
    position: relative;
    padding: 40px 0;
}

/* JOON */
.navbar .nav-line {
    position: absolute;
    top: 70%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
    z-index: 1;
}

/* CONTAINER */
.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* LOGO (ringi sees joone peal) */
.navbar .logo {
    position: absolute;
    left: 60px; /* reguleeri */
    top: 100%;
    transform: translateY(-50%);
    background: #fff; /* PEIDAB joone logo alt */
    padding: 10px;
    border-radius: 50%;
}

/* LOGO PILT */
.navbar .logo img {
    height: 120px;
    filter: contrast(1.9) brightness(0.9);
}

/* MENU */
.navbar ul {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.logo-text {
    font-size: 3.5rem;
}

.logo-text .raamatupidamine {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    margin-top: 0.2em;
    font-weight: 700;
    color: #f5f4ef;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-text sub {
    font-size: 1.5rem;
    margin-left: -0.1em;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: var(--gray);
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: #944b71;
    background: rgba(255, 255, 255, 0.15);
}

.nav-cta {
    color: var(--dark);
    background: #FFFFFF;
}

.nav-cta:hover {
    background: #FFFFFF;
    color: var(--dark);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.375rem;
}

.navbar-toggle span {
    width: 1.5rem;
    height: 0.25rem;
    background: var(--dark);
    border-radius: 0.125rem;
    transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(0.425rem) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-0.425rem) rotate(-45deg);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: #FFFFFF;
    color: var(--dark);
}

.btn-primary:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--dark);
}

.btn-secondary:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.btn-outline,
.btn-outline:visited {
    background: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
}

.btn-outline:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline.btn-icon,
.btn-outline.btn-icon i,
.btn-outline.btn-icon span {
    color: #000000;
}

/* ===========================
   CARDS
   =========================== */

.card {
    background: var(--white);
    border-radius: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 2rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(165, 87, 129, 0.03), transparent);
    transition: left 0.5s ease;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(165, 87, 129, 0.12);
    transform: translateY(-6px);
    border-color: rgba(165, 87, 129, 0.15);
}

.card:hover::before {
    left: 100%;
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.card h4 {
    margin: 1rem 0 0.75rem 0;
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.card-body {
    margin: 1rem 0;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

/* ===========================
   FORMS
   =========================== */

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ===========================
   ALERTS
   =========================== */

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-left: 4px solid #3b82f6;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    margin-left: auto;
}

/* ===========================
   SECTIONS & LAYOUT
   =========================== */

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: linear-gradient(135deg, #1F2937, #111827);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.grid {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 0 auto;
    max-width: 1000px;
}

.pricing-section .grid-3 {
    justify-items: center;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Pricing Section - Constrained Width */
.pricing-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pricing-section h2 {
    margin-bottom: 1rem;
}

.pricing-section > p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-section .card {
    text-align: center;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.service-card {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-top: 4px solid var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a55781, #8b4569);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(165, 87, 129, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .service-icon {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 25px rgba(165, 87, 129, 0.35);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    flex: 1;
    margin-bottom: 1rem;
    color: var(--gray);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    margin: 0 0 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

.rating {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #a55781, #8b4569);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(150px, -100px);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
}

/* ===========================
   BLOG
   =========================== */

.blog-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    margin: 0.75rem 0;
}

.blog-card p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    background: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===========================
   UTILITIES
   =========================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.contact-value,
.contact-value a,
.contact-value a:hover {
    color: #6b7498;
}

/* Why invest section - ensure all text is white */
.whyinves,
.whyinves h3,
.whyinves h4,
.whyinves p {
    color: white !important;
}

.why {
    color: white !important;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-left-column,
.contact-right-column {
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    margin-bottom: 2.5rem;
}

.contact-info-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a55781, #8b4569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-header p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-card {
    background: #ffffff;
    border-radius: 0.875rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #a55781;
    border: 1px solid rgba(165, 87, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(165, 87, 129, 0.05), transparent);
    transition: left 0.5s ease;
}

.contact-detail-card:hover {
    box-shadow: 0 12px 24px rgba(165, 87, 129, 0.15);
    transform: translateY(-6px);
    border-color: #a55781;
}

.contact-detail-card:hover::before {
    left: 100%;
}

.contact-detail-icon {
    display: flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a55781, #8b4569);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(165, 87, 129, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-detail-card:hover .contact-detail-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 8px 25px rgba(165, 87, 129, 0.35);
}

.contact-detail-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    display: block;
    text-align: center;
}

.contact-detail-card h4 i {
    display: none !important;
    margin-right: 0;
}

.contact-detail-card .contact-value {
    margin: 0;
    color: var(--gray);
    font-size: 1rem;
    margin-left: 0;
    text-align: center;
    line-height: 1.6;
}

.contact-detail-card .contact-value a {
    color: #a55781;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-detail-card .contact-value a:hover {
    color: #8b4569;
    text-decoration: underline;
}

.free-consultation-box {
    margin-bottom: 2.5rem;
}

.free-consultation-box .card {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0.03));
    border-left: 4px solid #D97706;
    border-radius: 0.875rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.free-consultation-box .card:hover {
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.15);
    transform: translateY(-4px);
}

.free-consultation-box h4 {
    margin: 0 0 1rem 0;
    color: #D97706;
    font-size: 1.25rem;
    font-weight: 700;
}

.free-consultation-box p {
    margin: 0;
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-form-container {
    display: block;
}

.contact-form-container h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(165, 87, 129, 0.15);
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(165, 87, 129, 0.3);
    box-shadow: 0 2px 8px rgba(165, 87, 129, 0.08);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a55781;
    box-shadow: 0 0 0 4px rgba(165, 87, 129, 0.1);
    background-color: #fafbff;
}

.contact-form-container .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #a55781, #8b4569);
    color: white;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(165, 87, 129, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(165, 87, 129, 0.35);
}

.contact-form-container .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(165, 87, 129, 0.25);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    .contact-left-column {
        order: 1;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .contact-right-column {
        order: 2;
        margin-top: 0;
    }
    
    .free-consultation-section {
        margin-bottom: 2rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 0;
    }
    
    .contact-detail-card {
        background: var(--white);
        border-radius: 0.75rem;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        transition: all 0.3s ease;
        border-top: 3px solid #a55781;
    }
    
    .contact-detail-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
        border-top-color: #8b4569;
    }
    
    .contact-detail-icon {
        display: flex;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #a55781, #8b4569);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        color: white;
        font-size: 1.25rem;
        box-shadow: 0 4px 15px rgba(165, 87, 129, 0.3);
        transition: all 0.3s ease;
    }
    
    .contact-detail-card:hover .contact-detail-icon {
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 6px 20px rgba(165, 87, 129, 0.4);
    }
    
    .contact-detail-card h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--dark);
        display: block;
        text-align: center;
    }
    
    .contact-detail-card h4 i {
        display: none !important;
        margin-right: 0;
    }
    
    .contact-detail-card .contact-value {
        margin: 0;
        color: var(--gray);
        font-size: 0.9375rem;
        margin-left: 0;
        text-align: center;
    }
    
    .free-consultation-box {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .free-consultation-box .card {
        background: rgba(217, 119, 6, 0.05);
        border-left: 4px solid #D97706;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: var(--shadow-sm);
    }
    
    .contact-form-container {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .contact-form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--dark);
    }
    
    .contact-form-container .form-group {
        margin-bottom: 1.25rem;
    }
    
    .contact-form-container input,
    .contact-form-container select,
    .contact-form-container textarea {
        font-size: 1rem;
        padding: 0.75rem;
        width: 100%;
        border: 1px solid var(--gray-light);
        border-radius: 0.375rem;
    }
    
    .contact-form-container .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    .navbar-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0.25rem;
        box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        padding: 0.5rem 0;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        transform: translateY(-8px);
        transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
        position: absolute;
    }

    .navbar-nav.active {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar-nav li {
        margin: 0 0.5rem;
    }

    .nav-link {
        display: block;
        padding: 0.85rem 1rem;
        border-radius: 0.75rem;
        color: var(--dark);
    }

    .nav-link:hover {
        background: #f5f4ef;
        color: #944b71;
    }

    .nav-cta {
        display: block;
        margin: 0.25rem 0.5rem 0.75rem;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.12);
    }

    .navbar-toggle {
        display: flex;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* About page - Our Story section mobile layout */
    .about-story-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        align-items: auto !important;
    }
    
    .about-story-experience {
        order: 1 !important;
    }
    
    .about-story-content {
        order: 2 !important;
    }
    
    /* About page sections - single column on mobile */
    .section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        align-items: auto !important;
    }
    
    .section > div[style*="grid-template-columns"] > div {
        text-align: center;
    }
    
    .section > div[style*="grid-template-columns"] > div:last-child {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.875rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    section[style*="background: linear-gradient"] {
        padding: 2rem 0 !important;
    }
    
    section[style*="background: linear-gradient"] h1 {
        font-size: 1.75rem;
    }
    
    section[style*="background: linear-gradient"] p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    
    p {
        font-size: 0.9375rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 1.5rem 0;
    }
    
    section[style*="background: linear-gradient"] {
        padding: 1.5rem 0 !important;
    }
    
    section[style*="background: linear-gradient"] h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    section[style*="background: linear-gradient"] p {
        font-size: 0.9375rem;
    }
    
    .card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem;
        width: 100%;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
        width: 100%;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-layout {
        gap: 0;
        margin-bottom: 0;
    }
    
    .contact-left-column {
        order: 1;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .contact-right-column {
        order: 2;
        margin-top: 0;
    }
    
    .free-consultation-section {
        margin-bottom: 1.5rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 0;
    }
    
    .contact-detail-card {
        background: var(--white);
        border-radius: 0.75rem;
        padding: 1.25rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        transition: all 0.3s ease;
        border-top: 3px solid #a55781;
    }
    
    .contact-detail-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
        border-top-color: #8b4569;
    }
    
    .contact-detail-icon {
        display: flex;
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #a55781, #8b4569);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin: 0 auto 0.75rem;
        color: white;
        font-size: 1.125rem;
        box-shadow: 0 4px 15px rgba(165, 87, 129, 0.3);
        transition: all 0.3s ease;
    }
    
    .contact-detail-card:hover .contact-detail-icon {
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 6px 20px rgba(165, 87, 129, 0.4);
    }
    
    .contact-detail-card h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
        display: block;
        text-align: center;
    }
    
    .contact-detail-card h4 i {
        display: none !important;
        margin-right: 0;
    }
    
    .contact-detail-card .contact-value {
        font-size: 0.875rem;
        margin-left: 0;
        text-align: center;
    }
    
    .free-consultation-box {
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .contact-form-container {
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .contact-form-container h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-form-container .form-group {
        margin-bottom: 1rem;
    }
    
    .contact-form-container input,
    .contact-form-container select,
    .contact-form-container textarea {
        font-size: 1rem;
        padding: 0.75rem;
        width: 100%;
    }
    
    .contact-form-container .btn {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* --- CUSTOM MOBILE NAVBAR FIXES (2024-03-23) --- */
@media (max-width: 768px) {
  .navbar .logo img {
    height: 112px !important;
  }
  .logo {
    width: 162px !important;
    height: 162px !important;
  }
  .navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    min-height: 20px !important;
   margin-bottom: 10px;
  }
  .navbar-brand {
    flex: 1 1 auto !important;
  }
  .navbar-menu {
    flex: 2 1 auto !important;
  }
  .navbar-toggle {
    display: flex !important;
    position: absolute !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
  }
}
@media (max-width: 480px) {
  .navbar .logo img {
    height: 96px !important;
  }
  .logo {
    width: 120px !important;
    height: 120px !important;
  }
}
/* --- END CUSTOM MOBILE NAVBAR FIXES --- */
