/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary: #1e3a8a; /* Deep blue */
    --secondary: #d97706; /* Industrial Amber */
    --accent: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= LOADER ================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@keyframes pulse {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 170px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
}

/* ================= HERO SECTION ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #152c6b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(30, 58, 138, 0.05);
}

.view-btn {
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ================= SECTION STYLES ================= */
.location-text {
    text-align: justify;
    line-height: 1.8;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ================= CARDS ================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
}

/* ================= IMAGE CARDS ================= */
.service-img-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-img-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.2);
}

.service-img-card:hover .btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-img-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.img-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-img-card:hover .img-wrapper .overlay {
    opacity: 1;
}

.img-wrapper .overlay i {
    color: var(--white);
    font-size: 2.5rem;
    transform: translateY(30px);
    transition: all 0.4s ease;
    text-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.service-img-card:hover .img-wrapper .overlay i {
    transform: translateY(0);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--text-light);
    margin: 0;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* ================= CONTACT FORM ================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: var(--secondary);
    margin-top: 5px;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ================= EMAIL CARDS ================= */
.email-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.email-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.email-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.2);
}

.email-card .email-icon {
    width: 70px;
    height: 70px;
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.email-card:hover .email-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.email-card h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.email-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    transition: var(--transition);
}

.email-card:hover p {
    color: var(--accent);
}

@media (max-width: 992px) {
    .email-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .email-cards-container {
        grid-template-columns: 1fr;
    }
}

/* ================= FOOTER ================= */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand img {
    width: 160px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-top: -5px; /* Pull up slightly to visually align with text caps */
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

.footer-brand img:hover {
    opacity: 0.8;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 320px;
    line-height: 1.7;
    margin-top: 0;
    text-align: left;
}

.footer h4 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-grid > div:nth-child(2) {
    justify-self: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ================= FLOATING WHATSAPP ================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background: #1ebe57;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* ================= ANIMATIONS ================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= TYPOGRAPHY & ALIGNMENT ================= */
.content p,
.section-text,
.card p,
.about-content p,
.service-card p,
.document-card p,
.hero p,
.service-content p,
.footer-about p,
.footer-brand p {
    text-align: justify;
    line-height: 1.7;
}

/* ================= ALERT ================= */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .logo img { width: 140px; height: auto; }
    .loader-content img { width: 220px; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger { display: block; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero { text-align: center; padding-top: 100px; padding-bottom: 50px; min-height: auto; }
    .hero-content { margin: 0 auto; }
    .hero .badge { margin-bottom: 12px; }
    .hero h1 { margin-bottom: 15px; }
    .hero p { display: block; font-size: 0.95rem; margin-bottom: 20px; padding: 0 10px; }
    .btn-group { justify-content: center; gap: 12px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 30px; }
    .footer-brand p { margin: 0; }
    .footer-grid > div:nth-child(2) { justify-self: start; }
    
    .content p,
    .section-text,
    .card p,
    .about-content p,
    .service-card p,
    .document-card p,
    .hero p,
    .service-content p,
    .footer-about p,
    .footer-brand p,
    .location-text {
        text-align: left;
    }
    
    .mobile-stack {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .mobile-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .contact-info, .contact-form { padding: 25px; }
}

/* Admin Styles Overlay */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light);
}
.admin-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.admin-card img {
    height: 50px;
    margin-bottom: 20px;
}
.admin-sidebar {
    width: 250px;
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px 0;
}
.admin-sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
.admin-sidebar-logo img {
    max-width: 100%;
    filter: brightness(0) invert(1);
    height: 40px;
}
.admin-menu {
    display: flex;
    flex-direction: column;
}
.admin-menu a {
    padding: 15px 30px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 3px solid transparent;
}
.admin-menu a:hover, .admin-menu a.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-left-color: var(--secondary);
}
.admin-main {
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
    background: var(--light);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.admin-table th {
    font-weight: 600;
    color: var(--text);
    background: var(--light);
}
.badge-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(37,99,235,0.1);
    color: var(--accent);
}
.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: white;
    margin-right: 5px;
    display: inline-block;
}
.btn-edit { background: var(--secondary); }
.btn-delete { background: #ef4444; }
