/* Root Variables */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Asimovian&family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ea580c;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 0.75rem;
    --transition: all 0.3s ease;
    --font-primary: 'Work', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


/* Global Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}


/* Navigation */


.navbar {
    background: rgba(8, 27, 79, 0.333);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1px 0;
}

.navbar.scrolled {
    background: var(--primary-color);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}


/* Hero Section */

.hero-section {
    height: 80vh;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(209, 212, 217, 0.6)), url('assets/img/bg1.jpeg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition);
}


/* Desktop (>1024px) */

@media (min-width: 1025px) {
    .hero-title {
        font-size: 60px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-buttons .btn {
        font-size: 18px;
        padding: 12px 30px;
    }
}


/* Tablet (768px - 1024px) */

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: 45px;
    }
    .hero-subtitle {
        font-size: 16px;
        max-width: 400px;
    }
    .hero-buttons .btn {
        font-size: 16px;
        padding: 10px 25px;
    }
    .construction-shape {
        text-align: center;
        margin-top: 30px;
    }
}


/* Mobile (<768px) */

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
        padding: 60px 20px;
        min-height: auto;
    }
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        margin-top: 2%;
    }
    .hero-subtitle {
        font-size: 14px;
        max-width: 100%;
        margin: 20px auto;
    }
    .hero-buttons .btn {
        font-size: 14px;
        padding: 8px 20px;
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    .col-lg-4.d-none.d-lg-block {
        display: block !important;
        margin-top: 30px;
    }
    .construction-shape img {
        max-width: 35%;
        margin: 0 auto;
    }
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}


/* Animations */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* About Section */

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stats-row .counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}


/* Service Cards */

.service-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}


/* Project Cards */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 280px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(60px);
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.form-control {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}


/* Testimonials */

.carousel-item {
    padding: 2rem 0;
}

.blockquote {
    border: none;
    margin-bottom: 0;
}

.blockquote p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blockquote-footer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}


/* Footer */

footer {
    margin-top: auto;
}


/* Utility Classes */

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Custom Bootstrap Overrides */

.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}


/* Loading Animation for counters */

.counter {
    transition: all 0.8s ease;
}


/* Typing Animation Style */

.typing-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    border-right: 3px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .typing-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .typing-text {
        font-size: 1.5rem;
    }
}

.word-animation {
    font-size: 1.1rem;
    color: #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.word-animation span {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
    animation: wordFade 0.5s forwards;
}

@keyframes wordFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive text size */

@media (max-width: 768px) {
    .word-animation {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .word-animation {
        font-size: 0.95rem;
    }
}

footer.footer {
    border-radius: 60px 60px 0 0;
    /* Creates rounded top edges */
    overflow: hidden;
    /* Ensures background stays inside shape */
}

.animate-up {
    animation: floatUp 6s ease-in-out infinite;
}

.animate-down {
    animation: floatDown 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}

#who-we-are {
    perspective: 2000px;
    /* Enable 3D effect */
}

.book-image {
    width: 100%;
    max-width: 280px;
    height: 380px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    transform-origin: center center;
}


/* Desktop (>1024px) */

@media (min-width: 1025px) {
    .book-image {
        max-width: 280px;
        height: 380px;
    }
    .book-image img {
        object-fit: cover;
    }
}


/* Tablet: 768px - 1024px */

@media (min-width: 768px) and (max-width: 1024px) {
    .book-image {
        max-width: 220px;
        height: 300px;
    }
    .book-image img {
        object-fit: cover;
    }
}


/* Mobile: <768px */

@media (max-width: 767px) {
    .book-image {
        max-width: 320px;
        height: 180px;
        margin: 0 auto;
        /* center on small screens */
    }
    .book-image img {
        object-fit: cover;
    }
}


/* Initial state (closed like a book) */

.left-page {
    transform: rotateY(90deg);
    opacity: 0;
}

.right-page {
    transform: rotateY(-90deg);
    opacity: 0;
}


/* When visible, animate like opening */

.left-page.show {
    animation: openLeft 1.2s ease forwards;
}

.right-page.show {
    animation: openRight 1.2s ease forwards;
}

@keyframes openLeft {
    from {
        transform: rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

@keyframes openRight {
    from {
        transform: rotateY(-90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.floating-shape {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

#who-we-are {
    background: url("assets/img/building-sketch.jpg") no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#who-we-are .bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.955);
    z-index: -1;
}


/* Decorative SVG Icons */

@media (max-width: 768px) {
    .construction-icons .icon {
        width: 40px;
        height: 40px;
        opacity: 0.15;
    }
}

@media (max-width: 576px) {
    .construction-icons {
        display: none;
    }
    /* hide icons on very small screens */
}


/* Background */

#mission-vision {
    background: linear-gradient(135deg, #f9fafc 40%, #eef3f9 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}


/* Optional subtle pattern */

#mission-vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/pattern.png") repeat;
    opacity: 0.05;
    z-index: -1;
}


/* Glass-style cards */

.card-glass {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* Image animations */

.float-up {
    animation: floatUp 5s ease-in-out infinite;
}

.float-down {
    animation: floatDown 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}


/* Decorative Premium Icons */

.decorative-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.decorative-icons .icon {
    position: absolute;
    font-size: 3rem;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
    animation: floatIcon 10s linear infinite;
}

.icon-1 {
    top: 10%;
    left: 90%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.icon-3 {
    top: 30%;
    right: 5%;
    animation-delay: 6s;
}

.icon-4 {
    bottom: 40%;
    left: 90%;
    animation-delay: 9s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}


/* Responsive */


/* Desktop (>1024px) */

@media (min-width: 1025px) {
    #mission-vision h2 {
        font-size: 38px;
    }
    #mission-vision p {
        font-size: 16px;
    }
    .image-wrapper img.float-up {
        max-height: 320px;
    }
    .image-wrapper img.float-down {
        max-height: 280px;
    }
}


/* Tablet: 768px - 1024px */

@media (min-width: 768px) and (max-width: 1024px) {
    #mission-vision {
        padding: 60px 20px;
    }
    #mission-vision h2 {
        font-size: 32px;
    }
    #mission-vision p {
        font-size: 15px;
    }
    .card-glass {
        padding: 20px;
    }
    .image-wrapper img.float-up {
        max-height: 260px;
    }
    .image-wrapper img.float-down {
        max-height: 220px;
    }
}


/* Mobile: <768px */

@media (max-width: 767px) {
    #mission-vision {
        padding: 40px 15px;
    }
    #mission-vision h2 {
        font-size: 26px;
        text-align: center;
    }
    #mission-vision p {
        font-size: 14px;
        text-align: center;
    }
    .card-glass {
        margin-bottom: 20px;
        padding: 15px;
    }
    .row.align-items-center {
        flex-direction: column;
    }
    .col-lg-6 {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .image-wrapper img.float-up,
    .image-wrapper img.float-down {
        max-width: 80%;
        margin: 10px auto;
        height: 230px;
    }
    .decorative-icons .icon {
        font-size: 2rem;
    }
}

#founders {
    background: linear-gradient(135deg, #f9f9f9 40%, #eef3f9 100%);
}

.founder-img-wrap {
    width: 350px;
    height: 350px;
    overflow: hidden;
    margin: 0 auto;
    /* square shape - no rounded corners */
}

.founder-img-wrap.large {
    width: 100%;
    height: 70%;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}


/* Responsive */

@media (max-width: 767px) {
    .founder-img-wrap {
        width: 160px;
        height: 160px;
    }
    .founder-img-wrap.large {
        width: 220px;
        height: 220px;
    }
    .text-center p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .founder-img-wrap {
        width: 190px;
        height: 190px;
    }
    .founder-img-wrap.large {
        width: 210px;
        height: 210px;
    }
    .text-center p {
        font-size: 14px;
        margin-left: 11%;
        margin-right: 11%;
    }
}

.vertical-text {
    position: absolute;
    top: -50px;
    bottom: -50px;
    width: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-weight: 900;
    font-size: 34px;
    color: #fff;
    text-transform: uppercase;
    padding: 15px;
    letter-spacing: 3px;
    opacity: 0.95;
    z-index: 1;
    transform-origin: center;
}

.vertical-text.left {
    left: 0;
    background: #0d6efd;
    animation: scrollDown 10s linear infinite;
}

.vertical-text.right {
    right: 0;
    background: #ffc107;
    animation: scrollUp 10s linear infinite;
}


/* Scroll Animations */

@keyframes scrollDown {
    0% {
        transform: translateY(-120%) rotate(0deg);
    }
    100% {
        transform: translateY(120%) rotate(0deg);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(120%) rotate(0deg);
    }
    100% {
        transform: translateY(-120%) rotate(0deg);
    }
}


/* Responsive Styles */


/* Tablet: 768px - 1024px */

@media (max-width: 1024px) {
    .vertical-text {
        width: 70px;
        font-size: 28px;
        padding: 10px;
    }
}


/* Mobile: up to 767px */

@media (max-width: 767px) {
    .vertical-text {
        width: 50px;
        font-size: 20px;
        padding: 6px;
    }
    /* Optional: slower scroll on small screens */
    .vertical-text.left {
        animation: scrollDown 15s linear infinite;
    }
    .vertical-text.right {
        animation: scrollUp 15s linear infinite;
    }
}


/* ================== About Section ================== */


/* Tablet: 768px - 1024px */

@media (min-width: 768px) and (max-width: 1024px) {
    #about {
        padding-bottom: 30px;
    }
    .about-content h2.section-title {
        font-size: 32px;
        text-align: center;
    }
    .about-content p.lead {
        font-size: 15px;
        text-align: center;
    }
    .feature-item {
        font-size: 14px;
        justify-content: center;
    }
    .stats-row h3 {
        font-size: 24px;
    }
    .stats-row p {
        font-size: 13px;
    }
    .row.align-items-center {
        flex-wrap: wrap;
    }
    #about img {
        max-width: 90%;
        margin: 20px auto 0;
        display: block;
    }
}


/* Mobile: <768px */

@media (max-width: 767px) {
    #about {
        padding-bottom: 20px;
    }
    .about-content h2.section-title {
        font-size: 26px;
        text-align: center;
    }
    .about-content p.lead {
        font-size: 14px;
        text-align: center;
    }
    .feature-item {
        font-size: 13px;
        justify-content: center;
        margin-bottom: 10px;
    }
    .stats-row h3 {
        font-size: 20px;
    }
    .stats-row p {
        font-size: 12px;
    }
    .row.align-items-center {
        flex-direction: column;
    }
    #about img {
        max-width: 80%;
        margin: 15px auto 0;
        display: block;
        height: auto;
    }
}

.amenity-card {
    perspective: 1200px;
    /* 3D depth */
}

.flip-box {
    position: relative;
    width: 100%;
    height: 360px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-back {
    background: linear-gradient(135deg, #f9f9f9, #e6e6e6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: rotateY(180deg);
}


/* Contact Page Specific Styles */


/* Contact Hero Section */

.contact-hero {
    height: 80vh;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.7)), url('assets/img/contact.jpeg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-item h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
}


/* Contact Method Cards */

.contact-method-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-method-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-detail {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-hours {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


/* Contact Form Section */

.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/* Office Info Section */

.office-info {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.office-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.office-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-color), #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.office-detail-content h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.office-detail-content p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.office-actions {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}


/* Map Container */

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--light-color), #e2e8f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}


/* Emergency Contact Section */

.bg-warning {
    background-color: #fef3c7 !important;
}

.bg-warning h5,
.bg-warning p {
    color: var(--dark-color);
}

.bg-warning i {
    color: #d97706;
}


/* FAQ Section */

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    color: var(--text-color);
    line-height: 1.6;
}


/* Form Validation Styles */

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


/* Loading State */

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Success Message */

.alert-success-custom {
    background: linear-gradient(45deg, var(--success-color), #10b981);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.alert-success-custom i {
    font-size: 1.5rem;
    margin-right: 1rem;
}


/* Responsive Design */

@media (max-width: 768px) {
    .contact-hero {
        height: 60vh;
    }
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    .office-info {
        padding: 2rem 1.5rem;
    }
    .contact-method-card {
        padding: 2rem 1.5rem;
    }
    .stat-item {
        padding: 1rem;
    }
    .office-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .office-actions .me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    .office-info {
        padding: 1.5rem 1rem;
    }
    .contact-method-card {
        padding: 1.5rem 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .map-container {
        min-height: 300px;
    }
    .map-placeholder {
        padding: 1.5rem;
    }
    .map-placeholder i {
        font-size: 3rem;
    }
}


/* Animation for contact cards */

.contact-method-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-method-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-method-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-method-card:nth-child(3) {
    animation-delay: 0.3s;
}


/* Enhanced hover effects */

.contact-method-icon {
    transition: var(--transition);
}

.contact-method-card:hover .contact-method-icon {
    transform: rotate(10deg) scale(1.1);
}

.office-detail-icon {
    transition: var(--transition);
}

.office-detail-item:hover .office-detail-icon {
    transform: rotate(-10deg) scale(1.1);
}


/* ========== Responsive Enhancements ========== */


/* Large tablets / small desktops */

@media (max-width: 1200px) {
    .contact-hero {
        height: 65vh;
        padding: 2rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-stats {
        margin-top: 1.5rem;
    }
    .stat-item {
        padding: 1.2rem;
    }
}


/* Tablets */

@media (max-width: 992px) {
    .contact-hero {
        height: 60vh;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 1.5rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .contact-form-section,
    .office-info {
        margin-bottom: 2rem;
    }
    .map-container {
        min-height: 350px;
    }
}


/* Large Phones */

@media (max-width: 768px) {
    .contact-hero {
        height: auto;
        min-height: 55vh;
        padding: 3rem 1.5rem;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .stat-item {
        margin-bottom: 1rem;
    }
    .contact-method-card,
    .office-info {
        padding: 1.5rem;
    }
}


/* Small Phones */

@media (max-width: 576px) {
    .contact-hero {
        padding: 2.5rem 1rem;
        text-align: center;
    }
    .hero-title {
        margin-top: 8%;
        font-size: 1.8rem;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .stat-item h4 {
        font-size: 1.2rem;
    }
    .stat-item p {
        font-size: 0.8rem;
    }
    .map-container {
        min-height: 250px;
    }
    .contact-method-card {
        padding: 1.25rem;
    }
    .office-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .office-detail-icon {
        margin: 0 0 0.75rem 0;
    }
    .office-actions .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #215287, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Floating Back-to-Top Button */

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 58, 138, 0.85);
    /* Bootstrap primary color */
    color: #fff;
    font-size: 22px;
    border: none;
    border-radius: 50%;
    padding: 12px 15px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    /* hidden by default */
    transition: all 0.3s ease-in-out;
}

.scroll-top:hover {
    background: rgba(125, 131, 148, 0.85);
    transform: scale(1.1);
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .scroll-top {
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 12px;
        right: 12px;
        font-size: 18px;
        padding: 8px 10px;
    }
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1200;
}

.contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0e2772;
    /* WhatsApp green */
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px;
}

.contact-menu a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    margin: 6px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.contact-menu a:hover {
    transform: scale(1.1);
}


/* WhatsApp */

.contact-menu a.whatsapp {
    background: #25d366;
}


/* Instagram official gradient */

.contact-menu a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media (max-width: 768px) {
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .contact-menu a {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}


/* ===== Showcase Section ===== */

.showcase-section {
    position: relative;
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.showcase-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.showcase-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
}


/* ===== Showcase Grid ===== */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


/* ===== Showcase Item ===== */

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s ease;
    height: 300px;
    /* Fixed height for all items */
}

.showcase-item:hover {
    transform: scale(1.03);
}


/* ===== Image Styling ===== */

.showcase-image img {
    width: 100%;
    height: 300px;
    /* Fill fixed height */
    object-fit: cover;
    /* Maintain aspect ratio and crop if needed */
    display: block;
    transition: transform 0.4s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}


/* ===== Hover Overlay ===== */

.showcase-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-item:hover .showcase-hover {
    opacity: 1;
}


/* ===== Hover Content ===== */

.showcase-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.showcase-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.showcase-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}


/* ===== Hover Button ===== */

.showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ff6600;
    /* Button color */
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.showcase-btn:hover {
    background: #e65c00;
    transform: scale(1.1);
}


/* ===== Responsive ===== */

@media (max-width: 992px) {
    .showcase-title {
        font-size: 2.25rem;
    }
    .showcase-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        gap: 20px;
    }
    .showcase-title {
        font-size: 1.9rem;
    }
    .showcase-subtitle {
        font-size: 1rem;
    }
}

.specialty-features .feature-item i {
    display: inline-block;
    width: 1em;
    text-align: center;
}

.specialty-features .feature-item i::before {
    content: "•"; /* bullet */
    font-size: 1em;
    color: #000; /* bullet color */
}

.scrolling-menu .nav-link {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.scrolling-menu .nav-link:hover {
    color: #ffc107;
}


/* Animation: Right to Left */

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Adjust logo and font size on mobile */

@media (max-width: 992px) {
    #mainNavbar .navbar-brand img {
        height: 45px;
        width: 65px;
    }
    .scrolling-menu .nav-link {
        font-size: 0.85rem;
    }
}

.hero-buttons .btn {
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
}

.projects .list-group-item {
    padding: 10px 15px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.hero {
    text-align: center;
    padding: 0 20px;
    background: #f5f5f5;
}

.hero-title {
    font-size: 2.5rem;
    /* Desktop size */
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.2rem;
    /* Desktop size */
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px auto;
}


/* Hero Buttons */

.hero-buttons .btn {
    font-size: 1rem;
    padding: 10px 25px;
    white-space: nowrap;
    /* Keep single line */
    text-align: center;
    cursor: pointer;
}


/* Responsive for Mobile */

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        /* Smaller heading */
        white-space: nowrap;
        /* Keep single line */
    }
    .hero-description {
        font-size: 1rem;
        /* Smaller paragraph */
        max-width: 90%;
    }
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}


/* Navbar background */

#mainNavbar {
    background-color: #000;
    padding: 8px 15px;
    height: 60px;
}


/* Scrolling menu wrapper */

.scrolling-menu-wrapper {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}


/* Scrolling menu content */

.scrolling-menu {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;
}


/* Menu links */

.scrolling-menu .nav-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.scrolling-menu .nav-link:hover {
    color: #ffc107;
}


/* Mobile: Enable infinite scroll */

@media (max-width: 992px) {
    .scrolling-menu {
        animation: scroll-left 30s linear infinite;
    }
}


/* Desktop: No animation (stagnant) */

@media (min-width: 993px) {
    .scrolling-menu {
        animation: none;
    }
}


/* Animation: Right-to-left */

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Logo adjustment for mobile */

@media (max-width: 992px) {
    #mainNavbar .navbar-brand img {
        height: 45px;
        width: 65px;
    }
}


/* Navbar background */

#mainNavbar {
    background-color: #000;
    padding: 8px 15px;
    height: 60px;
}


/* Scrolling menu wrapper */

.scrolling-menu-wrapper {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}


/* Menu links container */

.scrolling-menu {
    display: inline-flex;
    gap: 20px;
    white-space: nowrap;
    position: relative;
    /* Desktop static by default */
    animation: none;
}


/* Menu links */

.scrolling-menu .nav-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.scrolling-menu .nav-link:hover {
    color: #ffc107;
}


/* Desktop: static, single set */

@media (min-width: 993px) {
    .scrolling-menu {
        animation: none;
    }
}


/* Mobile: continuous right-to-left scroll */

@media (max-width: 992px) {
    .scrolling-menu {
        animation: scroll-left 10s linear infinite;
    }
    /* Duplicate content visually for seamless scroll */
    .scrolling-menu::after {
        content: '';
        display: inline-block;
        width: 100%;
        /* same width as original links */
    }
}


/* Animation: right-to-left continuous */

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Logo adjustment for mobile */

@media (max-width: 992px) {
    #mainNavbar .navbar-brand img {
        height: 55px;
        width: 70px;
    }
}


/* Navbar background */

#mainNavbar {
    background-color: rgba(8, 27, 79, 0.333);
    padding: 8px 15px;
    height: 85px;
}

#mainNavbar.scrolled {
    background: #1e3a8a;
    box-shadow: var(--shadow);
}

#mainNavbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

#mainNav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

#mainNav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}


/* Scrolling menu wrapper */

.scrolling-menu-wrapper {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}


/* Menu links container */

.scrolling-menu {
    display: inline-flex;
    gap: 15px;
    white-space: nowrap;
}


/* Menu links */

.scrolling-menu .nav-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.scrolling-menu .nav-link:hover {
    color: #ffc107;
}


/* Desktop: static, links on extreme right */

@media (min-width: 993px) {
    .scrolling-menu-wrapper {
        justify-content: flex-end;
        /* right aligned */
    }
    .scrolling-menu {
        animation: none;
        /* no scroll */
    }
}


/* Mobile: continuous right-to-left scroll */

@media (max-width: 992px) {
    .scrolling-menu-wrapper {
        justify-content: flex-start;
    }
    .scrolling-menu {
        animation: scroll-left 10s linear infinite;
    }
    /* Clone links visually for seamless infinite scroll */
    .scrolling-menu::after {
        content: '';
        display: inline-block;
        width: 100%;
    }
}


/* Animation: right-to-left continuous */

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat-item {
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b37100;
    display: inline-flex;
    align-items: baseline;
}

.stat-number .plus {
    font-size: 2.5rem;
    margin-left: 4px;
    color: #b37100;
}

.count {
    display: inline-block;
    transform: translateY(6px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.count[data-animated="true"] {
    transform: translateY(0);
    opacity: 1;
}
