/* Reset & Basics */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Inter', sans-serif; color:#0A2540; overflow-x:hidden; }
.container { max-width:1280px; margin:0 auto; padding:0 2rem; }
img { max-width:100%; display:block; }

/* Header */
.header {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding:1.5rem 0; background:rgba(255,255,255,0.95); backdrop-filter:blur(10px);
    transition:all 0.4s;
}
.header.scrolled { padding:1rem 0; box-shadow:0 4px 20px rgba(10,37,64,0.1); }
.header .container { display:flex; justify-content:space-between; align-items:center; }
.logo { height:60px; transition:height 0.3s; }
.header.scrolled .logo { height:50px; }
.nav ul { display:flex; gap:2.5rem; list-style:none; }
.nav a { color:#0A2540; text-decoration:none; font-weight:600; font-size:1.1rem; }

/* Hero */
.hero {
    position:relative; height:100vh; min-height:700px; display:flex; align-items:center;
    justify-content:center; overflow:hidden; color:white;
}
#hero-canvas { position:absolute; inset:0; width:100%; height:100%; }
.hero-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom, rgba(10,37,64,0.7), rgba(10,37,64,0.9));
}
.hero-content {
    position:relative; z-index:2; text-align:center; max-width:900px; padding:2rem;
}
.hero-logo { width:180px; margin:0 auto 2rem; filter:drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.hero-title { font-size:4.5rem; font-weight:900; line-height:1.1; margin-bottom:1.5rem; }
.great-text { color:#60A5FA; }
.cta-button {
    display:inline-block; background:#60A5FA; color:white; padding:1rem 2.5rem;
    border-radius:50px; font-size:1.3rem; font-weight:700; text-decoration:none;
    transition:all 0.3s; box-shadow:0 10px 30px rgba(96,165,250,0.4);
}
.cta-button:hover { transform:translateY(-4px); box-shadow:0 15px 40px rgba(96,165,250,0.5); }

/* Section fade-in */
.section { opacity:0; transform:translateY(50px); transition:all 0.8s; }
.section.visible { opacity:1; transform:none; }

/* Simple responsive */
@media (max-width:768px) {
    .hero-title { font-size:3rem; }
    .nav ul { gap:1.5rem; }
}

/* Simple responsive */
@media (max-width:768px) {
    .hero-title { font-size:3rem; }
    .nav ul { gap:1.5rem; }
}

/* ←←←← ADD EVERYTHING BELOW THIS LINE ←←←← */

/* Floating logo animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* More breathing room + whitespace feel */
.hero-content {
    margin-top: 8vh;
}

/* Extra soft static gradient blobs for depth & whitespace */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 70%, rgba(239,246,255,0.5) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(96,165,250,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(239,246,255,0.3) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle hover pulse on CTA */
.cta-button {
    animation: gentlePulse 4s ease-in-out infinite;
}
@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Make the whole hero feel super white and airy */
.hero { background: #fbfeff; color: #0a2540; }
.hero-title { color: #0f172a; }
.great-text { color: #3b82f6; }

/* About Section – guaranteed to show */
.about-subtitle {
    margin-top: 0rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 0.5px;
    opacity: 0.9;
    line-height: 1.3;
}
.about {
    padding: 120px 0;
    background: #ffffff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-image .image-placeholder {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    height: 560px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0a2540;
    box-shadow: 0 25px 50px rgba(10,37,64,0.1);
}
.about-wave {
    width: 260px;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}
.placeholder-text {
    font-size: 1.2rem;
    opacity: 0.7;
}
.about-content .lead {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 1.5rem 0 2rem;
}
.highlight { color: #3b82f6; }
.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.4rem;
    color: #475569;
}
.about-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}
.stat h3 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1e40af;
}
.stat p {
    font-size: 1rem;
    color: #64748b;
    margin-top: -0.4rem;
}

/* Mobile */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image { order: 2; }
    .about-content { order: 1; text-align: center; }
    .about-stats { justify-content: center; }
    .about-content .lead { font-size: 2rem; }
}


/* Team Section */
.team {
    padding: 140px 0;
    background: #f8fafc;
}
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.section-header .lead {
    font-size: 1.5rem;
    color: #64748b;
    margin-top: 1rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10,37,64,0.08);
    transition: all 0.4s ease;
}
.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(10,37,64,0.15);
}
.team-photo {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-card:hover .team-photo img {
    transform: scale(1.08);
}
.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(10,37,64,0.7));
    opacity: 0;
    transition: opacity 0.4s;
}
.team-card:hover .photo-overlay {
    opacity: 1;
}
.team-info {
    padding: 2rem;
    text-align: center;
}
.team-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #0f172a;
}
.team-info .title {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1rem;
}
.team-info .bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

/* Specialties Section */
.specialties {
    padding: 140px 0;
    background: #ffffff;
}
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}
.specialty-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(10,37,64,0.08);
    transition: all 0.4s ease;
}
.specialty-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 30px 80px rgba(10,37,64,0.18);
}
.cert-badge {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    transition: transform 0.4s;
}
.specialty-card:hover .cert-badge {
    transform: scale(1.12);
}
.specialty-card h3 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: #0f172a;
}
.specialty-card .subtitle {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.specialty-card p:last-child {
    color: #475569;
    line-height: 1.7;
}

/* Specialties – New Flow Style */
.specialties-alt {
    padding: 160px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}
.specialties-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}
.spec-item {
    flex: 1;
    min-width: 320px;
    max-width: 420px;
    background: white;
    padding: 3rem 2rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(10,37,64,0.12);
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    transition: all 0.9s cubic-bezier(0.22,1,0.36,1);
}
.spec-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.spec-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    padding: 20px;
    background: rgba(59,130,246,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spec-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(59,130,246,0.2));
    transition: transform 0.5s ease;
}
.spec-item:hover .spec-icon img {
    transform: scale(1.15) rotate(4deg);
}
.spec-item h3 {
    font-size: 1.9rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}
.spec-item .tag {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.spec-item p:last-child {
    color: #475569;
    line-height: 1.75;
}

/* Reviews Section */
.reviews {
    padding: 160px 0;
    background: #0f172a;
    color: white;
}
.reviews .section-header h2,
.reviews .section-header .lead { color: white; }
.reviews .lead { opacity: 0.9; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}
.review-card {
    background: rgba(255,255,255,0.06);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}
.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.review-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
}
.stars {
    font-size: 1.8rem;
    color: #fbbf24;          /* bright yellow */
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(251,191,36,0.4);
}
.quote {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.author {
    font-weight: 600;
    opacity: 0.9;
}

/* ─────── Reviews Section ─────── */
.reviews {
    padding: 160px 0;
    background: #0f172a;
    color: #e2e8f0;
    text-align: center;
}
.reviews .section-header h2 { color: white; margin-bottom: 1rem; }
.reviews .lead { font-size: 1.4rem; opacity: 0.9; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.review-card {
    background: rgba(255,255,255,0.08);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.review-card.visible { opacity: 1; transform: translateY(0); }
.review-card:hover { background: rgba(255,255,255,0.14); }
.stars { 
    color: #fbbf24; 
    font-size: 2rem; 
    letter-spacing: 4px; 
    margin-bottom: 1rem; 
}
.quote { 
    font-size: 1.2rem; 
    line-height: 1.8; 
    margin: 1.5rem 0; 
    font-style: italic; 
}
.author { 
    font-weight: 600; 
    color: #60a5fa; 
}

/* ─────── Contact Section ─────── */
.contact {
    padding: 160px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.booking-box {
    text-align: center;
}
.booking-btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(59,130,246,0.35);
    transition: all 0.4s ease;
}
.booking-btn:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(59,130,246,0.45);
}
.booking-btn span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.booking-btn small {
    opacity: 0.9;
    font-size: 1.1rem;
}
.form-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(10,37,64,0.12);
}
.form-box h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: #0f172a;
}
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s;
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}
#contact-form button {
    width: 100%;
    padding: 1.1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
#contact-form button:hover { background: #2563eb; }
#form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}
#form-message.success { color: #10b981; }
#form-message.error { color: #ef4444; }

/* ─────── Footer ─────── */
/* Footer – minimal & clean */
.footer {
    background: #0a2540;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-text {
    margin: 0;
}

.footer-text a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 868px) {
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .booking-btn span { font-size: 1.6rem; }
}

.booking-logo {
    width: 180px;
    margin: 0 auto 2.5rem;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(59,130,246,0.2));
    animation: float 12s ease-in-out infinite;
}

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

.hero { background: #fafcff; color: #0f172a; }
.great-text { color: #2563eb; }


/* Keep navbar logo normal size */
.header .logo {
    height: 60px !important;           /* your original size */
    transition: height 0.3s;
}
.header.scrolled .logo {
    height: 50px !important;
}


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

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: #fafcff;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    align-items: center;
}

.hero-left {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-logo {
    position: relative;
    z-index: 2;
    width: 420px;
    max-width: 90vw;
}

.hero-right {
    flex: 1;
    text-align: left;
    padding-left: 4rem;
}

.hero-title {
    font-size: 5.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    color: #0f172a;
}

.great-text {
    color: #3b82f6;
}

.cta-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(59,130,246,0.4);
}

/* Mobile stack */
@media (max-width: 992px) {
    .hero-wrapper { flex-direction: column; padding: 2rem 1rem; text-align: center; }
    .hero-right { padding-left: 0; padding-top: 3rem; }
    .hero-title { font-size: 3.8rem; }
    .hero-logo { width: 320px; }
}


/* CHange here */


.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4rem;
}

.hero-text-wrapper {
    margin-bottom: 2rem;           /* reduced from 3rem+ */
}

.line-1,
.line-2 {
    font-size: clamp(3.6rem, 6.5vw, 5.8rem);   /* noticeably smaller */
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 0.15em 0;
    opacity: 0;
    transform: translateY(40px);
    white-space: nowrap;
    display: block;
}

.line-1 { animation: slideInLeft 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;  }


.line-2 { animation: slideInLeft 1.3s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards;  }

.cta-button {
    align-self: flex-start;
    margin-top: 0.5rem;            /* kills the huge empty space */
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 1s ease-out 4s forwards;
}

/* Keep your existing keyframes */
@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile – tighter still */
@media (max-width: 992px) {
    .hero-right { padding-left: 0; padding-top: 2rem; align-items: center; }
    .line-1, .line-2 { font-size: 3.2rem; }
    .cta-button { align-self: center; }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------------------------------- Hero End --------------------------------*/


/* New Header Text Styling */
.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    line-height: 1;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.tagline {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* 50% opacity background (feels airy, modern) */
.header {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* When scrolled – slightly more solid but still translucent */
.header.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Mobile – stack logo + text vertically if needed */
@media (max-width: 768px) {
    .logo-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .brand-name { font-size: 1.5rem; }
    .tagline { font-size: 0.85rem; }
}

/* Subtle nav link hover animation */
.nav a {
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.4s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #3b82f6;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%);
}

.nav a:hover {
    color: #3b82f6;
}

.nav a:hover::after {
    width: 100%;
}

/* Optional: tiny lift on hover for extra polish */
.nav a:hover {
    transform: translateY(-2px);
}