/* ManiTouLink - ISP Theme Styles */
/*
Theme Name: FirstTel WP
Theme URI: http://example.com/firsttel-wp
Author: Agent
Author URI: http://example.com
Description: Custom theme for FirstTel integrated from static HTML.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firsttel
*/

:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --accent-color: #28a745;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

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

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

/* Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* Increased height for larger logo */
}

/* Updated Logo Style */
.logo img {
    height: 65px;
    /* Increased size so text is readable */
    width: auto;
    object-fit: contain;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    /* New nicer background: Tech/Connection theme */
    background: linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 50, 100, 0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1952&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Countdown Timer */
#countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.service-grid {
    display: grid;
    /* 3 boxes per line as requested */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive adjustment for Services */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Registration Form */
.registration {
    padding: 80px 0;
    background-color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.form-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Mock Google Captcha */
.g-recaptcha-mock {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    width: 300px;
    /* Fixed width like real captcha */
    height: 74px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    user-select: none;
}

.g-checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.g-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    margin-right: 12px;
    position: relative;
    transition: border 0.2s;
}

.g-checkbox:hover {
    border: 2px solid #b2b2b2;
}

.g-checkbox.checked {
    border: 2px solid #4285f4;
    /* Google Blue */
}

/* The checkmark */
.g-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #4285f4;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.g-label {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #000;
}

.g-logo {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
    /* Adjust alignment */
}

.g-icon {
    width: 32px;
    height: 32px;
    background-image: url('https://www.gstatic.com/recaptcha/api2/logo_48.png');
    background-size: 32px;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.g-terms {
    font-size: 10px;
    color: #555;
    text-align: center;
    margin-top: 2px;
}

/* Admin Dashboard */
.admin-container {
    padding: 40px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #777;
}

/* Footer */
footer {
    /* Nice dark pattern background */
    background: url('https://www.transparenttextures.com/patterns/dark-matter.png'), #1a1a2e;
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}