/* --- Variables & Reset --- */
:root {
    --primary-blue: #0a2472;
    --electric-blue: #2563eb;
    --electric-yellow: #ffcc00;
    --dark-gray: #333;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --text-color: #4b5563;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--light-gray); }

.highlight { color: var(--electric-yellow); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--electric-yellow);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--electric-yellow);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--electric-yellow);
    color: var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--electric-yellow);
    color: var(--primary-blue);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 15px;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.logo i { color: var(--electric-yellow); }

.nav-menu { display: flex; align-items: center; gap: 30px; }

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover { color: var(--electric-yellow); }

.btn-nav {
    background: var(--electric-yellow);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 4px;
}

.menu-toggle { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}/* --- Dropdown Menu Styles --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 400px; /* Wider for two columns */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    top: 100%;
    left: -50%;
    border-top: 3px solid var(--electric-yellow);
    border-radius: 0 0 5px 5px;
    padding: 20px;
    display: none; /* Hidden by default */
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: grid;
}

.dropdown-column h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.dropdown-column a {
    color: var(--text-color);
    padding: 5px 0;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: 0.2s;
}

.dropdown-column a:hover {
    color: var(--electric-blue);
    padding-left: 5px; /* Slight movement effect */
}

/* --- Product Sublist Styles (Bullet points inside cards) --- */
.product-sublist {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.product-sublist li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* --- Mobile Fix for Dropdown --- */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: block;
        width: 100%;
        background: transparent;
        padding: 0;
        border: none;
        grid-template-columns: 1fr; /* Stack vertically */
    }

    .dropdown-column {
        margin: 15px 0;
        text-align: center;
    }
    
    .dropdown-column h4 {
        color: var(--electric-yellow); /* Bright color for dark mobile menu */
    }
    
    .dropdown-column a {
        color: rgba(255,255,255,0.8);
    }
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 36, 114, 0.85), rgba(10, 36, 114, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-list i {
    color: var(--electric-yellow);
    margin-right: 10px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Stats */
.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box {
    text-align: center;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    flex: 1;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 5px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--electric-yellow);
}

.icon-box {
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

/* --- Projects --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img { transform: scale(1.1); }

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 36, 114, 0.9);
    color: var(--white);
    padding: 20px;
    transition: var(--transition);
}

.project-card:hover .overlay { bottom: 0; }

.overlay h3 { color: var(--electric-yellow); margin-bottom: 5px; font-size: 1.2rem; }

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--electric-blue);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.input-group { margin-bottom: 20px; }

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
}

.btn-block { width: 100%; }

/* --- Footer --- */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.social-links { margin-top: 15px; }

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover { color: var(--electric-yellow); }

/* --- Scroll To Top --- */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--electric-yellow);
    color: var(--primary-blue);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover { background-color: #e6b800; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }

    .hero h1 { font-size: 2.2rem; }
    .about-container, .contact-wrapper { grid-template-columns: 1fr; }
.about-image { order: -1; }}
/* --- AUTHENTICATION PAGES (Login/Signup) --- */

/* Full screen background */
.auth-body {
    background: linear-gradient(rgba(10, 36, 114, 0.9), rgba(10, 36, 114, 0.8)), 
                url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The white card container */
.auth-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.auth-box {
    background: var(--white);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    text-align: left;
}

/* Header inside the card */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
}

.auth-logo i { color: var(--electric-yellow); }

.auth-header h2 { font-size: 1.8rem; margin-bottom: 5px; }
.auth-header p { color: #777; font-size: 0.9rem; }

/* Form Links & Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.forgot-pass { color: var(--electric-blue); font-weight: 500; }
.forgot-pass:hover { text-decoration: underline; }

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
}

.auth-footer a { color: var(--electric-blue); font-weight: 600; }
.auth-footer a:hover { color: var(--primary-blue); }

.back-link {
    color: #888 !important;
    font-weight: 400 !important;
    font-size: 0.85rem;
    text-decoration: none;
}
.back-link:hover { color: var(--primary-blue) !important; }

/* Responsive height for mobile to prevent cutoff */
@media (max-height: 700px) {
    .auth-body { height: auto; min-height: 100vh; padding: 40px 0; }
}
/* --- Social Login Styles --- */

/* The "OR" Divider */
.auth-separator {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.auth-separator span {
    position: relative;
    background: #fff;
    padding: 0 10px;
    color: #888;
    font-size: 0.85rem;
    z-index: 2;
    font-weight: 500;
}

/* Social Buttons Container */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common Button Styles */
.btn-social {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Google Button */
.btn-google {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.btn-google:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Facebook Button */
.btn-facebook {
    background-color: #1877F2; /* Official FB Blue */
    color: #fff;
}

.btn-facebook i {
    font-size: 1.1rem;
}

.btn-facebook:hover {
    background-color: #1462c9;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}
/* --- CAREER PAGE STYLES --- */

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.job-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-blue);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left-color: var(--electric-yellow);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.job-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--primary-blue);
}

.job-type {
    background: rgba(37, 99, 235, 0.1);
    color: var(--electric-blue);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-location {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.job-location i { color: var(--electric-yellow); margin-right: 5px; }

.job-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

/* File Upload Input Styling */
input[type="file"]::file-selector-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background-color: var(--electric-blue);
}
/* --- BLOG PAGE STYLES --- */

/* Layout: Sidebar + Main Content */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Main content takes 2 parts, Sidebar 1 part */
    gap: 40px;
    align-items: start;
}

/* Blog Card Styles */
.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--electric-yellow);
    color: var(--primary-blue);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
}

.blog-content { padding: 30px; }

.blog-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.blog-meta span { margin-right: 15px; }
.blog-meta i { color: var(--electric-yellow); margin-right: 5px; }

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p { color: #666; margin-bottom: 20px; }

.read-more {
    color: var(--electric-blue);
    font-weight: 600;
    transition: 0.3s;
}

.read-more:hover { color: var(--primary-blue); text-decoration: underline; }

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--electric-yellow);
    padding-left: 15px;
}

/* Search Form */
.search-form { display: flex; }
.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}
.search-form button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Category List */
.cat-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.cat-list li:last-child { border-bottom: none; }

.cat-list a {
    display: flex;
    justify-content: space-between;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}
.cat-list a:hover { color: var(--electric-blue); padding-left: 5px; }

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.recent-post-item a {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    display: block;
}
.recent-post-item small { color: #999; }

/* Pagination */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}
.pagination a.active, .pagination a:hover {
    background: var(--electric-yellow);
    color: var(--primary-blue);
}

/* Mobile Responsive Blog */
@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; } /* Stack sidebar below content */
    .blog-sidebar { position: static; margin-top: 40px; }
}
