* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #fff;
    color: #000;
    min-width: 360px; /* standard small phone width */
}
html {
    scroll-behavior: smooth;
}


/* ------------------ Header ------------------ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
}

logo {
    display: flex;
    align-items: center; 
    gap: 80px; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.company-logo img {
    height: 80px; 
    filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.3))
            drop-shadow(0px 6px 5px rgba(0,0,0,0.2));
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 60px; 
}

header nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    display: inline-block;
}

header nav ul li a.active {
    text-shadow: 0 0 8px #fff, 0 0 16px #ddd, 0 0 24px #bbb; 
    color: #ffb700; 
}

header nav ul li a:hover {
    transform: scale(1.2) translateY(-2px);
    text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    color: #555;
}

header .header-icons {
    display: flex;
    gap: 20px;
}

header .header-icons .icon:hover {
    transform: scale(1.3) translateY(-2px);
    text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    color: #555;
}

/* ------------------ Hero Slider ------------------ */
.hero {
    width: 100%;
    height: 500px; 
    position: relative;
    margin-bottom: 50px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-content {
    background-color: rgba(0,0,0,0.4);
    padding: 30px 50px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.slide-content .btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 5px;
}

.slide-content .btn:hover {
    background-color: #fff;
    color: #000;
}

.swiper-button-next,
.swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background-color: transparent;
    color: #fff;
    font-size: 28px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
}

/* Slide text animation */
.slide-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.7);
    text-align: center;
    color: #fff;
    opacity: 0;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.6s ease;
}

.swiper-slide-active .slide-text {
    transform: translateX(-50%) translateY(0) scale(1.2); 
    opacity: 1;
}

.slide-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slide-text p {
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* ------------------ Partner Cards ------------------ */
.partner-cards-grid {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-card {
    position: relative;
    width: 298px;  
    height: 186px; 
    border-radius: 15px;
    overflow: visible; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.45s cubic-bezier(.2,.9,.3,1), box-shadow 0.45s;
}

.partner-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.9,.3,1), filter 0.6s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.partner-card:hover .card-img {
    transform: scale(1.12);
    filter: brightness(1.05) saturate(1.05);
}

/* ------------------ Footer ------------------ */
footer {
    padding: 30px 50px;
    text-align: center;
    background-color: #000;
    color: #fff;
    margin-top: 50px;
}

footer .social-links a {
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: #ccc;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 1024px) {
    .partner-cards-grid { justify-items: center; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; }
    header nav ul { flex-direction: column; gap: 15px; }
    .slide-content h2 { font-size: 28px; }
    .slide-content p { font-size: 16px; }
    .hero { height: 500px; }
    .brand-icons img { height: 30px; }
    .company-logo img { height: 50px; }
}

@media (max-width: 480px) {
    .hero { height: 320px; }
    .slide-text h2 { font-size: 22px; }
    .slide-text p { font-size: 12px; }
    header nav ul { gap: 8px; }
}
/* ------------------ Featured Products Title ------------------ */
.featured-products h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
}

/* ------------------ Partner Cards Grid ------------------ */
.partner-cards-grid {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

/* ------------------ Partner Card ------------------ */
.partner-card {
    width: 298px;
    height: 186px;
    position: relative;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: visible;
    transition: transform 0.6s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s ease;
    perspective: 1500px;
}

/* Partner Card Image - smaller and centered */
.card-media {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    overflow: hidden;
    border-radius: 30px;
    padding: 10px 0; /* optional spacing */
}

.card-media .card-img {
    width: 60%;   /* 40% smaller than full card width */
    height: auto; /* maintain aspect ratio */
    object-fit: contain;
    display: block;
}
/* Left card (first card) image smaller */
.partner-cards-grid .partner-card:nth-child(1) .card-img {
    width: 60%; /* smaller size only for left card */
}

/* Right card (second card) image stays 60% */
.partner-cards-grid .partner-card:nth-child(2) .card-img {
    width: 45%; 
}


/* Visible when scrolled */
.overview-text.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Active state for mobile touch */
.partner-card.active .card-logo {
    animation: liquid-drop-strong 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    background: transparent; /* frosted effect */
}

.partner-card.active .card-logo img {
    opacity: 0;
}

.partner-card.active .card-logo .btn-text {
    opacity: 1;
    pointer-events: auto;
}
