/* ================================================================
   PATADIA LAWYERS THEME FOR D.I. CONTRACTOR, ADVOCATE
   Inspired by https://www.patadialawyers.com/default.aspx
   ================================================================ */

@import url('https://fonts.googleapis.com/css?family=Mukta:300,400,600,700,800|Playfair+Display:400,500,600,700,900&display=swap');

:root {
    --gold-theme: #c29032;
    --gold-hover: #a87922;
    --dark-theme: #1b1b1b;
    --text-color: #555555;
    --border-color: #e5e7eb;
    --bg-light: #f8fafc;
    --sidebar-width: 280px;
}

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

body {
    font-family: 'Mukta', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-color);
    background: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #111827;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

p {
    font-family: 'Mukta', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #64748b;
    margin-bottom: 16px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-theme);
}

/* ================================================================
   CONTAINER & PAGE WRAPPER
   ================================================================ */
#mcgill-page {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ================================================================
   SIDEBAR (#mcgill-aside) - AUTHENTIC PATADIA STYLE
   ================================================================ */
#mcgill-aside {
    padding: 45px 26px 30px 26px;
    width: var(--sidebar-width);
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    transition: transform 0.4s ease, width 0.4s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#mcgill-aside::-webkit-scrollbar {
    width: 4px;
}
#mcgill-aside::-webkit-scrollbar-thumb {
    background: var(--gold-theme);
    border-radius: 4px;
}

/* LOGO */
#mcgill-aside .mcgill-logo {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

#mcgill-aside .mcgill-logo img {
    width: 78px;
    height: 78px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 10px rgba(194, 144, 50, 0.25));
}

#mcgill-aside .mcgill-logo h1 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: #111827;
}

#mcgill-aside .mcgill-logo span {
    display: block;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--gold-theme);
    font-weight: 700;
    font-family: 'Mukta', sans-serif;
    text-transform: uppercase;
}

/* MAIN MENU WITH STAR BULLETS */
#mcgill-aside #mcgill-main-menu {
    padding: 24px 0;
    flex-grow: 1;
}

#mcgill-aside #mcgill-main-menu ul {
    list-style: none;
}

#mcgill-aside #mcgill-main-menu ul li {
    margin-bottom: 8px;
}

#mcgill-aside #mcgill-main-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#mcgill-aside #mcgill-main-menu ul li a i.fa-star {
    font-size: 8px;
    color: var(--gold-theme);
    transition: transform 0.2s;
}

#mcgill-aside #mcgill-main-menu ul li a:hover,
#mcgill-aside #mcgill-main-menu ul li.active a {
    color: var(--gold-theme);
    background: rgba(194, 144, 50, 0.08);
    padding-left: 16px;
}

#mcgill-aside #mcgill-main-menu ul li a:hover i.fa-star {
    transform: scale(1.4);
}

/* WHATSAPP CONTACT BOX */
.mcgill-contact-info {
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
}

.mcgill-contact-info .feat-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcgill-contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.mcgill-contact-info a:hover {
    background: #1eb954;
    transform: translateY(-2px);
}

/* FOOTER & SOCIALS */
.mcgill-footer {
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.mcgill-footer ul {
    display: flex;
    justify-content: center;
    gap: 14px;
    list-style: none;
    margin-bottom: 10px;
}

.mcgill-footer ul li a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s;
}

.mcgill-footer ul li a:hover {
    background: var(--gold-theme);
    color: #ffffff;
}

.mcgill-aside-copyright {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 0;
}

/* ================================================================
   MAIN CONTENT AREA (#mcgill-main)
   ================================================================ */
#mcgill-main {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    background: #ffffff;
    transition: margin-left 0.4s ease, width 0.4s ease;
}

/* ================================================================
   HERO SLIDER (#mcgill-hero) - FLEXSLIDER AUTHENTIC
   ================================================================ */
#mcgill-hero {
    position: relative;
    height: 82vh;
    min-height: 560px;
    overflow: hidden;
    background: #000;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, transform 1.2s ease;
    transform: scale(1.05);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.88) 0%, rgba(10, 15, 26, 0.72) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 880px;
}

.hero-slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide-content h1 span {
    color: var(--gold-theme);
}

.hero-slide-content p {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    font-weight: 300;
}

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

.btn-hero-gold {
    background: var(--gold-theme);
    color: #ffffff !important;
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(194, 144, 50, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(194, 144, 50, 0.5);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: #111827 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* SLIDER CONTROLS (ARROWS & DOTS) */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-arrow-btn:hover {
    background: var(--gold-theme);
    border-color: var(--gold-theme);
}

.slider-arrow-prev { left: 24px; }
.slider-arrow-next { right: 24px; }

.slider-dots-container {
    position: absolute;
    bottom: 24px;
    left: 60px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--gold-theme);
    width: 28px;
    border-radius: 10px;
}

/* ================================================================
   SECTION STYLING (.mcgill-about, .mcgill-services, etc.)
   ================================================================ */
.section-wrapper {
    padding: 85px 60px;
    border-bottom: 1px solid #f1f5f9;
}

.heading-meta {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--gold-theme);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.mcgill-heading {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 25px;
    position: relative;
}

.mcgill-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold-theme);
    margin-top: 10px;
}

/* ABOUT SECTION */
.mcgill-about-signature {
    text-align: right;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold-theme);
    font-style: italic;
    margin-top: 20px;
}

/* EMBEDDED AUTHENTIC MOBILE OTP LOGIN CARD */
.patadia-auth-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0 0 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.auth-card-patadia {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-width: 440px;
    margin: 0 auto;
}

.auth-card-patadia-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
    padding: 24px 20px 36px;
    position: relative;
}

.auth-card-patadia-header h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 4px;
}

.auth-card-patadia-header p {
    color: var(--gold-theme);
    font-size: 13px;
    margin-bottom: 0;
}

.auth-card-patadia-avatar {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.auth-card-patadia-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 20px;
}

.auth-card-patadia-body {
    padding: 40px 28px 24px;
}

.auth-card-patadia-body h5 {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}

.auth-card-patadia-body p.subtext {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.btn-get-otp-teal {
    background: #0ea5e9;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-get-otp-teal:hover {
    background: #0284c7;
}

/* ================================================================
   PRACTICE AREAS GRID
   ================================================================ */
.practice-grid-patadia {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.practice-card-patadia {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 35px 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.35s ease;
    border-top: 3px solid transparent;
}

.practice-card-patadia:hover {
    transform: translateY(-6px);
    border-top-color: var(--gold-theme);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.practice-card-patadia .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(194, 144, 50, 0.1);
    color: var(--gold-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.practice-card-patadia:hover .icon-box {
    background: var(--gold-theme);
    color: #ffffff;
}

.practice-card-patadia h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.practice-card-patadia p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* ================================================================
   LEGAL TOOLS SUITE (LAND CONVERTER & E-DRAFTING)
   ================================================================ */
.tools-nav-patadia {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-tool-tab {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-tool-tab.active {
    background: var(--gold-theme);
    color: #ffffff;
    border-color: var(--gold-theme);
    box-shadow: 0 4px 14px rgba(194, 144, 50, 0.35);
}

.tool-view-panel {
    display: none;
}

.tool-view-panel.active {
    display: block;
}

/* ================================================================
   CONTACT & APPOINTMENT FORM (.mcgill-contact)
   ================================================================ */
.contact-wrapper-patadia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info-card-patadia {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
}

.contact-detail-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(194, 144, 50, 0.12);
    color: var(--gold-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-text h5 {
    font-size: 17px;
    margin-bottom: 4px;
    color: #1e293b;
}

.contact-detail-text p {
    font-size: 14px;
    margin-bottom: 0;
    color: #64748b;
}

/* FORM STYLES */
.form-patadia {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group-patadia label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.input-patadia {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-patadia:focus {
    border-color: var(--gold-theme);
    box-shadow: 0 0 0 3px rgba(194, 144, 50, 0.15);
}

.btn-contact-submit {
    background: var(--gold-theme);
    color: #ffffff;
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(194, 144, 50, 0.3);
}

.btn-contact-submit:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* ================================================================
   FOOTER (#mcgill-footer2) - AUTHENTIC PATADIA FOOTER
   ================================================================ */
#mcgill-footer2 {
    background: #ffffff;
    padding: 50px 60px 30px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

#mcgill-footer2 .mcgill-logo img {
    width: 65px;
    height: 65px;
    margin-bottom: 8px;
}

#mcgill-footer2 .mcgill-logo h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

#mcgill-footer2 .mcgill-logo span {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--gold-theme);
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}

#mcgill-footer2 p {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 15px;
}

/* ================================================================
   DISCLAIMER POPUP MODAL (#myModal) - AUTHENTIC PATADIA
   ================================================================ */
.disclaimer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.disclaimer-modal-dialog {
    background: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.disclaimer-modal-header {
    background: #f8fafc;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.disclaimer-modal-header h5 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-family: 'Playfair Display', serif;
}

.disclaimer-modal-body {
    padding: 22px 24px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    text-align: justify;
}

.disclaimer-modal-footer {
    padding: 12px 24px 20px;
    text-align: right;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-disclaimer-accept {
    background: var(--gold-theme);
    color: #ffffff;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-disclaimer-accept:hover {
    background: var(--gold-hover);
}

/* ================================================================
   MOBILE RESPONSIVE NAVIGATION TOGGLE
   ================================================================ */
.mcgill-nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--gold-theme);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

@media screen and (max-width: 992px) {
    :root {
        --sidebar-width: 260px;
    }
    .practice-grid-patadia {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper-patadia {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .mcgill-nav-toggle {
        display: flex;
    }
    #mcgill-aside {
        transform: translateX(-100%);
        width: 270px;
    }
    #mcgill-aside.aside-open {
        transform: translateX(0);
    }
    #mcgill-main {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .section-wrapper {
        padding: 60px 24px;
    }
    .hero-slide-content {
        padding: 0 24px;
    }
    .hero-slide-content h1 {
        font-size: 2.2rem;
    }
    .practice-grid-patadia {
        grid-template-columns: 1fr;
    }
}
