@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

:root {
    --main-color: #181818;
    --accent-color: #FFD600;
    --accent-gradient: linear-gradient(90deg, #FFD600 0%, #FFB300 100%);
    --btn-color: #FFD600;
    --btn-hover: #fffbe6;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.18);
    --font-family: 'Montserrat', 'Andika', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: linear-gradient(120deg, #181818 0%, #232526 100%);
    min-height: 100vh;
    width: 100%;
    line-height: 1.6;
    color: var(--main-color);
    font-family: var(--font-family);
    font-size: 1rem;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    position: relative;
}

header {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background: transparent;
    color: var(--accent-color);
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    animation: headerFadeIn 1s ease-out forwards;
}

@keyframes headerFadeIn {
    to {
        opacity: 1;
    }
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ik.imagekit.io/user101/headerIMG.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

header:hover::before {
    opacity: 0.5;
}

header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

header h1:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

header h1 a {
    text-decoration: none;
    color: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

header p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-top: 1rem;
    color: #fff;
    opacity: 0.85;
    font-family: 'Andika', sans-serif;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

#slogan {
    border: none;
    text-align: center;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
    position: relative;
    z-index: 10;
    opacity: 1;
    display: block;
    visibility: visible;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.6s ease-in-out;
}

#slogan:hover {
    border-bottom: 2px solid var(--accent-color);
}

section {
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    margin: 1.5rem auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.4rem, 4vw, 2.3rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.6s ease-in-out;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
}

h2:hover {
    color: #fff;
    border-bottom-color: var(--accent-color);
}


.about,
.services,
.whyus,
.hr,
.contact {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    box-sizing: border-box;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/*Card Section */
.about,
.services,
.whyus,
.hr,
.contact {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    box-sizing: border-box;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.services { animation-delay: 0.2s; }
.whyus { animation-delay: 0.4s; }
.about { animation-delay: 0.6s; }
.hr { animation-delay: 0.8s; }
.contact { animation-delay: 1s; }

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

.about:hover,
.services:hover,
.whyus:hover,
.hr:hover,
.contact:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.3);
    border-color: rgba(255, 214, 0, 0.5);
}

.about,
.services,
.whyus,
.hr,
.contact {
    animation: fadeInUp 0.8s ease-out forwards, gentleBreathing 4s ease-in-out infinite 2s;
}

@keyframes gentleBreathing {
    0%, 100% { 
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
        border-color: var(--glass-border);
    }
    50% { 
        box-shadow: 0 10px 35px 0 rgba(31, 38, 135, 0.2);
        border-color: rgba(255, 214, 0, 0.15);
    }
}

.about,
.services,
.whyus {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.about-img,
.about-content,
.services-content,
.services-img,
.whyus-img,
.whyus-content {
    width: 100%;
    flex: 1;
}

.about img,
.services img,
.whyus img {
    max-width: 100%;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
    filter: brightness(0.9) contrast(1.1);
}

.about img:hover,
.services img:hover,
.whyus img:hover {
    transform: scale(1.08) rotateY(3deg);
    box-shadow: 0 2px 10px rgba(255, 214, 0, 0.5);
    opacity: 1;
    filter: brightness(1) contrast(1.2);
}

.designImg {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;    justify-content: center;
    align-items: stretch;
    margin: 2rem auto;
    max-width: 100%;
    padding: 0 1rem;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}


.designImg.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

.designImg img {
    flex: 1 1 120px;
    min-width: 100px;
    max-width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: #222;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    margin: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.designImg img:hover {
    transform: rotateZ(20deg) scale(1.1) translateY(-8px);
    box-shadow: 0 2px 5px rgba(255, 214, 0, 0.5);
    z-index: 10;
}

ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

ul li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Andika', sans-serif;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.85;
}

ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    transform: translateX(0);
}

ul li:hover {
    transform: translateX(12px);
    color: #fff;
    opacity: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

ul li:hover::before {
    transform: translateX(8px) scale(1.2);
    text-shadow: 0 0 12px var(--accent-color);
    color: #fff;
}

ul li:nth-child(1) { animation: listItemFadeIn 0.6s ease-out 0.5s forwards; }
ul li:nth-child(2) { animation: listItemFadeIn 0.6s ease-out 0.7s forwards; }
ul li:nth-child(3) { animation: listItemFadeIn 0.6s ease-out 0.9s forwards; }
ul li:nth-child(4) { animation: listItemFadeIn 0.6s ease-out 1.1s forwards; }

@keyframes listItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 0.85;
        transform: translateX(0);
    }
}

.btn {
    display: inline-block;
    background: var(--main-color);
    padding: 1rem 2rem;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    color: black;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 1px 2px 5px rgba(255, 214, 0, 0.6);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn:active {
    transform: translateY(-2px) scale(1.01);
    transition-duration: 0.1s;
}

hr {
    margin: 1rem auto;
    width: 60px;
    border: none;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    display: block;
}

hr:hover {
    width: 120px;
}

p {
    font-family: 'Andika', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    font-size: 1rem;
}

.contact a:not(.btn) {
    border-bottom: 1px solid transparent;
}

.contact a:not(.btn):hover {
    color: #fff;
    border-bottom-color: var(--accent-color);
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Andika', sans-serif;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
    margin-top: 2rem;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.from-right {
    transform: translateX(40px);
}

.scroll-animate.from-left {
    transform: translateX(-40px);
}

.scroll-animate.from-bottom {
    transform: translateY(40px);
}

.scroll-reveal {
    opacity: 1;
    transform: translate(0, 0);
}

@media (min-width: 1024px) {
    .about,
    .services,
    .whyus {
        transform-style: preserve-3d;
    }
    
    .about:hover,
    .services:hover,
    .whyus:hover {
        transform: translateY(-5px) rotateX(2deg);
    }
}

.btn:focus,
a:focus {
    color: white;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .about,
    .services,
    .whyus,
    .hr,
    .contact,
    .designImg,
    .designImg img,
    ul li {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    body::before {
        display: none;
    }
    
    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 0.9rem;
        padding: 0;
    }

    .services-img {
        display: none;
    }

    header {
        height: 50vh;
        min-height: 300px;
        padding: 1.5rem 1rem;
    }

    section {
        padding: 1rem;
        margin: 1rem auto;
        width: 95%;
    }

    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
        width: 95%;
        border-radius: 12px;
    }

    .designImg {
        gap: 0.75rem;
        margin: 1.5rem auto;
        padding: 0 1rem;
        width: 95%;
    }

    .designImg img {
        flex: 1 1 80px;
        min-width: 70px;
        max-width: 100px;
        height: 80px;
        border-radius: 8px;
    }

    .designImg img:hover {
        transform: scale(1.05) translateY(-3px);
    }

    ul li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .about:active,
    .services:active,
    .whyus:active,
    .hr:active,
    .contact:active {
        transform: scale(0.98);
    }
    
    .designImg img:active {
        transform: scale(1.05);
    }

    .scroll-animate {
        transform: translateY(20px);
    }
    
    .scroll-animate.from-right {
        transform: translateX(20px);
    }
    
    .scroll-animate.from-left {
        transform: translateX(-20px);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .services-img {
        display: none;
    }

    body {
        font-size: 1rem;
    }

    header {
        height: 55vh;
        min-height: 400px;
        padding: 2.5rem 2rem;
    }

    section {
        padding: 1.5rem 2rem;
        margin: 2rem auto;
        width: 95%;
    }

    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        padding: 2.5rem 2rem;
        margin: 2.5rem auto;
        width: 95%;
        border-radius: 14px;
    }

    .about,
    .services,
    .whyus {
        flex-direction: row;
        gap: 2rem;
        text-align: left;
        align-items: flex-start;
    }

    .about-img,
    .about-content,
    .services-content,
    .services-img,
    .whyus-img,
    .whyus-content {
        flex: 1 1 300px;
        min-width: 250px;
    }

    .about img,
    .services img,
    .whyus img {
        max-width: 280px;
        height: 200px;
        object-fit: cover;
    }

    .designImg {
        gap: 1.2rem;
        margin: 2.5rem auto;
        padding: 0 2rem;
        width: 95%;
    }

    .designImg img {
        flex: 1 1 120px;
        min-width: 100px;
        max-width: 140px;
        height: 120px;
        border-radius: 10px;
    }

    ul li {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    header {
        height: 50vh;
        min-height: 450px;
        padding: 3rem;
    }

    section {
        padding: 2rem;
        margin: 3rem auto;
        width: 90%;
    }

    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        padding: 3rem;
        margin: 3rem auto;
        width: 90%;
        border-radius: 16px;
    }

    .about,
    .services,
    .whyus {
        gap: 3rem;
    }

    .about img,
    .services img,
    .whyus img {
        max-width: 320px;
        height: 240px;
    }

    .designImg {
        gap: 1.5rem;
        margin: 3rem auto;
        width: 90%;
        max-width: 1200px;
    }

    .designImg img {
        flex: 1 1 160px;
        min-width: 140px;
        max-width: 200px;
        height: 160px;
        border-radius: 12px;
    }

    .designImg img:hover {
        transform: scale(1.08) translateY(-8px);
    }

    ul li {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        padding-left: 2.5rem;
    }

    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 1440px) {
    section {
        width: 85%;
    }

    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        width: 85%;
        padding: 3.5rem;
        margin: 3.5rem auto;
    }

    ul li {
        font-size: 1.2rem;
        margin-bottom: 1.3rem;
        padding-left: 3rem;
    }

    .btn {
        padding: 1.3rem 3rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 1920px) {
    section {
        width: 80%;
        max-width: 1400px;
    }

    .about,
    .services,
    .whyus,
    .hr,
    .contact {
        width: 80%;
        max-width: 1400px;
    }
}

@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    header::before {
        display: none;
    }
    
    .btn {
        border: 2px solid black;
    }
}