:root {
    --primary-color: #343433;
    --dark: #1a1a1a;
    --light: #f8f9fa;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
.mybtn {
    background: #c76bea !important;
}

.line {
    width: 100px;
    height: 3px;
    background: #c66beb;
    margin: 0 auto;
    border-radius: 10px;
}

/* Main Navbar */
.navbar {
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1030;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.9rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    text-shadow: none;
}

.nav-link {
    color: #333 !important;
    margin: 0 50px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    padding-bottom: 10px !important;
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c66cef;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

.navbar-phone {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 20px;
}

.navbar-phone i {
    margin-right: 8px;
}

.dropdown-menu {
    background: #fff !important;
    backdrop-filter: none;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 10px !important;
    display: none;
    border-radius: 0;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown-item {
    color: #333 !important;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #c66cef !important;
    color: #fff !important;
    padding-left: 35px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Pulse Slide Animation for Images */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item.active .hero-slide {
    animation: pulseSlide 8s ease-in-out infinite;
}

@keyframes pulseSlide {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7),
        rgba(44, 95, 111, 0.4)
    );
    z-index: 1;
}

/* Glassy shadow: starts at the left edge and gradually vanishes to the right */
.hero-glass {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 20, 26, 0.85) 0%,
        rgba(10, 20, 26, 0.45) 55%,
        rgba(10, 20, 26, 0) 100%
    );
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 20%,
        rgba(0, 0, 0, 0.6) 55%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 20%,
        rgba(0, 0, 0, 0.6) 55%,
        transparent 100%
    );
}

/* Center Logo Animation */
.hero-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
}

/* .hero-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
} */

.hero-center-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-center-logo.show {
    animation: logoFadeInOut 4s ease-in-out forwards;
}

@keyframes logoFadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    75% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Hero Content Positioning */
.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    max-width: 750px;
    text-align: left;
    transition: all 0.8s ease;
    padding: 0 20px;
}

/* Position variations for different slides */
.hero-content.position-left {
    left: 10%;
    right: auto;
    text-align: left;
}

.hero-content.position-right {
    right: 10%;
    left: auto;
    text-align: right;
}

.hero-content.position-center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Adjust tag alignment based on position */
.hero-content.position-right .hero-tag {
    padding-left: 0;
    padding-right: 70px;
}

.hero-content.position-right .hero-tag::before {
    left: auto;
    right: 0;
}

.hero-content.position-center .hero-tag {
    padding-left: 0;
}

.hero-content.position-center .hero-tag::before {
    display: none;
}

/* Content Animation - Individual Elements */
.hero-tag,
.hero-content h1,
.hero-content p {
    opacity: 0;
}

/* Slide 1: From Left */
.hero-content.animate-left .hero-tag {
    animation: slideFromLeft 0.8s ease 0.2s forwards;
}

.hero-content.animate-left h1 {
    animation: fadeInScale 0.9s ease 0.4s forwards;
}

.hero-content.animate-left p {
    animation: slideFromLeft 1s ease 0.6s forwards;
}

.hero-content.animate-left .btn-primary-custom {
    animation: slideFromBottomRight 1.1s ease 0.8s forwards;
}

/* Slide 2: From Right */
.hero-content.animate-right .hero-tag {
    animation: slideFromRight 0.8s ease 0.2s forwards;
}

.hero-content.animate-right h1 {
    animation: fadeInScale 0.9s ease 0.4s forwards;
}

.hero-content.animate-right p {
    animation: slideFromRight 1s ease 0.6s forwards;
}

.hero-content.animate-right .btn-primary-custom {
    animation: slideFromBottomRight 1.1s ease 0.8s forwards;
}

/* Slide 3: From Bottom */
.hero-content.animate-bottom .hero-tag {
    animation: fadeIn 0.8s ease 0.2s forwards;
}

.hero-content.animate-bottom h1 {
    animation: fadeInScale 0.9s ease 0.4s forwards;
}

.hero-content.animate-bottom p {
    animation: slideFromBottom 1s ease 0.6s forwards;
}

.hero-content.animate-bottom .btn-primary-custom {
    animation: slideFromBottomRight 1.1s ease 0.8s forwards;
}

/* Animation Keyframes */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromBottomRight {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hero Tag Styling */
.hero-tag {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
}

.hero-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Hero Heading */
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Paragraph */
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

/* Vertical Indicators */
.vertical-indicators {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vertical-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 0;
}

.vertical-indicators button.active {
    background: white;
    opacity: 1;
    transform: scale(1.3);
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* ===== RESPONSIVE FIXES ===== */

/* Tablet Devices */
@media (max-width: 992px) {
    .hero-glass {
        width: 100%;
        -webkit-mask-image: linear-gradient(
            90deg,
            #000 0%,
            rgba(0, 0, 0, 0.35) 100%
        );
        mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.35) 100%);
    }

    .hero-slide {
        height: 100vh;
        min-height: 600px;
    }

    .carousel-item.active .hero-slide {
        animation: none;
    }

    .hero-content {
        max-width: 85%;
        left: 50% !important;
        right: auto !important;
        top: 55% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .hero-content .hero-tag {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-content .hero-tag::before {
        display: none;
    }

    .vertical-indicators {
        right: 20px;
    }

    .hero-center-logo {
        top: 25%;
        transform: translate(-50%, -50%);
    }

    .hero-center-logo img {
        width: 150px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-slide {
        height: 100vh;
        min-height: 550px;
        background-attachment: scroll;
    }

    .carousel-item.active .hero-slide {
        animation: none !important;
    }

    .hero-content {
        max-width: 100%;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        padding: 0 25px;
        transition: none !important;
    }

    .hero-content.animate-left .hero-tag,
    .hero-content.animate-right .hero-tag,
    .hero-content.animate-bottom .hero-tag {
        animation: fadeInOnly 0.6s ease 0.2s forwards;
    }

    .hero-content.animate-left h1,
    .hero-content.animate-right h1,
    .hero-content.animate-bottom h1 {
        animation: fadeInOnly 0.7s ease 0.4s forwards;
    }

    .hero-content.animate-left p,
    .hero-content.animate-right p,
    .hero-content.animate-bottom p {
        animation: fadeInOnly 0.8s ease 0.6s forwards;
    }

    .hero-content.animate-left .btn-primary-custom,
    .hero-content.animate-right .btn-primary-custom,
    .hero-content.animate-bottom .btn-primary-custom {
        animation: fadeInOnly 0.9s ease 0.8s forwards;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .hero-tag {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }

    .btn-primary-custom {
        padding: 14px 35px;
        font-size: 0.95rem;
    }

    .vertical-indicators {
        right: 15px;
        gap: 12px;
    }

    .vertical-indicators button {
        width: 10px;
        height: 10px;
    }

    .hero-center-logo {
        top: 21%;
        left: 18%;
        transform: translate(-50%, -50%);
    }

    .hero-center-logo img {
        width: 150px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-slide {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 20px;
        top: 50% !important;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .btn-primary-custom {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .vertical-indicators {
        right: 10px;
        gap: 10px;
    }

    .vertical-indicators button {
        width: 8px;
        height: 8px;
    }

    .hero-center-logo {
        top: 18%;
        left: 20%;
        transform: translate(-50%, -50%);
    }

    .hero-center-logo img {
        width: 100px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-slide {
        min-height: 450px;
    }

    .hero-content {
        padding: 0 15px;
        top: 50% !important;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn-primary-custom {
        padding: 11px 25px;
        font-size: 0.85rem;
    }

    .hero-center-logo {
        top: 20%;
        left: 20%;
        transform: translate(-50%, -50%);
    }

    .hero-center-logo img {
        width: 100px;
    }
}

/* Fade only animation for mobile */
@keyframes fadeInOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item,
    .hero-content,
    .hero-slide {
        animation: none !important;
        transition: none !important;
    }
}

/* Primary Button */
.btn-primary-custom {
    background-color: #2c5f6f;
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background-color: white !important;
    color: #343433;
    box-shadow: 0 8px 25px rgba(44, 95, 111, 0.4);
    text-decoration: none;
}

.btn-primary-custom:hover::after {
    transform: translateX(5px);
}

/* Vertical Slide Indicators */
.vertical-indicators {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vertical-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.vertical-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 14px;
    height: 14px;
}

.vertical-indicators button:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: white;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-control-prev {
    left: 80px;
}

.carousel-control-next {
    right: 30px;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
    background: var(--primary-color);
}

/* Smooth Carousel Transition */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        left: 5% !important;
        right: 5% !important;
        max-width: 90%;
        text-align: left !important;
        transform: translateY(-50%) !important;
    }

    .hero-content.position-right,
    .hero-content.position-center {
        left: 5% !important;
        right: 5% !important;
        text-align: left !important;
    }

    .hero-content.position-right .hero-tag {
        padding-right: 0;
        padding-left: 50px;
    }

    .hero-content.position-right .hero-tag::before {
        left: 0;
        right: auto;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .hero-tag {
        padding-left: 50px;
        font-size: 0.8rem;
    }

    .hero-tag::before {
        width: 35px;
    }

    .vertical-indicators {
        left: 15px;
    }

    .btn-primary-custom {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

.hero-paragraph {
    display: none;
    opacity: 0;
}

/* Show only the active paragraph */
.hero-paragraph.active {
    display: block;
    opacity: 1;
}

/* Section Title Styling */
.whytitle {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.whysection-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 100px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #050505 0%, #4d4b4b 100%);
    color: white;
    padding: 10px 0 12px;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Scattered Container */
.scattered-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Center Image */

@keyframes centerFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.center-image-wrapper::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color)
    );
    z-index: -1;
    background-size: 200% 200%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #1f1f1f;
}

/* Feature Circles */
.feature-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.4s ease; /* <--- EI LINE TA ADD KOREN */
}

/* Positioning */
.feature-circle:nth-child(2) {
    top: 1%;
    left: 50%;
    margin-left: -90px;
}

.feature-circle:nth-child(3) {
    top: 20%;
    right: 15%;
}

.feature-circle:nth-child(4) {
    bottom: 20%;
    right: 15%;
}

.feature-circle:nth-child(5) {
    bottom: 1%;
    left: 50%;
    margin-left: -90px;
}

.feature-circle:nth-child(6) {
    bottom: 20%;
    left: 15%;
}

.feature-circle:nth-child(7) {
    top: 20%;
    left: 15%;
}

/* Float Animations */
@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5px, -12px);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-8px, -10px);
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(6px, -15px);
    }
}

@keyframes float4 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-5px, -8px);
    }
}

@keyframes float5 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(7px, -14px);
    }
}

@keyframes float6 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-6px, -11px);
    }
}

.feature-circle:hover {
    transform: scale(1.2) !important;
    background: linear-gradient(135deg, var(--primary-color), #1f4a56);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.5);
    z-index: 10;
    animation: none !important;
}

.feature-icon {
    font-size: 2.3rem;
    color: #2c5f6f;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.feature-circle:hover .feature-icon {
    transform: rotateY(360deg) scale(1.2);
    color: white;
}

.feature-circle h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    line-height: 1.2;
}

.feature-circle p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
}

.feature-circle:hover p {
    color: rgba(255, 255, 255, 1);
}

/* Pulsing Effect */
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }
}

.feature-circle::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-circle:hover::after {
    animation: pulse 1.5s infinite;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .scattered-container {
        min-height: 700px;
    }

    .center-image-wrapper {
        width: 320px;
        height: 320px;
        margin-left: -160px;
        margin-top: -160px;
    }

    .feature-circle {
        width: 160px;
        height: 160px;
        padding: 15px;
    }

    .feature-circle:nth-child(2),
    .feature-circle:nth-child(5) {
        margin-left: -80px;
    }
}

@media (max-width: 992px) {
    .scattered-container {
        min-height: 650px;
    }

    .center-image-wrapper {
        width: 280px;
        height: 280px;
        margin-left: -140px;
        margin-top: -140px;
    }

    .feature-circle {
        width: 140px;
        height: 140px;
        padding: 12px;
    }

    .feature-circle:nth-child(2),
    .feature-circle:nth-child(5) {
        margin-left: -70px;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .feature-circle h5 {
        font-size: 0.85rem;
    }
}

/* MOBILE - KEEPING SCATTER LAYOUT */
@media (max-width: 768px) {
    .whytitle {
        font-size: 2rem;
    }

    .whysection-subtitle {
        font-size: 0.95rem;
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .scattered-container {
        min-height: 550px;
        padding: 30px 15px;
    }

    .center-image-wrapper {
        width: 180px;
        height: 180px;
        margin-left: -90px;
        margin-top: -90px;
    }

    .center-image-wrapper::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }

    .center-image {
        border: 3px solid #1f1f1f;
    }

    .feature-circle {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    /* Top circle */
    .feature-circle:nth-child(2) {
        top: 5%;
        left: 50%;
        margin-left: -50px;
    }

    /* Top Right */
    .feature-circle:nth-child(3) {
        top: 25%;
        right: 8%;
    }

    /* Bottom Right */
    .feature-circle:nth-child(4) {
        bottom: 25%;
        right: 8%;
    }

    /* Bottom circle */
    .feature-circle:nth-child(5) {
        bottom: 5%;
        left: 50%;
        margin-left: -50px;
    }

    /* Bottom Left */
    .feature-circle:nth-child(6) {
        bottom: 25%;
        left: 8%;
    }

    /* Top Left */
    .feature-circle:nth-child(7) {
        top: 25%;
        left: 8%;
    }

    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .feature-circle h5 {
        font-size: 0.7rem;
        margin-bottom: 0;
        line-height: 1.1;
    }

    .feature-circle p {
        display: none;
    }

    .feature-circle:hover {
        transform: scale(1.15) !important;
    }
}

/* SMALL MOBILE */
@media (max-width: 576px) {
    .whytitle {
        font-size: 1.75rem;
    }

    .whysection-subtitle {
        font-size: 0.9rem;
        margin-bottom: 50px;
    }

    .scattered-container {
        min-height: 500px;
        padding: 25px 10px;
    }

    .center-image-wrapper {
        width: 150px;
        height: 150px;
        margin-left: -75px;
        margin-top: -75px;
    }

    .feature-circle {
        width: 85px;
        height: 85px;
        padding: 8px;
    }

    /* Top circle */
    .feature-circle:nth-child(2) {
        top: 6%;
        left: 50%;
        margin-left: -42.5px;
    }

    /* Top Right */
    .feature-circle:nth-child(3) {
        top: 26%;
        right: 6%;
    }

    /* Bottom Right */
    .feature-circle:nth-child(4) {
        bottom: 26%;
        right: 6%;
    }

    /* Bottom circle */
    .feature-circle:nth-child(5) {
        bottom: 6%;
        left: 50%;
        margin-left: -42.5px;
    }

    /* Bottom Left */
    .feature-circle:nth-child(6) {
        bottom: 26%;
        left: 6%;
    }

    /* Top Left */
    .feature-circle:nth-child(7) {
        top: 26%;
        left: 6%;
    }

    .feature-icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .feature-circle h5 {
        font-size: 0.6rem;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    .scattered-container {
        min-height: 450px;
        padding: 20px 8px;
    }

    .center-image-wrapper {
        width: 130px;
        height: 130px;
        margin-left: -65px;
        margin-top: -65px;
    }

    .feature-circle {
        width: 85px;
        height: 85px;
        padding: 6px;
    }

    /* Top circle */
    .feature-circle:nth-child(2) {
        top: 8%;
        left: 50%;
        margin-left: -37.5px;
    }

    /* Top Right */
    .feature-circle:nth-child(3) {
        top: 27%;
        right: 4%;
    }

    /* Bottom Right */
    .feature-circle:nth-child(4) {
        bottom: 27%;
        right: 4%;
    }

    /* Bottom circle */
    .feature-circle:nth-child(5) {
        bottom: 8%;
        left: 50%;
        margin-left: -37.5px;
    }

    /* Bottom Left */
    .feature-circle:nth-child(6) {
        bottom: 27%;
        left: 4%;
    }

    /* Top Left */
    .feature-circle:nth-child(7) {
        top: 27%;
        left: 4%;
    }

    .feature-icon {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .feature-circle h5 {
        font-size: 0.55rem;
    }
}

/* Scattered layout replacement */
.scattered-container {
    --orbit-radius: 360px;

    position: relative;
    width: 900px;
    height: 900px;
    max-width: 100%;
    margin: 60px auto;
}

/* Center image */
.center-image-wrapper {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 300px;
    height: 300px;

    transform: translate(-50%, -50%);

    border-radius: 50%;
    overflow: hidden;

    z-index: 5;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature circles */
.feature-circle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 175px;
    height: 175px;

    margin: -87.5px 0 0 -87.5px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 25px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    z-index: 10;
}

.feature-circle:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.feature-icon {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #219574;
    color: #fff;

    font-size: 20px;

    margin-bottom: 10px;

    flex-shrink: 0;
}

.feature-circle h5 {
    margin: 0;

    font-size: 14px;
    line-height: 1.35;

    font-weight: 600;
}

/* Project section */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    height: 350px;
}

.project-card img {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(44, 95, 111, 0.9), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info h4 {
    color: white;
    font-weight: bold;
}

#testimonials {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    position: relative;
}

/* .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--secondary-color);
  } */

.testimonial-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: white;
    border-radius: 20px;
    padding: 50px 35px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 0 10px;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0.6;
    transform: scale(0.95);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(44, 95, 111, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 20px 0 0 20px;
    transition: height 0.4s ease;
}

.testimonial-card.active::after {
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-stars i {
    margin: 0 2px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(44, 95, 111, 0.3);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 10px;
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Auto-play indicator */
.auto-play-indicator {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-card {
        min-width: calc(50% - 20px);
    }

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

@media (max-width: 768px) {
    .testimonial-card {
        min-width: calc(100% - 20px);
    }

    .testimonial-slider-wrapper {
        padding: 0 50px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 40px 25px 25px;
    }
}

@media (max-width: 480px) {
    .testimonial-slider-wrapper {
        padding: 0 35px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: -5px;
    }

    .slider-btn.next {
        right: -5px;
    }
}

/* contact section */
.contact-section-main {
    padding: 38px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Contact Section Title */
.contact-section-title {
    font-size: 42px;
    color: #2b2b2b;
    text-align: center;
    position: relative;
}

/* Contact Main Wrapper */
.contact-main-wrapper {
    position: relative;
}

/* Left Side - Contact Info Cards */
.contact-info-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-right: 20px;
    height: 100%;
    /* Full height for equal sizing */
}

.contact-info-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    /* overflow: hidden; */
    display: flex;
    flex: 1;
    /* Equal height distribution */
}

.contact-info-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #c36bec;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover::before {
    transform: scaleX(1);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-icon-box {
    width: 60px;
    height: 60px;
    background: #c36bec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(44, 95, 111, 0.3);
    transition: all 0.3s ease;
    margin-right: 25px;
}

.contact-info-icon-box i {
    color: white;
    font-size: 24px;
}

.contact-info-heading {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Middle - Contact Form Box */
.contact-form-box {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    /* Match left column height */
}

/* Field Group */
.contact-field-group {
    margin-bottom: 32px;
}

.contact-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-input-wrapper {
    position: relative;
}

.contact-input-field,
.contact-textarea-field {
    width: 100%;
    padding: 12px 18px 12px 45px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-input-field:focus,
.contact-textarea-field:focus {
    outline: none;
    border-color: #c66cef;
    background: white;
    box-shadow: 0 0 0 4px rgba(44, 95, 111, 0.1);
}

.contact-input-field::placeholder,
.contact-textarea-field::placeholder {
    color: #999;
}

.contact-textarea-field {
    resize: none;
    padding-top: 12px;
}

.contact-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    pointer-events: none;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 14px 25px;
    background: #c76bea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: #ffff;
    color: #343433;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 111, 0.3);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}

/* Success Message */
.contact-success-msg {
    display: none;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    animation: slideDown 0.5s ease;
}

.contact-success-msg.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right Side - Image with Floating Shapes */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Geometric Shapes */
.contact-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 5%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 3%;
    right: 25%;
    animation-delay: 0.5s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 15%;
    right: 5%;
    animation-delay: 1s;
}

.shape-4 {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    bottom: 25%;
    right: 8%;
    animation-delay: 1.5s;
}

.shape-5 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 15%;
    right: 22%;
    animation-delay: 2s;
}

.shape-6 {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );
    bottom: 8%;
    right: 12%;
    animation-delay: 2.5s;
}

.shape-7 {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 35%;
    right: 3%;
    animation-delay: 3s;
}

.shape-8 {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 25%;
    right: 18%;
    animation-delay: 0.8s;
}

.shape-9 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    bottom: 35%;
    right: 28%;
    animation-delay: 1.2s;
}

.shape-10 {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 45%;
    right: 15%;
    animation-delay: 1.8s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-15px, -15px) rotate(90deg);
    }

    50% {
        transform: translate(10px, 15px) rotate(180deg);
    }

    75% {
        transform: translate(15px, -10px) rotate(270deg);
    }
}

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

@media (max-width: 1400px) {
    .contact-image-wrapper {
        min-height: 550px;
    }
}

@media (max-width: 1200px) {
    .contact-image-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 991px) {
    .contact-info-sidebar-left {
        flex-direction: row;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .contact-info-item {
        flex: 1;
    }

    .contact-image-wrapper {
        min-height: auto;
        margin-top: 30px;
        padding: 20px;
    }

    /* Hide floating shapes on tablet and below */
    .contact-floating-shapes {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .contact-section-main {
        padding: 60px 0;
    }

    .contact-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .contact-info-sidebar-left {
        flex-direction: column;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .contact-image-wrapper {
        min-height: auto;
    }

    /* Shapes remain hidden */
    .contact-floating-shapes {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .contact-section-title {
        font-size: 28px;
    }

    .contact-image-wrapper {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .contact-form-box {
        padding: 20px 15px;
    }

    .contact-input-field,
    .contact-textarea-field {
        padding: 10px 15px 10px 40px;
        font-size: 13px;
    }
}

/* Footer */

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .top-info-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .navbar-phone {
        font-size: 0.9rem;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary-custom {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--primary-color);
  } */

#projects {
    padding: 80px 0;
    background: #f8f9fa;
    /* ✅ Background color added */
}

/* .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #2C5F6F);
  } */

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* First column - 3 rows tall image */
.project-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 4;
}

/* Second row - single image */
.project-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* Third row - single image */
.project-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

/* Fourth column - 3 rows tall image */
.project-item:nth-child(4) {
    grid-column: 4;
    grid-row: 1 / 4;
}

/* Middle row - large zoomed image (2x2) */
.project-item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.project-item:nth-child(5):hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Bottom row images */
.project-item:nth-child(6) {
    grid-column: 1;
    grid-row: 4;
}

.project-item:nth-child(7) {
    grid-column: 2;
    grid-row: 4;
}

.project-item:nth-child(8) {
    grid-column: 3 / 5;
    grid-row: 4;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h4 {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.project-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 600px;
    max-height: 800px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-info {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    max-width: 500px;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lightbox-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
}

/* ✅ Responsive - Tablet and below - All same size */
@media (max-width: 991px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
        gap: 15px;
    }

    /* ✅ All items same size */
    .project-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        transform: scale(1) !important;
    }
}

/* ✅ Mobile - 2 columns, all same size */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
    }

    .project-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        transform: scale(1) !important;
    }

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

/* ✅ Small Mobile - 1 column, all same size */
@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 10px;
    }

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

/* About Us */
.about-us-section {
    padding: 50px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 0%, rgba(44, 95, 111, 0.02) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232C5F6F' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* .about-us-section .section-title {
      text-align: center;
      font-size: 2.5rem;
      font-weight: 800;
      color: #2C5F6F;
      margin-bottom: 50px;
      position: relative;
      z-index: 1;
  } */

/* .about-us-section .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #2C5F6F);
  } */

.about-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Left Side - Images */
.about-images-container {
    position: relative;
    padding: 20px;
}

/* Moving Rocket Animation */
/* .about-images-container::before {
    content: "";
    position: absolute;
    right: -50px;
    width: 60px;
    height: 80px;
    z-index: 10;
    animation: rocketMove 8s linear infinite;
    filter: drop-shadow(0 5px 15px rgba(239, 68, 68, 0.4));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' fill='none'%3E%3C!-- Roller Cylinder --%3E%3Crect x='25' y='10' width='50' height='35' fill='%23fff' stroke='%23ddd' stroke-width='2' rx='3'/%3E%3C!-- Yellow Stripes on Roller --%3E%3Cline x1='30' y1='10' x2='30' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3Cline x1='38' y1='10' x2='38' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3Cline x1='46' y1='10' x2='46' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3Cline x1='54' y1='10' x2='54' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3Cline x1='62' y1='10' x2='62' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3Cline x1='70' y1='10' x2='70' y2='45' stroke='%23fbbf24' stroke-width='3'/%3E%3C!-- Metal Frame --%3E%3Cpath d='M 20 27 L 15 27 L 15 50 L 30 65' stroke='%2394a3b8' stroke-width='3' fill='none'/%3E%3Cpath d='M 80 27 L 85 27 L 85 50 L 70 65' stroke='%2394a3b8' stroke-width='3' fill='none'/%3E%3C!-- Handle --%3E%3Crect x='42' y='65' width='16' height='65' fill='%23ef4444' rx='3'/%3E%3Crect x='44' y='67' width='12' height='4' fill='%23fff' opacity='0.3'/%3E%3Crect x='44' y='75' width='12' height='2' fill='%23fff' opacity='0.2'/%3E%3Crect x='44' y='85' width='12' height='2' fill='%23fff' opacity='0.2'/%3E%3Crect x='44' y='95' width='12' height='2' fill='%23fff' opacity='0.2'/%3E%3C!-- Handle End Cap --%3E%3Cellipse cx='50' cy='130' rx='8' ry='5' fill='%23dc2626'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes rocketMove {
    0% {
        top: -50px;
        transform: rotate(45deg);
    }

    100% {
        top: calc(100% + 50px);
        transform: rotate(45deg);
    }
} */

/* Dotted Trail Line */
/* .about-images-container::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 0;
    width: 3px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        var(--primary-color) 0px,
        var(--primary-color) 8px,
        transparent 8px,
        transparent 16px
    );
    opacity: 0.3;
    z-index: 5;
} */

.main-image-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    /* box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        0 4px 10px rgba(0, 0, 0, 0.25); */
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Red Accent Bar */
.accent-bar {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--primary-color);
    z-index: 2;
}

/* Secondary Image */
.secondary-image-wrapper {
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 55%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 10px solid white;
    z-index: 3;
}

.secondary-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Certified Badge */
.certified-badge {
    position: absolute;
    top: 40%;
    left: -60px;
    width: 180px;
    height: 180px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 4;
    border: 8px solid white;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-text {
    color: white;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    animation: rotate 20s linear infinite reverse;
}

.badge-text.top {
    top: 20px;
    color: #2c5f6f;
}

.badge-text.bottom {
    bottom: 20px;
    color: #2c6f50;
}

.badge-logo {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite reverse;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.badge-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Right Side - Content */
.about-content {
    padding-left: 20px;
    /* box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.28),
        0 4px 10px rgba(0, 0, 0, 0.18); */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-tag i {
    font-size: 1.2rem;
}

.about-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-description {
    font-size: 22px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* CTA Button */
.about-cta {
    margin-top: 30px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-read-more:hover {
    background: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Background Decoration */
.bg-decoration {
    position: absolute;
    left: -100px;
    bottom: 100px;
    width: 300px;
    height: 300px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .about-us-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        padding-left: 0;
    }

    .secondary-image-wrapper {
        right: 20px;
        width: 50%;
    }

    .certified-badge {
        left: 20px;
        width: 150px;
        height: 150px;
    }

    .about-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .secondary-image-wrapper {
        display: none;
    }

    .certified-badge {
        width: 120px;
        height: 120px;
        left: 10px;
    }

    .badge-logo {
        width: 50px;
        height: 50px;
    }

    .accent-bar {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .certified-badge {
        width: 120px;
        height: 120px;
        left: 10px;
    }

    .badge-logo {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .certified-badge {
        display: none;
    }
}

@media (max-width: 992px) {
    .about-images-container::before {
        display: none;
    }
}

/* Ba shudhu mobile e hide */
@media (max-width: 768px) {
    .about-images-container::before {
        display: none;
    }
}

/* Ba choto mobile e hide */
@media (max-width: 480px) {
    .about-images-container::before {
        display: none;
    }
}

.aboutimg {
    height: 100%;
    margin-left: 20px;
    width: 100%;
}

@media (max-width: 992px) {
    .aboutimg {
        display: none;
    }
}

/* Success Message Styling */
.contact-success-msg {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: slideDown 0.5s ease-out;
}

.contact-success-msg i {
    font-size: 24px;
    margin-right: 10px;
    animation: checkmarkPop 0.6s ease-out;
}

/* Error Message Styling */
.contact-error-msg {
    display: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    animation: slideDown 0.5s ease-out;
}

.contact-error-msg i {
    font-size: 24px;
    margin-right: 10px;
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkmark Pop Animation */
@keyframes checkmarkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Button Loading State */
.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

:root {
    --primary-color: #343433;
    --secondary-color: #ef4444;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#service {
    padding: 30px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #232323;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    height: 400px;
    perspective: 1500px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 15px;
}

/* Main 3D backward tilt effect on hover */
.project-card:hover .project-card-inner {
    /* transform: translateZ(-100px) rotateX(15deg) rotateY(-12deg) scale(0.95); */
}

.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(44, 95, 111, 0.95) 0%,
        rgba(26, 26, 26, 0.7) 100%
    );
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 15px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    background: #c66cef;
    color: white;
    padding: 2px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.view-demo-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 4px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.view-demo-btn:hover {
    background: #c66cef;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.view-demo-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.view-demo-btn:hover i {
    transform: translateX(5px);
}

/* 3D depth enhancement */
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Tablet layout + hover fix */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .project-card:hover .project-card-inner {
        transform: translateZ(-50px) rotateX(10deg) rotateY(-8deg) scale(0.97);
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .project-card {
        height: 350px;
    }
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #ffff;
    color: #343433;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 111, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success Message Styling */
.contact-success-msg {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.4);
    animation: slideDown 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-success-msg i {
    font-size: 24px;
}

/* Error Message Styling */
.contact-error-msg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    animation: slideDown 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-error-msg i {
    font-size: 24px;
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f0f;
}

:root {
    --primary-color: #343433;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #b8b8b8;
    padding: 40px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(44, 95, 111, 0.5),
        transparent
    );
}

/* Footer Logo */
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    filter: brightness(1.1);
}

/* Footer Description */
.footer-description {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 14px;
}

/* House Social Section */
.house-social-container {
    position: absolute;
    top: 40px;
    right: 50px;
    z-index: 10;
}

.house-shape {
    position: relative;
    width: 140px;
    height: 140px;
}

/* House Structure */
.house-roof {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 55px solid rgba(255, 107, 107, 0.2);
    animation: roofGlow 3s ease-in-out infinite;
}

.house-body {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 85px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 0 0 8px 8px;
    animation: bodyPulse 3s ease-in-out infinite;
}

/* Social Icons in House */
.house-social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 5px;
}

.house-social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 107, 107, 0.4);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.house-social-icons a:nth-child(1) {
    animation-delay: 0s;
}

.house-social-icons a:nth-child(2) {
    animation-delay: 0.3s;
}

.house-social-icons a:nth-child(3) {
    animation-delay: 0.6s;
}

.house-social-icons a:nth-child(4) {
    animation-delay: 0.9s;
}

.house-social-icons a:hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-color: #ff6b6b;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.6);
}

/* Animations */
@keyframes roofGlow {
    0%,
    100% {
        border-bottom-color: rgba(255, 107, 107, 0.2);
    }

    50% {
        border-bottom-color: rgba(255, 107, 107, 0.4);
    }
}

@keyframes bodyPulse {
    0%,
    100% {
        border-color: rgba(255, 107, 107, 0.3);
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.1);
    }

    50% {
        border-color: rgba(255, 107, 107, 0.5);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Footer Headings */
.footer-heading {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-divider {
    width: 114px;
    height: 3px;
    background: #c66cef;
    margin-bottom: 20px;
    position: relative;
}

/* Footer Links */
.footer-links {
    margin: 0;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
}

.footer-links a i {
    font-size: 15px;
    color: #c66cef;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
    flex-shrink: 0;
    font-weight: 900;
}

.footer-links a:hover {
    color: white;
    /* padding-left: 5px; */
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Minimize gap between Useful Links and Services - ONLY LG DEVICE */
@media (min-width: 992px) {
    footer > .container > .row {
        gap: 0;
        margin: 0;
    }

    footer > .container > .row > .col-md-4:nth-child(1) {
        padding-right: 30px;
    }

    footer > .container > .row > .col-md-4:nth-child(2) {
        padding-left: 40px;
        padding-right: 5px;
    }

    footer > .container > .row > .col-md-4:nth-child(3) {
        padding-left: 5px;
        flex: 1;
    }
}

/* Footer Bottom */
.footer-divider-main {
    border: none;
    height: 2px;
    background: #c66cef;
    margin: 30px 0 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.copyrighttext {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* .copyrighttext:hover {
    color: var(--primary-color);
} */

/* Social Icons Bottom */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Default - hide bottom house on all devices except mobile */
.house-social-bottom {
    display: none;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .house-social-container {
        position: static;
        margin: 30px auto 0;
        display: block;
        width: fit-content;
    }

    .house-shape {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    /* Hide bottom house on tablet */
    .house-social-bottom {
        display: none;
    }
}

/* Responsive - Mobile Only */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 0;
    }

    /* Company info section - order first, hide house initially */
    footer .col-md-4:nth-child(1) {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    footer .col-md-4:nth-child(1) .house-social-container {
        display: none;
    }

    /* Useful Links - order second */
    footer .col-md-4:nth-child(2) {
        order: 2;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    /* Services - order third */
    footer .col-md-4:nth-child(3) {
        order: 3;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    /* House at bottom - order last - MOBILE ONLY */
    .house-social-bottom {
        display: flex !important;
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .house-social-bottom .house-shape {
        width: 140px;
        height: 140px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Stack all sections vertically on small mobile */
    footer .col-md-4:nth-child(2),
    footer .col-md-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
