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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #ffffff;
    background-image: url('../images/Background/RedBackground.jpeg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-block-start: 50px; /* Adjust this based on the height of your header */
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black for glassy effect */
    backdrop-filter: blur(10px); /* Adds the glassy blur effect */
    color: white;
    padding: 5px 10px;
    position: fixed;
    inline-size: 100%;
    inset-block-start: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a soft shadow for depth */
}


header .logo {
    font-size: 24px;
    font-weight: bold;
}

/* Navbar styles */
nav {
    block-size: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    inline-size: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    margin-inline-end: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 50px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}


.checkbtn {
    font-size: 22px;
    color: white;
    line-height: 50px;
    margin-inline-end: 30px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/* Responsive Styles */
@media (max-width: 890px) {
    .checkbtn {
        display: block; /* Show hamburger icon */
    }

    nav ul {
        position: fixed; /* Make the menu fixed on the screen */
        inline-size: 100%;
        block-size: 100vh;
        background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black for glassy effect */
        backdrop-filter: blur(10px); /* Adds the glassy blur effect */
        inset-block-start: 50px; /* Position below the navbar */
        inset-inline-start: -100%; /* Hide offscreen initially */
        text-align: center;
        transition: all 0.5s; /* Smooth transition */
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a soft shadow for depth */
    }

    nav ul li {
        display: block; /* Stack nav items vertically */
        margin: 20px 0; /* Spacing between items */
        line-height: 30px; /* Adjust line height */
    }

    nav ul li a {
        font-size: 20px; /* Increase font size on mobile */
        color: white; /* Ensure text is visible */
    }

    a:hover,
    a.active {
        background: none; /* No additional background on hover or active state */
        color: white; /* Keep text color consistent */
    }

    #check:checked ~ ul {
        inset-inline-start: 0; /* Slide in menu when checkbox is checked */
    }
}


.hero {
    position: relative;
    overflow: hidden;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 100px 20px;
}

.background-video {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    min-inline-size: 100%;
    min-block-size: 100%;
    inline-size: auto;
    block-size: auto;
    z-index: -1; /* Set the video behind other elements */
    transform: translate(-50%, -50%);
}

footer {
    background-color: #111;
}

.footerContainer {
    inline-size: 100%;
    padding: 70px 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.footerLogo img {
    block-size: 80px; /* Increase height to make the logo larger */
    inline-size: auto; /* Ensures the width scales proportionally */
}


/* Align social icons and navigation to the right */
.footerContent {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #000; 
    padding: 10px;
    text-align: center; /* Center align all text inside */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

.footerBottom p {
    color: white;
    margin: 0; /* Remove any default margins */
    font-size: 1em; /* Adjust font size as desired */
    opacity: 0.8; /* Optional: decrease opacity for a subtle look */
    font-weight: 400; /* Optional: adjust font weight if needed */
}


.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* Responsive layout adjustments */
@media (max-width: 700px) {
    .footerContainer {
        flex-direction: column;
        align-items: center;
    }

    .footerContent {
        align-items: center;
    }
    
    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        inline-size: 100%;
        text-align: center;
        margin: 10px;
    }

    .socialIcons a {
        padding: 8px;
        margin: 4px;
    }
}



.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    block-size: 100vh;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    margin-block-end: 20px;
}

p {
    font-size: 1.2rem;
    margin-block-end: 30px;
    line-height: 1.5;
    max-inline-size: 500px;
}

.button {
    padding: 15px 30px;
    background-color: #ff69b4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card {
    position: relative;
    inline-size: 300px;
    block-size: 360px;
    perspective: 1000px;
    cursor: pointer;
}

.card-front,
.card-back {
    position: absolute;
    inline-size: 100%;
    block-size: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Adjust grid size */
    grid-gap: 10px;
    position: relative;
}

.card-back {
    transform: rotateY(180deg);
}

/* Hover effect */
.card:hover .card-front {
    transform: rotateY(180deg);
}

.card:hover .card-back {
    transform: rotateY(360deg);
}

/* Additional styling */
h2 {
    margin-block-end: 15px;
    color: #ffffff;
}

h3 {
    margin-block-end: 15px;
    color: #000000;
}

.card-front h3 {
    margin-block-start: 5px; /* Adjust this value as needed */
    padding-block-start: 5px; /* Adjust this value as needed */
}

.card-front p {
    margin-block-start: -10px; /* Adjust this value as needed */
    padding-block-start: 0; /* Ensure there’s no extra padding pushing it downward */
}

/* Paragraph styling */
p {
    color: #666;
    line-height: 1.5;
}

.profile-image {
    inline-size: 100%;
    block-size: auto;
    border-radius: 10px; /* Optional: round the image corners */
}

.social-links {
    margin-block-start: 20px;
}

.social-links a {
    margin-inline-end: 10px;
    text-decoration: none;
    color: #007BFF; /* Change color as needed */
    font-size: 24px; /* Adjust icon size */
}

.social-links a:hover {
    color: #0056b3; /* Change hover color */
}

@media (max-width: 767px) {
    header {
        padding: 10px 15px; /* Smaller padding for header */
    }

    .logo {
        font-size: 18px; /* Adjust logo size */
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically */
        align-items: center;
    }

    nav ul li {
        margin-inline-start: 0; /* Reset margin for stacked items */
        margin-block-end: 10px;
    }

    .contact-container {
        margin-block-start: 20px; /* Adjust margin for contact container */
    }

    .left-section h2, .right-section input, .right-section textarea, .right-section button {
        font-size: 14px; /* Uniform smaller font size on mobile */
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .contact-container {
        flex-direction: row; /* Row layout on larger screens */
    }

    .left-section, .right-section {
        inline-size: 50%; /* Equal width for left and right sections */
        padding: 40px;
    }

    .left-section h2 {
        font-size: 24px; /* Increase heading size */
    }

    .right-section input, .right-section textarea {
        font-size: 16px; /* Larger input font size */
    }

    .right-section button {
        padding: 15px; /* Larger button padding */
        font-size: 16px;
    }
}
/* Container for the tabs */
.tabs {
display: flex;
justify-content: center; /* Center-align the tabs */
align-items: center;
gap: 10px;
margin-block-end: 20px;
margin-block-start: 50px; /* Added to push the tabs downward */
}

/* Style for each tab */
.tab {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

/* Inactive tab style */
.tab.inactive {
    background-color: black;
    color: white;
}

/* Active tab style */
.tab.active {
    background-color: #0088ff; /* Orange */
    color: white;
}

/* Content container */
.content {
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    text-align: center; /* Center-align content */
}

/* Card Styles */
.card {
    position: relative;
    inline-size: 300px;
    block-size: 360px;
    perspective: 1000px;
    cursor: pointer;
    margin: 10px; /* Added margin for spacing */
}

.card-front,
.card-back {
    position: absolute;
    inline-size: 100%;
    block-size: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-back {
    transform: rotateY(180deg);
}

/* Hover effect */
.card:hover .card-front {
    transform: rotateY(180deg);
}

.card:hover .card-back {
    transform: rotateY(360deg);
}

h2 {
    margin-block-end: 15px;
    color: #ffffff;
}

h3 {
    margin-block-end: 15px;
    color: #000000;
}

p {
    color: #666;
    line-height: 1.5;
}

.profile-image {
    inline-size: 100%;
    block-size: auto;
    border-radius: 10px;
}

.social-links {
    margin-block-start: 20px;
}

.social-links a {
    margin-inline-end: 10px;
    text-decoration: none;
    color: #007BFF;
    font-size: 24px;
}

.social-links a:hover {
    color: #0056b3;
}

/* Grid layout for cards */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive columns */
gap: 20px; /* Space between cards */
justify-items: center; /* Center cards horizontally */
margin-block-end: 50px; /* Added space between the card grid and footer */
}

.square-image-legacy {
inline-size: 100%; /* Adjust as needed */
padding-block-start: 100%; /* Creates a 1:1 aspect ratio */
position: relative;
overflow: hidden;
}
.square-image-legacy img {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
inline-size: 100%;
block-size: 100%;
object-fit: cover;
}