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

:root {
    --primary-color: #19253D;
    --secondary-color: #EEA329;
    --alternate-color: #747474;
    --white: #ffffff;
    --black: #000000;
    --light-bg: #f8f9fa;
    --dark-overlay: rgba(25, 37, 61, 0.85);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
}

/* Headings use Roboto Slab */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo-section .logo {
    height: 60px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--primary-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    margin-left: 1rem;
}


/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3d5f 100%);
    color: var(--white);
    padding: 100px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 37, 61, 0.75) 0%, rgba(42, 61, 95, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero-section .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.hero-section .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 163, 41, 0.3);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 80px 2rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--alternate-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Core Services - 2 columns on desktop */
@media (min-width: 769px) {
    .cards-grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Why Choose Us - 4 columns on desktop */
@media (min-width: 1200px) {
    .cards-grid-4col {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet view for 4 columns - show 2 columns */
@media (min-width: 769px) and (max-width: 1199px) {
    .cards-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

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

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.card p {
    color: var(--alternate-color);
    line-height: 1.8;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.two-column img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== TABLE STYLES ===== */
.table-container {
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

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

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

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

table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

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

/* ===== CLIENT LOGOS ===== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.client-item img {
    max-width: 100%;
    max-height: 100px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%);
}

.client-placeholder {
    color: var(--alternate-color);
    font-weight: 600;
    text-align: center;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(25, 37, 61, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    background: var(--light-bg);
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-grey-bg {
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-section + footer,
.section-grey-bg + footer {
    margin-top: 0;
}

.contact-section .section-container,
.section-grey-bg .section-container {
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info-item p {
    line-height: 1.8;
    opacity: 0.95;
}

.contact-info-item i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 2rem 20px;
    margin-top: 0;
}

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

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

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info p,
.address-info p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info a {
    color: var(--white);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.edb-badge {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and Medium Screens (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
        flex-wrap: nowrap;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: nowrap;
    }

    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .logo-section .logo {
        height: 50px;
    }

    .main-nav {
        flex-shrink: 0;
    }
}

/* Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .logo-section .logo {
        height: 45px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

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


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section {
        min-height: 500px;
        padding: 80px 1.5rem;
    }

    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

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

    .cards-grid-2col,
    .cards-grid-4col {
        grid-template-columns: 1fr;
    }
}

