/* ==================== CSS RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
    --white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

/* ==================== GENERAL STYLES ==================== */
html {
    scroll-behavior: smooth;
}

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

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

/* Center second line for sister-company nav link */
.nav-menu li a .sister-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.nav-menu li a .sister-top,
.nav-menu li a .sister-sub {
    display: block;
    width: 100%;
    text-align: center;
}
.nav-menu li a .sister-sub {
    font-size: 0.85em;
    margin-top: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    --logo-text-height: 3.5rem;
}

.logo img {
    /* Keep logo neat and responsive */
    max-height: 80px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
    background-color: transparent;
    margin-right: 0.8rem;
}

.logo span {
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}
.logo-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);

}
.logo-sub {
    font-size: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}




.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin-left: auto;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.2rem;
    padding: 0.5rem 0.75rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active {
    font-weight: 700;
}

/* Stronger "lit" appearance for active nav link */
.nav-menu a.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.nav-menu a {
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, font-size 0.12s ease;
}

.nav-menu a.active::after {
    display: none;
}

.nav-menu li:last-child a {
    max-width: 120px;
    text-align: center;
    line-height: 1.3;
    word-wrap: break-word;
    white-space: normal;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: #c23e2c;
    border-color: #c23e2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231, 76, 60, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ==================== HERO SECTIONS ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5.5rem 0;
    text-align: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(52, 152, 219, 0.18);
}

.feature-icon {
    font-size: 3.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== SERVICES PREVIEW ==================== */
.services-preview {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s ease, border-left-color 0.3s ease;
    position: relative;
}

.service-item:hover {
    box-shadow: 0 12px 28px rgba(52, 152, 219, 0.15);
    transform: translateX(8px);
    border-left-color: var(--accent-color);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-item a {
    font-weight: 600;
    display: inline-block;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(52, 152, 219, 0.12);
}

.testimonial p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.testimonial h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== ANNOUNCEMENT SECTION ==================== */
.announcement-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.announcement-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.announcement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--secondary-color);
}

.announcement-icon {
    font-size: 2.5rem;
}

.announcement-card h2 {
    margin: 1rem 0;
    color: var(--primary-color);
}

.announcement-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 2rem auto;
    color: var(--dark-gray);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.9;
}

.partner-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.partner-section .container {
    max-width: 950px;
}

.partner-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partner-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
    display: grid;
    gap: 1rem;
}

.partner-list li {
    background: var(--light-gray);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    color: var(--dark-gray);
    line-height: 1.75;
}

.contact-facts {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.contact-facts-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.fact-card-full {
    grid-column: 1 / -1;
}

.fact-card h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 600;
}

.fact-card p {
    color: var(--dark-gray);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.fact-card p:last-child {
    margin-bottom: 0;
}

.fact-card a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fact-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.privacy-content {
    padding: 4rem 0;
    background-color: var(--white);
}

.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.privacy-content p,
.privacy-content li {
    color: var(--dark-gray);
    line-height: 1.8;
}

.privacy-content ul {
    list-style: disc inside;
    margin: 1rem 0 2rem 0;
    padding-left: 1rem;
}

/* ==================== ABOUT SECTION ==================== */

/* ==================== WHO WE SERVE ==================== */
.who-we-serve {
    padding: 1.75rem 0 1rem 0;
    background-color: var(--white);
}

.serve-intro {
    font-size: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin: 1.5rem 0 2rem 0;
    text-align: center;
    font-weight: 500;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.who-we-serve .serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.who-we-serve .serve-item {
    background-color: var(--light-gray);
    padding: 1.25rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.who-we-serve .serve-item span {
    color: var(--dark-gray);
    font-weight: 600;
}

.who-we-serve .emoji {
    font-size: 1.9rem;
    line-height: 1;
}

/* checkmark styling for WHY CHOOSE IITA */
.why-iita .check {
    color: var(--success-color);
    font-size: 1.15rem;
    line-height: 1;
    margin-right: 0.5rem;
}

/* ==================== WHY CHOOSE IITA ==================== */
.why-iita {
    padding: 1rem 0 2rem 0;
    background-color: var(--light-gray);
}
.why-iita .why-list {
    display: grid;
    gap: 1rem;
    list-style: none;
}
.why-iita .why-list li {
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    border-left: 5px solid var(--secondary-color);
}
.why-iita .why-list li p {
    margin-top: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.stat-card h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* ==================== CREDENTIALS ==================== */
.credentials {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.credential-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 32px rgba(52, 152, 219, 0.2);
}

.credential-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.credential-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== MISSION & VALUES ==================== */
.mission-values {
    padding: 4rem 0;
    background-color: var(--white);
}

.partner-section {
    padding: 4rem 0 3rem;
}

.partner-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.mission-card {
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.mission-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
}

.values-list {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.partner-section .mission-grid {
    grid-template-columns: 1fr;
    justify-items: center;
}

.partner-section .values-list {
    max-width: 800px;
    width: 100%;
    text-align: center;
    border-left: none;
    border: 1px solid rgba(52, 152, 219, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #f8fbfe 0%, var(--white) 100%);
}

.partner-section .values-list ul {
    display: grid;
    gap: 0.9rem;
}

.partner-section .values-list li {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    background-color: var(--white);
    text-align: left;
}

.values-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-list ul {
    list-style: none;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: var(--secondary-color);
}

/* ==================== EXPERTISE ==================== */
.expertise {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color);
    position: relative;
}

.expertise-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(52, 152, 219, 0.15);
}

.expertise-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expertise-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== SERVICES DETAILED ==================== */
.services-detailed {
    padding: 4rem 0;
}

.service-detailed {
    margin-bottom: 3rem;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--dark-gray);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==================== SERVICE PROCESS ==================== */
.service-process {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.step:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.step {
    cursor: pointer;
    position: relative;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.step:hover h3 {
    color: var(--secondary-color);
}

.step p {
    color: var(--dark-gray);
    font-size: 0.82rem;
    margin: 0.75rem 0 0 0;
    display: block;
    line-height: 1.5;
    text-align: center;
}

/* Popup styles removed - descriptions now display inline */

/* ==================== PRICING ==================== */
.pricing {
    padding: 4rem 0;
}

.pricing-table {
    overflow-x: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

table tbody tr:hover {
    background-color: var(--light-gray);
}

table tbody tr:last-child td {
    border-bottom: none;
}

.pricing .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-left: 4px solid var(--warning-color);
    color: var(--dark-gray);
    border-radius: 5px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-item a {
    font-weight: 600;
    color: var(--secondary-color);
}

.small {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

/* ==================== CONTACT FORM ==================== */
.contact-form-wrapper {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e0e6eb;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: rgba(52, 152, 219, 0.02);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    margin: 0;
    cursor: pointer;
    color: var(--dark-gray);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    display: none;
    margin-top: 1rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.faq-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.2s ease;
    position: relative;
}

.faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.12);
    border-left-color: var(--accent-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--dark-gray);
    margin: 0;
}

/* ==================== QUICK CONTACT ==================== */
.quick-contact {
    padding: 4rem 0;
    background-color: var(--white);
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
    text-decoration: none;
    gap: 0.75rem;
}

.quick-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.quick-btn span:first-child {
    font-size: 2rem;
}

.quick-btn span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
}

.phone-btn {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.email-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.form-btn {
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #f4f6f8;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu a.active {
        background-color: rgba(52, 152, 219, 0.12);
        padding: 0.2rem 0.6rem;
        border-radius: 6px;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(52,152,219,0.06);
        font-size: 1.12rem;
    }

    /* Subtle lift & fade animation when active state changes */
    .nav-menu a.active {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(52,152,219,0.12);
        background-color: rgba(52, 152, 219, 0.14);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo {
        gap: 0.6rem;
        ----logo-text-height: 8.2rem;
    }

    .logo-title {
        font-size: 0.85rem;
    }
    .logo-sub {
        font-size: 0.7rem;
    }

    .hero {
        padding: 3rem 0;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-preview-grid,
    .testimonials-grid,
    .credentials-grid,
    .expertise-grid,
    .process-steps,
    .quick-buttons,
    .contact-facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-card-full {
        grid-column: 1;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem;
    }
}

/* Adjust logo size for smaller screens */
@media (max-width: 768px) {
    .logo img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    .logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* mobile layout: keep logo compact */
    }
    .logo-text {
        align-items: center;
    }

    .logo img {
        max-height: 48px;
        height: auto;
        width: auto;
        object-fit: contain;
        background-color: transparent;
    }

    .hero {
        padding: 2.2rem 0;
        min-height: 220px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .page-hero {
        padding: 2.5rem 0;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .features,
    .services-preview,
    .testimonials,
    .about-section,
    .credentials,
    .mission-values,
    .expertise,
    .services-detailed,
    .service-process,
    .pricing,
    .contact-section,
    .faq-section,
    .quick-contact {
        padding: 2.5rem 0;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ==================== IMAGE UTILITIES ==================== */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== MODAL STYLES ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.4s ease;
    position: relative;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal-body p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-body strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.modal-footer .btn-primary {
    flex: 1;
    min-width: 150px;
}

.modal-footer .btn-secondary {
    flex: 1;
    min-width: 150px;
}

/* Instruction link button style */
.instruction-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

.instruction-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-body h2 {
        font-size: 1.4rem;
    }

    .modal-body p {
        font-size: 0.95rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

/* Note: to truly remove a white background from an image, convert it to a PNG with transparency
   using an image editor or ImageMagick. See README/help instructions in the site root. */

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* ==================== FOOTER AD (FUTURISTIC) ==================== */
.footer-ad {
    padding: 14px 18px;
    margin: 20px 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6,22,37,0.96), rgba(13,34,58,0.96));
    color: #e6f9ff;
    box-shadow: 0 10px 30px rgba(2,96,128,0.12), inset 0 0 40px rgba(0,120,200,0.03);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.footer-ad-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.ad-logo {
    height: 56px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.ad-body {
    flex: 1 1 auto;
    padding-right: 12px;
    color: #dff8ff;
    font-size: 0.98rem;
    line-height: 1.45;
}

.ad-link {
    color: #9fe9ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ad-cta .btn-primary {
    background: linear-gradient(90deg, #00b4d8, #0077b6);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,123,255,0.18);
}

.footer-ad:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(0,123,255,0.16);
}

@media (max-width: 768px) {
    .footer-ad-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ad-cta {
        align-self: stretch;
    }
}

