/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    padding-top: 100px;
    background-color: var(--light-bg);
    color: var(--text-main);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
}

.navbar {
    padding: 0.5rem 2rem;
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand img { 
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link { 
    font-size: 1.05rem; 
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link { color: #cbd5e1; }
.navbar-dark .navbar-nav .nav-link:hover { color: #fff; }
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
    color: #60a5fa !important;
}

.phone h5 {
    color: #f1f5f9;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.phone {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-left: 1rem;
}

/* Hero Section */
#text {
    padding-top: 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    justify-content: center;
    min-height: 40vh;
}

.main-text {
    width: 90%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1 {
    color: #1e293b;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 .name { color: var(--primary-color); }

/* About Section */
#about {
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 5rem 1rem;
}

#about h2 { 
    color: #f8fafc; 
    margin-bottom: 2.5rem; 
    font-weight: 700;
    position: relative;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.whiteBox {
    width: 85%;
    max-width: 900px;
    background-color: var(--card-bg);
    color: var(--text-main);
    padding: 3rem;
    text-align: justify;
    font-size: 1.15rem;
    line-height: 1.8;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Filter Buttons */
.myBtnContainer {
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.myBtnContainer .btn {
    border: none;
    outline: none;
    padding: 8px 24px;
    background-color: #f1f5f9;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.myBtnContainer .btn:hover { 
    background-color: #e2e8f0; 
    color: var(--text-main);
}

.myBtnContainer .btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.4);
}

/* Cards */
.filterDiv { display: none !important; }
.filterDiv.show { display: flex !important; animation: fadeIn 0.4s ease-in-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.doc-card {
    background-color: var(--card-bg);
    color: var(--text-main);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doc-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.doc-card a { color: var(--text-main); text-decoration: none; transition: color 0.2s ease;}
.doc-card a:hover h5 { color: var(--primary-color); }
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0; }

/* Buttons inside cards */
.button_inner { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-inner {
    width: auto !important;
    min-width: 90px;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
}

.btn-primary:hover { 
    background-color: var(--primary-hover) !important; 
    color: white !important; 
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Contact Section */
#contact .doc-card {
    border-left: none;
    border-top: 6px solid var(--primary-color);
    padding: 3rem;
}

#contact h3 { font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
#contact h4 { font-weight: 500; color: var(--text-main); }
#contact h4 a { color: var(--primary-color); }
#contact h4 a:hover { text-decoration: underline; }

/* Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .navbar-collapse {
        background-color: rgba(15, 23, 42, 0.98);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 15px;
    }
    .phone { margin-left: 0; margin-top: 1rem; justify-content: center; }
    .whiteBox { width: 95%; padding: 2rem 1.5rem; }
}