:root {
    --primary: #003366;
    --secondary: #fc9500;
    --default-font: "Montserrat", sans-serif;
}

/* =========================
   GLOBAL TYPOGRAPHY & SCROLL
========================= */
html {
    scroll-behavior: smooth; /* smooth scroll */
}

body {
    font-family: var(--default-font);
    font-weight: 400;
    color: #1f2937;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

.section-padding{padding:50px 0px !important;}

/* =========================
   COLORS & HELPERS
========================= */
.bg-primary-custom {
    background-color: var(--primary);
}

.text-secondary-custom {
    color: var(--secondary);
}

.section-padding {
    padding: 80px 0;
}

/* =========================
   NAV CUSTOM
========================= */

/* NAV LINK BASE */
.navbar-nav .nav-link {
    position: relative;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Animated underline for active and hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Hover and active underline */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* =========================
   DROPDOWN CHEVRON
========================= */

/* Align chevron nicely */
.navbar-nav .dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.navbar-nav .dropdown.show > .nav-link i {
    transform: rotate(180deg);
}

/* Remove pseudo ::after chevron */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* =========================
   DROPDOWN MENU
========================= */

/* Hover dropdown on desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .navbar-nav .dropdown-menu {
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* Dropdown menu base style */
.navbar-nav .dropdown-menu {
    background-color: var(--primary);
    border-radius: 6px;
    min-width: 220px;
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.navbar-nav .dropdown-menu .dropdown-item {
    color: #fff;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Hover on dropdown item */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Active dropdown item */
.navbar-nav .dropdown-menu .dropdown-item.active {
    background-color: var(--secondary);
    color: var(--primary);
}

/* =========================
   RESPONSIVE TWEAKS
========================= */

/* Mobile dropdown hover fix */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}



/* =========================
   BUTTONS (SLIM)
========================= */
.btn-secondary-custom {
    background-color: var(--secondary);
    color: #000;
    border: none;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #e58500;
    color: #000;
    transform: translateY(-2px);
}

/* =========================
   CAROUSEL
========================= */
#heroCarousel {
    overflow: hidden;
}

#heroCarousel .carousel-inner .carousel-item {
    max-height: 600px !important;
    transition: transform 1s ease, opacity 0.8s ease;
}

#heroCarousel .carousel-inner .carousel-item .carousel-img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

#heroCarousel .carousel-item.active .carousel-img {
    transform: scale(1.1); /* subtle zoom effect */
}

.carousel-caption {
    bottom: 28%;
}

.carousel-caption h1,
.carousel-caption p {
    border-radius: 6px;
    padding: 12px 22px;
    width: fit-content;
    transition: all 0.4s ease;
}

.carousel-caption h1 {
    font-size: 2.7rem;
    font-weight: 500;
    letter-spacing: -0.6px;
    background: rgba(0, 0, 0, 0.55); /* dark overlay for readability */
    color: #fff;
}

.carousel-caption p {
    font-size: 1.05rem;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    margin-top: 10px;
}

.carousel-indicators [data-bs-target]{
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 10px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #036;
    opacity: .5;
    transition: opacity .6s ease;
    border: solid 3px #fff !important;
}

.carousel-indicators .active{
    opacity: 1 !important;
}

/* =========================
   ICON / CONTENT BOXES
========================= */
.icon-box {
    border: 1px solid #e5e7eb;
    padding: 32px 26px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.icon-box h5 {
    font-weight: 500;
    letter-spacing: -0.2px;
}

.icon-box p {
    font-size: 1.2rem;
    color: #6b7280;
}

.icon-box:hover {
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    transform: translateY(-6px) scale(1.02);
}

/* =========================
   PARALLAX SERVICES SECTION
========================= */
.services-parallax {
    background-image:
        linear-gradient(
        rgba(0, 51, 102, 0.88),
        rgba(0, 51, 102, 0.88)
        ),
        url("/assets/img/services/skyscrapers.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Service Cards */
.services-parallax .icon-box {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 14px;
    padding: 36px 26px;
    font-weight: 500;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #ccc;
}

.services-parallax .icon-box i {
    color: var(--secondary);
    font-size: 52px !important;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.services-parallax .icon-box:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* =========================
   EDGE SPLIT SECTION (Parallax Modern)
========================= */
.parallax-edge {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.parallax-edge .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/services/skyscrapers.jpg'); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* classic parallax */
    z-index: 0;
    filter: brightness(0.35);
    transition: all 0.3s ease;
}

.parallax-edge .container {
    position: relative;
    z-index: 1; /* ensures content stays above background */
}

/* Titles and text */
.edge-title {
    font-weight: 300;
    letter-spacing: 0.6px;
    color: #fff;
    transition: all 0.35s ease;
}

.edge-text {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f3f3f3;
    transition: all 0.35s ease;
}

/* Edge grid tiles */
.edge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.edge-tile {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 26px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
}

.edge-tile i {
    font-size: 28px;
    color: var(--secondary);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.edge-tile span {
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 1.2rem;
    color: #003366;
}

/* Hover effects */
.edge-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.edge-tile:hover i {
    transform: scale(1.3) rotate(5deg);
    color: var(--primary);
}

/* Responsive for mobile */
@media (max-width: 991px) {
    .edge-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll reveal for modern effect */
.edge-tile {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.35s ease;
}

.edge-tile.visible {
    transform: translateY(0);
    opacity: 1;
}


/* =========================
   TEAM MANAGEMENT
========================= */
/* =========================
   Team Card
   ========================= */

.team-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Team Photo */
.team-photo {
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

/* Team Info */
.team-info {
    padding: 24px;
    background: #ffffff;
    flex-grow: 1;
    text-align: center;
}

.team-info h5 {
    font-weight: 500;
    margin-bottom: 8px;
    color: #003366;
    font-size: 1.15rem;
}

.team-info .designation {
    display: block;
    font-size: 0.95rem;
    color: #003366;
    letter-spacing: 0.2px;
    margin-bottom: 16px;
}

/* Primary Action (View Profile) */
.team-action {
    margin-bottom: 12px;
}

.profile-link {
    color: #ffffff;
    background: #d2d2d2;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s ease, transform 0.25s ease;
    padding: 4px 24px;
}

.profile-link:hover {
    background: #fc9500;
    transform: translateY(-1px);
}

/* Secondary Action (LinkedIn) */
.team-social {
    margin-top: 6px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #003366;
    color: #003366;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.linkedin-link i {
    font-size: 1.2rem;
}

.linkedin-link:hover {
    background: #003366;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
    .team-photo {
        height: 280px;
    }
}



/* =========================
   MEDIA CARDS
========================= */
.media-card {
    background: #fff; /* better neutral background */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.media-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover img {
    transform: scale(1.05);
}

.media-card-body {
    padding: 20px; /* proper spacing */
    background: #fff; /* text clearly readable */
    flex-grow: 1; /* prevents image overlap on hover */
}

.media-source {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
}

.media-card h6 {
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* =========================
   CLIENT LOGOS
========================= */
.client-logo {
    max-height: 60px;
    opacity: 0.85;
    transition: all 0.35s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   NAVIGATION
========================= */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.35s ease;
}

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

/* =========================
   FOOTER
========================= */
footer {
    background-color: #0b2239;
    color: #d1d5db;
    font-family: var(--default-font);
    font-weight: 400;
    padding: 60px 0 30px 0;
}

footer h5 {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

footer p,
footer a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: var(--secondary);
    transition: 0.3s;
}

.footer-links li a:hover::after {
    width: 100%;
}

.social-icons {
    margin-top: 12px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(252, 149, 0, 0.15);
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icons a:hover {
    background: var(--secondary);
    color: #003366;
    transform: translateY(-3px) scale(1.1);
}

footer .border-top {
    border-top: 1px solid rgba(252, 149, 0, 0.4);
    margin-top: 40px;
    padding-top: 15px;
}

footer .text-center p {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    footer .social-icons a {
        margin-right: 8px;
        width: 32px;
        height: 32px;
    }
    footer h5 {
        font-size: 1rem;
    }
    footer p, footer a {
        font-size: 0.9rem;
    }
}



/* =========================
   MODERN FORM ELEMENTS
========================= */
input,
textarea,
select,
button,
input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"] {
    border: none; /* remove default borders */
    border-bottom: 2px solid #ccc; /* single bottom border */
    border-radius: 0; /* remove default rounding */
    padding: 10px 8px;
    width: 100%;
    font-family: var(--default-font);
    font-size: 1rem;
    background: transparent;
    outline: none; /* remove default focus outline */
    transition: border-color 0.3s ease, color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom-color: var(--secondary); /* accent color on focus */
    color: #000;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23003366' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 16px;
    padding-right: 30px;
    cursor: pointer;
}

button {
    border: none;
    background-color: var(--secondary);
    color: #000;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #e58500;
    transform: translateY(-2px);
}

/* Remove all shadows */
input,
textarea,
select,
button {
    box-shadow: none !important;
}

/* Placeholder styling */
::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Disabled fields */
input:disabled,
textarea:disabled,
select:disabled {
    border-bottom-color: #eee;
    background-color: #f9f9f9;
    color: #999;
    cursor: not-allowed;
}


/* =========================
   FORM FLOATING LABELS
========================= */
.floating-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-form input,
.floating-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 12px 0 8px 0;
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.floating-form label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease all;
}

.floating-form input:focus + label,
.floating-form input:not(:placeholder-shown) + label,
.floating-form textarea:focus + label,
.floating-form textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.85rem;
    color: var(--primary);
}

.floating-form input:focus,
.floating-form textarea:focus {
    border-bottom-color: var(--primary);
}

.floating-form .is-invalid {
    border-bottom-color: #dc3545;
}

.floating-form .is-valid {
    border-bottom-color: var(--secondary);
}

.invalid-feedback {
    display: none;
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
}

.floating-form .is-invalid + label + .invalid-feedback {
    display: block;
}


/* =========================
   PHILOSOPHY SECTION
========================= */
.philosophy-section .section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.philosophy-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.philosophy-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    transition: transform 0.35s ease;
}

.philosophy-card:hover .philosophy-icon {
    transform: scale(1.2) rotate(5deg);
}

.philosophy-card h5 {
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.philosophy-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .philosophy-card {
        padding: 1.5rem 1rem;
    }
}


/* =========================
   TESTIMONIALS SECTION
========================= */
.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #003366;
}

.testimonials-section .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 3rem;
    color: #6b7280;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 1.5rem;
    position: relative;
    font-style: italic;
}

/* Quote marks effect */
.testimonial-text::before {
    content: "“";
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: var(--secondary);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    filter: brightness(1) contrast(0) grayscale(1);
    /*    border-radius: 50%;
        border: 2px solid var(--secondary);*/
}

.testimonial-info h6 {
    font-weight: 500;
    margin: 0;
    color: #003366;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}
