:root {
    --text-dark: #2b2b2b;
    --footer-bg: #c6a05b94;
    --nav-color: #AED3EE;
    --primary-blue: #2365a1;
    --secondary-blue: #3591d5;
    --accent-gold: #a3752d;
    --text-gray: #969696;
    --bg-white: #ffffff;
    --bg-footer: #dec8a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; /* Adjusted from default (16px) */
}

body {
    width: 100%;
    height: auto;
    background-color: var(--bg-white);
}

.main-container {
    width: 90%;
    margin: 5vh auto;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 3%;
    align-items: center;
    background-color: var(--nav-color);
    border-radius: 20px;
}

.logo img {
    width: 110px; /* Adjust logo size */
    height: 90px;
}

.nav-links {
    display: flex;
    flex: wrap;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-links a.active {
    color: black;
    text-decoration: underline;
}


/* Get In Touch Section Styling */
.get-in-touch {
    margin-top: 74px; /* 74px below the navbar */
    text-align: center; /* Center-align the heading */
    margin-bottom: 36px; /* Space between the heading and form */
}

/* Get In Touch Heading */
.get-in-touch h1 {
    margin: 0; /* Remove default margin */
    font-size: 4.5rem; /* Adjust font size */
    font-weight: bold;
    font-style: italic;
    text-align: start;
}

/* Contact Container to Align Form and Banner Side by Side */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; /* Space between form and banner */
    width: 100%;
    margin: 0 auto;
    height: auto;
}

/* Contact Form Styling */
.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 60%; /* Adjust the width of the form */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure space is distributed correctly */
}

/* Flex Layout for Full Name and Email Side by Side */
.contact-form .input-group {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Space between fields */
    margin-bottom: 20px; /* Spacing between the group and the next fields */
}

/* Flex Layout for Phone Number and Subject Side by Side */
.contact-form .second-input-group {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Space between fields */
    margin-bottom: 20px; /* Spacing between the group and the next fields */
}

/* Input Fields Styling */
.contact-form input,
.contact-form select {
    width: 100%; /* Make the fields take full width */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px; /* Add space below each input field */
}


.contact-form textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    resize: vertical; /* Allows user to resize the textarea */
}

/* Full Name and Email styling for Side-by-Side Layout */
.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 48%; /* Make each field take half width */
}

/* Phone Number and Subject styling for Side-by-Side Layout */
.contact-form input[type="tel"],
.contact-form select {
    width: 48%; /* Make each field take half width */
}


/* Submit Button */
.submit-btn {
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 642px; /* Set max-width */
    max-height: 60px; /* Set max-height */
    width: 100%; /* Allow button to resize within the max-width */
    height: auto; /* Allow height to adjust based on content */
    box-sizing: border-box; /* Include padding in the width and height calculation */
    margin-top: auto; /* Push the button to the bottom */
}

/* Hover Effect */
.submit-btn:hover {
    background-color: #0056b3;
}

/* Banner Styling */
.banner {
    flex: 1; /* Allow the banner to take the remaining space */
    background: url('images/PHOTOS/PBKJ_cricket_logo-png.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    border-radius: 8px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align the content to the top */
    text-align: center;
    height: 500px;
}

.banner h2 {
    font-size: 32px;
    font-weight: bold;
    margin-top: 20px; /* Add some space from the top */
}

/* Contact Information Section */
.contact-info {
    width: 100%;
    margin: 126px auto 0;
}

.contact-info h2 {
    font-size: 4.5rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.64px;
    line-height: 48px;
}

.info-items {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: center; /* Align items vertically in the center */
}

.icon {
    margin-top: 6px;
}

.icon svg {
    width: 30px;
    height: 30px;
}

.info-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.32px;
    line-height: 0.8rem;
}

.info-content p {
    font-size: 1rem;
    letter-spacing: 0.28px;
    line-height: 48px;
    margin-top: 10px;
}

/* Call Us Button */
.call-btn {
    width: 254px;
    height: 40px;
    background: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto; /* Adds space between button and content */
}


/* Location Section */
.location {
    width: 100%;
    margin-top: 100px;
}

.location h2 {
    font-size: 4.5rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.64px;
    line-height: 48px;
}

.map-card {
    width: 100%;
    height: auto;
    margin-top: 40px;
    background: #f6f6f6;
    border-radius: 20px;
    padding: 57px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-card iframe {
    width: 95%;
    height: 474px;
    object-fit: cover;
    border: solid 3px blue; 
    border-radius: 20px;
}

.map-image {
    width: 95%;
    height: 474px;
    object-fit: cover;
}

.map-btn {
    width: 401px;
    height: 60px;
    background: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 55px;
}

/* Footer */
footer {
    width: 100%;
    background-color: var(--footer-bg);
    padding: 1.5rem 0; /* Reduced padding */
}

.footer-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    align-items: flex-start;
    padding: 0 2rem;
}

.footer-logo {
    width: 30%;
}

.footer-logo img {
    width: 230px; /* Reduced logo size */
    height: 200px;
}

.footer-links{
    width: 70%;
    display: flex;
    justify-content: space-around;
}

.footer-links li {
    list-style: none;
    text-align: center;
    font-size: 1.2rem;
}

.footer-links li a {
    color: black;
    /* text-decoration: none; */
    font-size: 1.2rem;
}

.footer-heading {    
    font-size: 1.5rem; /* Adjusted heading size */
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
.credits {
    width: 100%;
}

.credits p,a {
    font-size: 1.2rem;
}

.footer-gap {
    margin-top: 15px; /* Space between Contact & Social Links */
}

.social-icons {
    display: flex;
    gap: 12px;  /* Space between icons */
    justify-content: left;
    align-items: center;
}

.social-icons a img {
    width: 25px;  
    height: 25px;
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-column {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a img {
        width: 18px;  
        height: 18px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container,
    .experts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 80px; /* Adjust logo size */
        height: 70px;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 20px;
    }

    .get-in-touch h1 {
        font-size: 3rem;
    }
    .contact-info {
        margin-top: 70px;
    }
    .contact-info h2 {
        font-size: 3rem;
    }
    .info-items{
        margin-top: 50px;
        gap: 30px;
    }
    .info-content h3 {
        font-size: 1.2rem;
        line-height: 0.5rem;
    }    
    .info-content p {
        font-size: 0.8rem;
        line-height: 30px;
        margin-top: 10px;
    }
    .location{
        margin-top: 70px;
    }
    .location h2 {
        font-size: 3rem;
    }
    .map-card {
        margin-top: 25px;
        padding: 20px 40px;
    }
    .map-card iframe {
        width: 100%;
        height: 250px;
    }
    .map-btn {
         font-size: 1.5rem;
         padding: 10px;
         width: 100%;
         margin-top: 30px;
    }


    .footer-logo img {
        width: 170px; /* Reduced logo size */
        height: 150px;
    }
    .footer-links li {
        list-style: none;
        text-align: center;
        font-size: 0.8rem;
    }
    .footer-links li {
        font-size: 0.8rem;
    }
    .footer-links li a {
        font-size: 0.8rem;
    }
    
    .footer-heading {    
        font-size: 1.3rem; /* Adjusted heading size */
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .credits {
        width: 100%;
    }
    .credits p,a {
        font-size: 0.8rem;
    }
}

@media (max-width: 580px) {
    .logo img {
        width: 60px; /* Adjust logo size */
        height: 50px;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 10px;
    }

    .get-in-touch h1 {
        font-size: 2rem;
    }
    .contact-info{
        margin-top: 50px;
    }
    .contact-form {
        width: 100%;
    }
    .contact-form input,.contact-form select {
        font-size: 10px;
    }  
    .contact-info h2 {
        font-size: 2rem;
    }
    .info-items{
        gap: 30px;
        margin-top: 30px;
    }
    .info-content h3 {
        font-size: 1rem;
        line-height: 0.2rem;
    }    
    .info-content p {
        font-size: 0.7rem;
        line-height: 15px;
        margin-top: 10px;
    }
    .call-btn {
        width: 120px;
        height: 20px;
        font-size: 0.7rem;
    }
    .location{
        margin-top: 50px;
    }
    .location h2 {
        font-size: 2rem;
    }
    .map-card {
        margin-top: 10px;
        padding: 15px 30px;
    }
    .map-card iframe {
        width: 100%;
        height: 250px;
    }
    .map-btn {
         font-size: 1rem;
         padding: 10px;
         width: 100%;
         margin-top: 30px;
    }

    .footer-logo img {
        width: 80px; /* Reduced logo size */
        height: 70px;
    }
    .footer-links li {
        list-style: none;
        text-align: center;
        font-size: 0.5rem;
    }        
    .footer-links li {
        font-size: 0.5rem;
    }
    .footer-links li a {
        font-size: 0.5rem;
    }
    .footer-heading {    
        font-size: 0.8rem; /* Adjusted heading size */
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .credits {
        margin-top: 20px;
        font-size: 0.5rem;
        width: 100%;
    }
    .credits p,a {
        font-size: 0.5rem;
    }
}
