* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* GLOBAL COLOR VARIABLES */
:root{
    --primary-color: #489fff;
    --light-color: #f4f4f6;
    --dark-color: #111;

}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 20px 0;
}

.navbar .container {
    display: flex;  
    justify-content: space-between;
    align-items: center;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 5px;
}

.navbar ul li:last-child a {
    margin-left: 0px;
}

/* Hero */
.hero {
    background: url(../images/photo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}


.hero .container {
    height: 500px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    
}

.hero .hero-content{
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero .hero-heading {
    padding: 0;
    margin-top: 0;
}

.hero .hero-text {
    
    margin-bottom: 40px;
}

.hero .hero-buttons:last-child a {
    margin-left: 5px;
}

.hero .hero-buttons a i {
    margin-right: 5px;
}

.hero .hero-buttons {
    margin: -5px;
}

/* Video */
.video {
    padding: 10px 0 40px;
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-preview {
    margin-bottom: 20px;
}

.video .sample-vid {
    display: none;
}

.testimonials {
    padding: 80px 0;
}

.testimonials .testimonials-heading {
    width: 700px;
    margin-bottom: 40px;
    padding-top: 0px;
    margin-top: 0px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonials .card p:nth-child(2) {  /* nth child is used to select any child
                                            in a selector*/                      
    margin-top: 30px;
    font-weight: bold;
}

/* Pricing */
.pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
    gap: 30px;
}

.pricing .pricing-card-subheading {
    margin-bottom: 30px;
}

.pricing .pricing-card-price {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.pricing ul {
    margin: 30px 0;
}

.pricing ul li {
    margin-bottom: 20px;
}

.pricing ul li i {
    margin-right: 10px;
}

.pricing .pricing-footer {
    margin: 30px 0;
}

/* Footer */
.footer {
    padding: 50px 0;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul li {
    line-height: 2.5;
}

.footer a {
    color: #ccc;
}

.footer i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .card {
    margin: 20px 30px 30px 0;
}

.footer input[type='email'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
}

/* Bookmarks style */

.links {
    background: #489fff;
}

.links .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.links .link-content {
    text-align: center;
    color: #fff;
}

.links .link-heading {
    margin-top: 0;
}

.links-area {
    padding: 80px 0 ;
}

.links-area .section-heading {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0;
}

.links-area .card {
    border: 1px solid #0000002a;
    padding: 20px 20px 30px 20px;   
}

.links-area .card p {
    margin-bottom: 25px;
    margin-top: 15px;
}

.links-area .card .btn {
   
    border-radius: 30px;
    font-size: 16px;
    font-weight: 400;
    display: block;
    padding: 8px;
}

.links-area .link-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Gallery Page */
.gallery-banner {
    background-color: #489fff;
}

.gallery-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
}

.gallery-banner .gallery-content {
    color: #fff;
}

.gallery-heading {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-heading.visible {
    opacity: 1;
    transform: translateX(0);
}

.images {
    padding: 80px 0;
}

.images .images-content {
    text-align: center;
    padding-bottom: 30px;
}

.images .images-content h2 {
    padding: 5px;
}

.images .gallery{
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    /*opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;*/
}

/* 
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/

.lazy-img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-img.loaded {
    opacity: 1;
    transform: translateY(0);
}

.images .gallery img {
    width: 100%;
    height: auto;
}

.images .images-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.images .image-desc {
    padding: 15px;
    text-align: center;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}


/*Card*/
.card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 20px;
}

/* Buttons */
.btn {
    display: inline;
    padding: 13px 20px;
    background-color: var(--light-color);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff
}

.btn-dark {
    background-color: var(--dark-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Text Classes */
.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 40px 0 20px;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
} 

.text-center {
    text-align: center;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-light {
    background: var(--light-color);
    color: #333;
}

.bg-dark {
    background: var(--dark-color);
    color: #fff;
}

.bg-black {
    background-color: #000;
    color: #fff;
}

/* Hamburger Button */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
} 

.mobile-menu ul {
    margin-top: 100px;
    padding-right: 10px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
}

/* Media Queries */
@media (max-width: 960px) {
    .text-xxl {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-banner .container{
        height: 250px;
    }

    .gallery-banner .gallery-content h1{
        margin: 0px;
        padding: 0px;
    }
    .images {
        padding: 60px 0;
    }
    .images .images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 670px) {
    .navbar .main-menu {
        display: none;
    }

    .navbar .hamburger-button {
        display: block;
    }

    .hero .container {
        height: 600px;
    }

    .hero .hero-content, .hero .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero .hero-heading {
        font-size:35px ;
    }

    .hero .hero-buttons .btn {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }

    .testimonials .testimonials-heading {
        width: 100%;
        text-align: center;
    }

    .testimonials .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .links-area .link-area-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .links-area {
        padding: 60px 0 ;
    }

    .links .container{
        height: 350px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer .card {
        width: 100%;
    }

    .text-xl {
        font-size: 1.9rem;
    }
}

@media (max-width: 500px) {
    
}