/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a5568;
    --accent-color: #2563eb;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
}

/* Typography */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}

small {
    font-size: 14px;
    color: var(--text-light);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
    display: block;
    padding: 0.5rem 0;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

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

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

/* Header Banner */
.header-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.header-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.header-banner .heritage {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(37, 99, 235, 0.9));
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero.with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(37, 99, 235, 0.8));
    z-index: 0;
}

.hero.with-bg .container {
    position: relative;
    z-index: 1;
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Background Image Sections */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.section-with-bg .container {
    position: relative;
    z-index: 1;
}

/* Two Column Layout with Image */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.two-column .column-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.two-column .column-content {
    padding: 2rem 0;
}

/* Five Pillars Section */
.pillars-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
}

.pillar-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pillar-card-content {
    display: flex;
    flex-direction: column;
}

.pillar-card-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

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

.pillar-card .pillar-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.pillar-standards {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
}

.pillar-standards .standard-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pillar-standards .standard-item::before {
    content: '•';
    color: var(--accent-color);
    font-size: 24px;
    line-height: 1;
    margin-top: 0.2rem;
}

.pillar-standards strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Founder's Philosophy */
.founder-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(37, 99, 235, 0.95));
    color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/Builders & Developers1.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.founder-section .container {
    position: relative;
    z-index: 1;
}

.founder-quote {
    font-size: 22px;
    line-height: 1.9;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.founder-signature {
    text-align: right;
    margin-top: 2rem;
    font-size: 18px;
}

.founder-signature .name {
    font-weight: 700;
    font-size: 20px;
    margin-top: 0.5rem;
}

.founder-signature .title {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.owner-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.owner-profile-image-wrap {
    text-align: center;
}

.owner-profile-image {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.founder-section .owner-profile-image {
    border-color: rgba(255, 255, 255, 0.4);
}

.section-alt .owner-profile-image,
.section .owner-profile-image {
    border-color: var(--accent-color);
}

.owner-profile-content h3 {
    margin-bottom: 0.5rem;
}

.owner-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.founder-section .owner-title {
    color: rgba(255, 255, 255, 0.85);
}

.owner-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.founder-section .owner-profile-content .founder-quote {
    margin: 0 0 2rem;
    text-align: left;
}

.founder-section .owner-profile-content .founder-signature {
    text-align: left;
}

/* Why Partner Section */
.partner-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

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

.partner-feature {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.partner-feature p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Updated Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-invitation {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 18px;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

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

.footer-contact-item {
    padding: 1rem;
}

.footer-contact-item h4 {
    font-size: 16px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-item p,
.footer-contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    opacity: 0.9;
}

.footer-contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

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

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

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

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero .sub-headline {
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.hero .cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--accent-color);
}

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

.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Features/Values */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

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

.feature p {
    color: var(--text-light);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.contact-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.footer-content small {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-banner {
        font-size: 12px;
        padding: 0.5rem 0;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero {
        padding: 4rem 0;
    }

    .hero p {
        font-size: 18px;
    }

    .section {
        padding: 3rem 0;
    }

    .card-grid,
    .features,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        padding: 0 1rem;
        margin-top: 0;
        transition: all 0.3s ease;
    }

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 1rem;
    }

    .dropdown > a::after {
        content: ' ▼';
    }

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

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

    .image-slider {
        height: 400px;
    }

    .hero .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero .cta-group .btn {
        width: 100%;
        max-width: 300px;
    }

    .pillar-card {
        padding: 2rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar-card-image {
        height: 300px;
    }

    .pillar-card h3 {
        font-size: 24px;
    }

    .founder-quote {
        font-size: 18px;
    }

    .owner-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .owner-profile-image {
        width: 220px;
        height: 220px;
    }

    .founder-section .owner-profile-content .founder-quote,
    .founder-section .owner-profile-content .founder-signature {
        text-align: center;
    }

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

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0 1rem;
    }
}
