@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary: #212121;
    --accent: #6A0D18; /* Deep Maroon */
    --gold: #FFC107;   /* Gold */
    --light: #f4f6f9;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    background-color: var(--white);
}

/* ========================================= */
/* TOP INFO BAR (Maroon & Gold)              */
/* ========================================= */
.top-bar {
    background-color: var(--accent);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid var(--gold);
}

.top-container {
    width: 90%; max-width: 1200px; margin: auto;
    display: flex; justify-content: space-between; align-items: center;
}

.top-left, .top-right { display: flex; align-items: center; gap: 15px; }
.top-bar i { color: var(--gold); margin-right: 5px; }
.divider { color: rgba(255,255,255,0.3); }

/* ========================================= */
/* HEADER & NAVIGATION (Responsive)          */
/* ========================================= */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    width: 90%; max-width: 1200px; margin: auto;
    height: 80px;
}

.logo { 
    font-size: 22px; font-weight: 800; color: var(--primary); 
    text-decoration: none; display: flex; align-items: center; gap: 12px; z-index: 1001;
}
.logo img { height: 50px; width: auto; }

/* The Navigation Links */
.nav-links { display: flex; align-items: center; gap: 20px; }

.nav-item {
    text-decoration: none; color: #333; font-weight: 600; font-size: 15px; transition: 0.3s;
}
.nav-item:hover { color: var(--accent); }

/* Register Button */
.btn-register {
    background: #0a2558; color: white !important;
    padding: 10px 20px; border-radius: 4px; font-weight: 600;
    font-size: 14px; text-transform: uppercase;
}
.btn-register:hover { background: var(--accent); }

/* DROPDOWN LOGIC */
.dropdown { position: relative; display: inline-block; }
.dropbtn {
    background-color: transparent; color: #333; font-size: 15px;
    font-weight: 600; border: none; cursor: pointer; font-family: inherit; padding: 10px 0;
}
.dropdown:hover .dropbtn { color: var(--accent); }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content {
    display: none; position: absolute; background-color: white;
    min-width: 200px; box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1; border-top: 3px solid var(--accent); top: 100%;
}
.dropdown-content a {
    color: #333; padding: 12px 16px; text-decoration: none;
    display: block; font-size: 14px; border-bottom: 1px solid #eee;
}
.dropdown-content a:hover { background: #f9f9f9; color: var(--accent); padding-left: 20px; }

/* HAMBURGER MENU ICON (Hidden on Laptop) */
.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: #333; }


/* ========================================= */
/* MOBILE RESPONSIVENESS                     */
/* ========================================= */
@media (max-width: 900px) {
    /* 1. Show the Hamburger Button */
    .menu-toggle { display: block; }

    /* 2. Hide the Links by Default */
    .nav-links {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: white;
        flex-direction: column; /* Stack them vertically */
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none; /* HIDDEN INITIALLY */
    }

    /* 3. The "Active" Class (Added by JS when clicked) */
    .nav-links.active { display: flex; }

    /* 4. Style the items for Mobile */
    .nav-item, .dropdown { width: 100%; padding: 15px 0; border-bottom: 1px solid #eee; }
    .btn-register { width: 100%; text-align: center; margin-top: 20px; }
    
    /* 5. Mobile Dropdowns */
    .dropdown-content { position: relative; box-shadow: none; border-top: none; background: #f9f9f9; padding-left: 20px; }
    .dropdown:hover .dropdown-content { display: block; }
    .dropbtn { width: 100%; text-align: left; }

    /* 6. Top Bar Fixes */
    .top-right { display: none; } /* Hide email on small screens */
    .top-container { justify-content: center; }
}

/* ========================================= */
/* HERO & OTHER SECTIONS                     */
/* ========================================= */
.hero {
    background: linear-gradient(rgba(106, 13, 24, 0.7), rgba(106, 13, 24, 0.7)), url('images/hero_bg.jpg');
    background-size: cover; background-position: center; height: 550px;
    display: flex; align-items: center; justify-content: flex-start;
}
.hero-box {
    background: white; width: 90%; max-width: 550px; margin-left: 10%; padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 3px; position: relative;
}
.hero-box::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 6px; background: var(--accent); }
.hero h1 { font-size: 2.2rem; margin-bottom: 15px; color: var(--primary); padding-left: 15px; }
.hero p { font-size: 1rem; margin-bottom: 25px; color: #555; padding-left: 15px; }
.btn-main {
    display: inline-block; background: var(--accent); color: white; padding: 12px 30px;
    text-decoration: none; border-radius: 4px; font-weight: 600; margin-left: 15px;
}

@media (max-width: 768px) {
    .hero { height: auto; min-height: 500px; align-items: flex-end; justify-content: center; padding-bottom: 30px; }
    .hero-box { width: 90%; margin-left: 0; max-width: none; padding: 25px; }
}

/* ========================================= */
/* SLIDER, CONTACT, FOOTER, ETC.             */
/* ========================================= */
.section { padding: 80px 0; width: 90%; max-width: 1200px; margin: auto; }
.slider-wrapper { position: relative; overflow: hidden; padding: 20px 0; }
.slider-track { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide-card { min-width: 280px; text-align: center; border-radius: 10px; background:white; padding:30px; border:1px solid #eee; box-shadow:0 5px 15px rgba(0,0,0,0.05);}
.slide-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 2px solid var(--accent); }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #222; color: white; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; z-index: 10; }
.prev-btn { left: 0; } .next-btn { right: 0; }

.contact-section { background-color: #f4f6f9; padding: 80px 0; }
.contact-container { width: 90%; max-width: 1100px; margin: auto; display: flex; flex-wrap: wrap; gap: 50px; align-items: center; justify-content: center; }
.contact-text { flex: 1; min-width: 300px; }
.contact-card { flex: 1; min-width: 320px; max-width: 450px; background: white; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); overflow: hidden; }
.card-header { background: #222; padding: 20px 30px; color: white; }
.contact-card form { padding: 30px; }
.form-group { margin-bottom: 20px; }
input, select { width: 100%; padding: 12px 15px; border: 2px solid #eee; border-radius: 6px; background: #fafafa; }
.btn-submit { width: 100%; padding: 15px; background: var(--accent); color: white; font-weight: bold; border: none; border-radius: 6px; cursor: pointer; margin-top: 10px; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 2000; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.whatsapp-float img { width: 35px; height: 35px; }
footer { background: #222; color: white; padding: 50px 0; text-align: center; margin-top: 50px; }
/* ========================================= */
/* MODERN SERVICE TABLE DESIGN               */
/* ========================================= */

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* The Column Container */
.pricing-card {
    flex: 1;
    min-width: 280px; /* Ensures it works on mobile */
    max-width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Stacks header, body, footer */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

/* --- 1. THE HEADER (Maroon) --- */
.pricing-header {
    background-color: var(--accent); /* Maroon */
    color: white;
    padding: 30px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); /* Modern Slant Effect */
}

.pricing-header i {
    font-size: 30px;
    color: var(--gold); /* Gold Icon */
    margin-bottom: 10px;
    display: block;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-header .subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
}

/* --- 2. THE FEATURES (Table Rows) --- */
.pricing-features {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex-grow: 1; /* Pushes footer to bottom */
}

.pricing-features li {
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0; /* The "Table Line" */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Zebra Striping for Table Effect */
.pricing-features li:nth-child(even) {
    background-color: #fcfcfc;
}

.pricing-features i {
    color: var(--gold); /* Gold Checkmarks */
    font-size: 14px;
}

/* --- 3. THE FOOTER (Button) --- */
.pricing-footer {
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
}

.btn-table {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    width: 100%;
}

.btn-table:hover {
    background: var(--accent);
    color: white;
}

/* --- 4. SPECIAL "POPULAR" STYLE (For PCU) --- */
.popular {
    transform: scale(1.05); /* Make it slightly bigger */
    border: 2px solid var(--gold);
    z-index: 2; /* Sit on top of others */
}
.popular:hover {
    transform: scale(1.08); /* Even bigger on hover */
}

.popular .pricing-header {
    background: linear-gradient(135deg, var(--accent) 0%, #4a0911 100%); /* Fancier Gradient */
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: var(--gold);
    color: #222;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    text-transform: uppercase;
}

.btn-fill {
    background: var(--accent);
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pricing-card { margin-bottom: 20px; }
    .popular { transform: scale(1); margin: 20px 0; } /* Reset size on mobile */
    .popular:hover { transform: scale(1.02); }
}
/* ========================================= */
/* MEGA FOOTER DESIGN                        */
/* ========================================= */

footer {
    background-color: var(--accent); /* Dark Maroon Background */
    color: white;
    padding-top: 60px;
    padding-bottom: 0;
    margin-top: 50px;
    text-align: left; /* Reset text align */
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Col 1: Brand */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-logo img {
    height: 40px;
    background: white; /* White bg for logo visibility */
    padding: 2px;
    border-radius: 4px;
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Col 2: Links */
.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gold); /* Gold Headers */
    border-bottom: 2px solid rgba(255,255,255,0.1);
    display: inline-block;
    padding-bottom: 5px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}
.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* Col 3: Contact Icons */
.footer-col i {
    width: 20px;
    color: var(--gold);
    margin-right: 10px;
}

/* Social Media Circles */
.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}
.social-icons a:hover {
    background: var(--gold);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Copyright Bar */
.copyright {
    background: rgba(0,0,0,0.2); /* Slightly darker stripe */
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
}
/* ========================================= */
/* MODERN PRACTICE CARDS (2026 Style)        */
/* ========================================= */

.practice-card {
    background: white;
    border-radius: 20px; /* Large smooth corners */
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy smooth feel */
    position: relative;
    border: 1px solid rgba(0,0,0,0.03); /* Barely visible border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow */
    overflow: hidden;
}

/* Hover: Lift and Glow */
.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(106, 13, 24, 0.15); /* Maroon tint shadow */
}

/* The Top Line Animation */
.practice-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.practice-card:hover::after {
    transform: scaleX(1); /* Gold line appears on hover */
}

/* Modern Gradient Icons (Squircles) */
.practice-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px; /* iOS style shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    transition: transform 0.4s ease;
}

/* Individual Gradient Colors */
.icon-blue   { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); color: #0284c7; }
.icon-green  { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); color: #16a34a; }
.icon-orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); color: #ea580c; }
.icon-rose   { background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%); color: #e11d48; }

.practice-card:hover .practice-icon {
    transform: scale(1.1) rotate(5deg); /* Icon tilts playfully */
}

/* Clean Typography */
.practice-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}
.practice-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Ghost Button */
.btn-ghost {
    display: inline-block;
    padding: 10px 25px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    background: rgba(106, 13, 24, 0.05); /* Very light maroon */
    transition: 0.3s;
}
.practice-card:hover .btn-ghost {
    background: var(--accent);
    color: white;
}
/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    cursor: pointer;
}

.team-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* The Popup Overlay */
.team-overlay {
    position: absolute;
    bottom: -100%; /* Hidden below the card initially */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(229, 29, 58, 0.95), rgba(229, 29, 58, 0.8)); /* Praxis Red */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: bottom 0.4s ease-in-out;
    box-sizing: border-box;
}

/* Hover Effects */
.team-card:hover .team-overlay {
    bottom: 0; /* Slides up to cover the image */
}

.team-card:hover .team-image {
    transform: scale(1.1); /* Zooms image slightly */
}

.team-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.team-role {
    font-size: 0.9rem;
    color: #ffeb3b; /* Yellow accent */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-quote {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.team-socials a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.team-socials a:hover {
    background: white;
    color: #E51D3A;
}