/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.2;
}

/* Header with logo and language selector */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 300px;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 5px 15px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;  /* Remove underline from links */
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.lang-option:hover {
    background-color: #00796b;
    color: white;
}

.flag {
    width: 20px;
    height: auto;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: flex;  /* Added to make sure text is aligned properly */
    justify-content: center;  /* Center the text horizontally */
    align-items: center;  /* Center the text vertically */
    padding: 15px 30px;  /* Increased padding for wider buttons */
    border-radius: 30px;
    font-weight: bold;
    text-transform: capitalize;
    cursor: pointer;
    border: none;
    font-size: 16px;
    min-width: 160px;  /* Ensures buttons are wide enough */
    text-decoration: none;  /* Remove underline */
}

.sign-in {
    background-color: #00796b;
    color: white;
}

.sign-up {
    background-color: #ff9800;
    color: white;
}

.sign-in:hover, .sign-up:hover {
    opacity: 0.8;
}

/* Slider section */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #f1f1f1;
}

.slider-images {
    display: flex;
    transition: transform 1s ease;
}

.slider-item {
    min-width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

/* Slider Dots Styling */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

.dot:hover {
    background-color: #717171;
}

/* About drFolio Section */
.about-drfolio {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.about-drfolio h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.about-drfolio p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Section Styling */
.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-image {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.feature-content {
    flex: 2;
    padding: 20px;
    text-align: left;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Contact Us Section */
.contact-us {
    padding: 40px 20px;
    background-color: #fff;
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the background */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    text-align: center;
    position: relative; /* Makes sure the text is on top of the background */
}

/* Optional: If you want to add a fallback color */
.contact-us {
    background-color: #f4f4f4;  /* A fallback background color */
}

/* Styling for Heading and Form */
.contact-us h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.contact-us form {
    max-width: 600px;
    margin: 0 auto;
    position: relative; /* To make sure the form is on top of the background */
    z-index: 1; /* Ensures the form stays above the background */
}

/* Form inputs and textarea */
.contact-us form input,
.contact-us form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Submit button styling */
.contact-us form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #00796b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-us form button:hover {
    background-color: #004d40;
}


/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-us form {
        width: 100%;
        padding: 0 10px;
    }
}/* Contact Us Section */
.contact-us {
    padding: 40px 20px;
    background-color: #fff;
    background-image: url('images/contact-background.svg');  /* Path to your SVG file */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the background */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    text-align: center;
    position: relative; /* Makes sure the text is on top of the background */
}

.contact-us h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.contact-us form {
    max-width: 600px;
    margin: 0 auto;
    position: relative; /* To make sure the form is on top of the background */
    z-index: 1; /* To ensure the form is above the background */
}

.contact-us form input,
.contact-us form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-us form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #00796b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-us form button:hover {
    background-color: #004d40;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-us form {
        width: 100%;
        padding: 0 10px;
    }
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 30px;
    text-align: center;
}

/* Container to hold the 3 columns */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;  /* Space between the columns */
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

/* Footer Column (Language, Social Icons, Newsletter) */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Distribute space evenly between columns */
}

/* Language Selector Styles */
.language-selector {
    margin-bottom: 10px;
}

.lang-option {
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

.flag {
    width: 20px;  /* Adjust flag icon size */
    height: 20px;
    margin-right: 5px;
}

/* Social Media Icons Styles */
.social-media-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    opacity: 0.8; /* Faded effect on hover */
}

/* Newsletter Form Styles */
.newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter input {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    width: 250px; /* Adjust width */
    margin-right: 10px; /* Space between input and button */
}

.newsletter button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter button:hover {
    opacity: 0.8; /* Hover effect */
}

/* Footer Text */
.footer-text {
    font-size: 14px;
    color: #bbb;
    margin-top: 20px;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 100px;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button.btn.sign-up {
  width: 100%;
  padding: 10px;
}

/* The Ajax message box */
#messageBox {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
}

.success-message {
    color: #28a745;
    background: #e6f9e6;
    border: 1px solid #28a745;
    padding: 10px;
    border-radius: 5px;
}

.error-message {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #dc3545;
    padding: 10px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider {
        flex-direction: column;
        text-align: center;
    }

    .slider-text {
        max-width: 100%;
        text-align: center;
    }

    .auth-buttons {
        flex-direction: column;
    }

    .contact-us form input, .contact-us form textarea {
        width: 100%;
    }

    .newsletter input {
        width: 100%;
    }

    /* Mobile Feature Section */
    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-image {
        margin-bottom: 20px;
    }

    .feature-content {
        text-align: center;
    }

    .feature-image img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-drfolio h2 {
        font-size: 30px;
    }

    .about-drfolio p {
        font-size: 16px;
    }
}

