/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #080808;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
#header {
    width: 100%;
    height: 100vh;
    background: url(Assets/IMG_2018.jpeg) no-repeat center center/cover;
    position: relative;
}

/* Global Navigation */
.global-nav {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

.global-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 50px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: "";
    height: 2px;
    background: #ff004f;
    width: 0;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: width 0.5s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}


/* Header Content */
.header-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 80px; /* Adjust based on the height of your global nav */
}

.header-text {
    max-width: 800px;
}

.header-text p {
    font-size: 30px;
    margin-bottom: 20px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
    line-height: 1.2;
}

.header-text h1 span {
    color: #ff004f;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .global-nav {
        padding: 10px 0;
    }

    .logo {
        width: 40px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-icon {
        display: block;
    }

    .header-text p {
        font-size: 20px;
    }

    .header-text h1 {
        font-size: 30px;
    }
}

/* Ensure all icons are visible */
.fas, .fab, .far, .fa {
    display: inline-block;
    font-size: 1em;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    color: inherit;
}

/* CSS for small screens */
@media only screen and (max-width: 600px) {
    #header {
        background-image: url(Assets/IMG_2018.jpg);
    }
    .header-text {
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1 {
        font-size: 30px;
    }
    nav .fas {
        display: block;
        font-size: 25px;
    }
    nav ul {
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li {
        display: block;
        margin: 25px;
    }
    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
}

/* Make menu button visible for both small and big screens */
nav .fas.fa-bars {
    display: block;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
}

/* Adjust the layout for larger screens */
@media only screen and (min-width: 601px) {
    nav ul {
        display: flex;
        align-items: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    nav .fas.fa-bars {
        display: none;
    }
}
}

/* Header Text */
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.header-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.header-text p {
    font-size: 24px;
}

.header-text span {
    color: #854986;
}

/* About Section */
#about {
    background: #F0F0F0;
    padding: 80px 0;
    color: #080808;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Tabs Section */
.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #854986;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: width 0.5s ease;
}

.tab-links.active-link {
    color: #854986;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-content {
    display: none;
}

.tab-content.active-tab {
    display: block;
}

.tab-content ul {
    list-style-type: none;
}

.tab-content ul li {
    margin: 10px 0;
}

/* Services Section */
#services {
    padding: 80px 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 15px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover {
    background: #854986;
    transform: translateY(-10px);
}

/* Portfolio Section */
#portfolio {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#portfolio .sub-title {
    text-align: center;
    color: #333;
    margin-bottom: 50px;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.work:hover {
    transform: scale(1.05);
}


.work img {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #854986);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.layer p {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.layer a {
    color: #854986;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

.layer a:hover {
    background-color: #854986;
    color: #fff;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto 0;
    width: fit-content;
    border: 2px solid #854986;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #854986;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.5s, color 0.5s;
}

.btn:hover {
    background: #854986;
    color: #fff;
}

/* Ensure icons are visible */
.fas, .fab {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

/* Responsive design for work section */
@media only screen and (max-width: 768px) {
    .work-list {
        grid-template-columns: 1fr;
    }
    
    .layer {
        padding: 0 20px;
    }
    
    .layer h3 {
        font-size: 18px;
    }
    
    .layer p {
        font-size: 12px;
    }
}

/* Contact Section */
#contact {
    padding: 80px 0;
}

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #854986;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #f0e6e6;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #854986;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #854986;
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

/* CSS for small screens */
@media only screen and (max-width: 600px) {
    #header {
        background-image: url(Assets/WhatsApp\ Image\ 2024-09-13\ at\ 12.05.45_2.jpg);
    }
    .header-text {
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1 {
        font-size: 30px;
    }
    nav .fas {
        display: block;
        font-size: 25px;
    }
    nav ul {
        background: #854986;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li {
        display: block;
        margin: 25px;
    }
    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title {
        font-size: 40px;
    }
    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }
    .about-col-1 {
        margin-bottom: 30px;
    }
    .about-col-2 {
        font-size: 14px;
    }
    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right {
        flex-basis: 100%;
    }
    .copyright {
        font-size: 14px;
    }
}

#msg {
    color: #61b752;
    margin-top: -40px;
    display: block;
}