/* ==========================
   Banner
========================== */
.banner {
    background-color: #000;
    padding: 0;
    /* top & bottom padding 0 */
    text-align: center;
}

/* Logo inside banner */
.banner img {
    width: 60%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}
/* Medium screens (tablets) */
@media (min-width: 768px) {
    .banner img {
        width: 50%;
        max-width: 500px;
    }
}

/* Large screens (desktop) */
@media (min-width: 992px) {
    .banner img {
        width: 40%;
        max-width: 600px;
    }
}

/* ==========================
   Navbar
========================== */
.navbar-custom {
    background-color: #000;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    /* subtle shadow */
}

/* Nav links */
.navbar-custom .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 25px;
    /* spacing between links */
    font-size: 16px;
    /* mobile default */
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover effect: animated underline */
.navbar-custom .navbar-nav .nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #f0a500;
    /* golden highlight */
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #f0a500;
}

/* Active link */
.navbar-custom .navbar-nav .active {
    color: #f0a500;
    font-weight: 600;
}



/* ==========================
   ABOUT US SECTION
========================== */
.about-section {
    padding-top: 60px;
    padding-bottom: 60px;
    font-family: 'Roboto Condensed', sans-serif;
}

.about-img {
    float: left;
    margin-right: 25px;
    max-width: 100%; /* default desktop */
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.about-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.about-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}


/*Mini screens*/
@media (max-width: 500px) {
    .navbar-custom .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1.6rem;
    }

    .about-img {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        max-width: 250px; /* smaller and centered */
        width: 100%;
    }
}

@media (min-width: 800px) {
    .about-img {
        transform: scale(1.20);   /* ~200–300px visual increase */
        transform-origin: right center;
    }
    
    .about-section {
        overflow: visible;
    }
}


/* ==========================
   CONTACT  SECTION
========================== */
.mail-fade-out {
    opacity: 1;
    transition: opacity 1s ease-out;
}
.mail-fade-out.hide {
    opacity: 0;
}



/* =========================
   SERVICE CARD BASE
========================= */
.service-card {
    border: 2.5px solid rgba(255,255,255,0.85);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    transition: all 0.45s ease;
    background: transparent;
}

/* Title */
.service-title {
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1.15rem;
    transition: font-size 0.4s ease;
}

/* Short description */
.service-short {
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

/* Full content */
.service-content {
    display: none;
    margin-top: 25px;
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Link – always white */
.service-toggle {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
}

.service-toggle:hover {
    text-decoration: underline;
}

/* =========================
   EXPANDED STATE
========================= */
.service-card.expanded {
    background: #26262F;
    border-width: 3px;
}

/* Bigger typography when expanded */
.service-card.expanded .service-title {
    font-size: 1.6rem;
}

.service-card.expanded .service-content {
    display: block;
    font-size: 1.15rem;
}

/* Hide short text */
.service-card.expanded .service-short {
    display: none;
}

/* =========================
   CENTERED EXPANSION
========================= */
.service-wrapper.expanded-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.service-wrapper.expanded-wrapper .service-card {
    width: calc(100% - 400px);
    max-width: 900px;
}
/* =========================
   HIDE OTHER CARDS
========================= */
.service-hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}


/* =========================
   SERVICE ICON BREAK
========================= */
.service-card {
    position: relative;
    padding-top: 55px; /* space for icon */
}

/* Icon wrapper */
.service-card-icon {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: #30303a; /* same as section bg */
    padding: 6px 14px;
    border-radius: 14px;
    z-index: 5;
}

/* Icon image */
.service-card-icon img {
    width: 48px;
    height: auto;
    transition: all 0.45s ease;
}

/* =========================
   EXPANDED ICON SCALE
========================= */
.service-card.expanded .service-card-icon img {
    width: 64px;
}

/* Make border "break" illusion clean */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2.5px;
    background: #30303a;
    z-index: 2;
}



/* =========================
   FOOTER
========================= */
.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.footer-contact {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-contact .material-icons {
    font-size: 18px;
    vertical-align: middle;
}


@media (max-width: 500px) {
    .service-wrapper.expanded-wrapper .service-card {
        width: 100%;       /* Full width for small screens */
        max-width: 100%;   /* Prevent shrinking */
        margin: 0 12px;    /* small left-right padding so text isn't flush to edge */
    }

    /* Optional: make title & content smaller for readability */
    .service-card.expanded .service-title {
        font-size: 1.25rem;
    }

    .service-card.expanded .service-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Icon scale down for mobile */
    .service-card-icon img {
        width: 40px;
    }
}


/* Medium screens and up */
@media (min-width: 768px) {
    .navbar-custom .navbar-nav .nav-link {
        font-size: 18px;
        padding: 10px 30px;
    }

    .about-img {
        float: left;
        margin-right: 25px;
        width: 100%;
        max-width: 300px; /* good proportional size */
    }

    .service-wrapper.expanded-wrapper .service-card {
        width: 100%;
    }
}

/* Large screens */
@media (min-width: 992px) {
    .navbar-custom .navbar-nav .nav-link {
        font-size: 20px;
        padding: 10px 40px;
    }

    .about-title {
        font-size: 32px;
    }
    .about-content {
        font-size: 19px;
    }

    .service-wrapper.expanded-wrapper .service-card {
        width: calc(100% - 200px);
    }
}

/* ==========================
   Hamburger icon for mobile (white)
========================== */
.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Optional: adjust navbar collapse spacing for mobile */
@media (max-width: 767px) {
    .navbar-custom .navbar-collapse {
        background-color: #000;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}
