/* Basic Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.indented-list {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

body {
    font-family: 'Rubik', sans-serif; 
    font-weight: 300; /* Use the "Regular" weight you downloaded */
    line-height: 1.5;
    background-color: #ffffff;
    color: #333;
}
h1, h2, h3 {
  font-weight: 600; /* Use the "Bold" weight for headings */
}

/* Header and Navigation Styles */
header {
    font-family: 'Rubik', sans-serif; 
    font-weight: 600;
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .nav-logo {
    font-size: 1rem;
    font-weight: 1;
    text-decoration: none;
    color: #333;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #156082;
}


/* The Logo container*/
.logo-container {
  display: flex; /* Make this container a flexbox itself */
  align-items: center; /* Vertically center the text with the logo */
  gap: 1rem; /* Create a small, consistent space between the logo and text *//* Adjust the value as needed (e.g., 16px) */
  text-decoration: none; /* Remove the default underline from the link */
  color: #333; /* Set the text color explicitly */
}
.logo-container img {
  height: 40px; /* Example height */
}
.logo-container span {
  font-weight: 500;
  font-size: 1.1rem;
}

/* --- Dropdown Menu Styles --- */
.dropdown {
  position: relative; /* This is crucial! It creates a positioning context for the child menu. */
}
.dropdown-menu {
  display: none; /* Hide the menu by default */
  position: absolute; /* Take the menu out of the normal document flow */
  top: 100%; /* Position it right below the parent */
  left: 0;
  
  background-color: white;
  min-width: 220px; /* Give it a nice width */
  list-style: none; /* Remove default list bullets */
  padding: 0.5rem 0; /* Add some vertical padding */
  margin: 0;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 100; /* Ensure it appears above other content */
}
.dropdown-menu li a {
  display: block; /* Make the entire area clickable, not just the text */
  padding: 0.75rem 1.5rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap; /* Prevent links from wrapping to a new line */
  font-weight: 400; /* A "normal" font weight */
}
.dropdown-menu li a:hover {
  background-color: #f4f4f4; /* Add a hover effect */
}
/* 4. The magic: Show the dropdown menu when hovering over the parent */
.dropdown:hover .dropdown-menu {
  display: block;
}
/* Optional: Add a small arrow to indicate a dropdown */
.dropdown-toggle::after {
  content: ' ▼'; /* Add a down arrow character */
  font-size: 0.6em; /* Make the arrow a bit smaller */
  vertical-align: middle;
  margin-left: 0.3rem;
}


/* the language switcher */
.language-switcher {
  display: flex;
  align-items: center;
  font-size: 1rem; /* Adjust size as needed */
  font-weight: 500;
}
.language-switcher .current-lang {
  color: #000; /* A strong, solid color for the active language */
  font-weight: 700; /* Make it bolder */
}
.language-switcher a { /* Style for the INACTIVE language (the link) */
  color: #666; /* A slightly muted color for the inactive language */
  text-decoration: none;
  transition: color 0.3s ease;
}
.language-switcher a:hover {
  color: #007BFF; /* A highlight color on hover */
  text-decoration: underline;
}
.language-switcher .separator {
  color: #ccc; /* A very light color for the separator */
  margin: 0 0.5rem; /* Give it some space */
}


/* Style the section for the full-width background */
.full-width-section {
  /* background-image: url('../images/Blue/torbole1.jpg'); */
  background-size: cover;
  background-position: center;
  text-align: center;
  /* Add padding for vertical spacing. No horizontal padding needed here. */
  padding: 6rem 0;
  color: white; /* Assuming you need light text for a dark image */
}
.full-width-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Main Content Styles */
main {
    max-width: 1280px; /*Alternative 960 standard*/
    margin: 2rem auto;
    padding: 0 2rem;
}
main ul,
main ol {
  padding-left: 1.5rem; /* Or your preferred value, like 40px */
}

/* HERO */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: #fff;
    border-radius: 8px;
      /* Set the background image 
    background-image: url('../images/Blue/torbole1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.hero h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* QUOTE */
.quote {
    text-align: left;
    padding: 4rem 1rem;
    background: #ffffff;
    border-radius: 8px;
    color: #000000;
}
.quote h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.quote h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.quote h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.quote p {
     margin-bottom: 1rem;
     padding: 1.5rem;
}

/* PORTFOLIO CARDS */
.portfolio-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
}
/* 1. The Flexbox Container */
.portfolio-grid {
  display: flex;            /* Activates Flexbox */
  justify-content: center;  /* Centers the cards if there's extra space */
  gap: 0.1rem;                /* Creates a 2rem space between the cards */
}
/* 2. The horizontal  Card Styling */
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;         /* Ensures the image corners don't poke out */
    flex: 1;                  /* Allows each card to grow and take up equal space */
    max-width: 430px;         /* Optional: Prevents cards from getting too wide on large screens. 350px for 960 max width of ain section*/
    transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px); /* Adds a subtle lift effect on hover */
}
/* 3. Styling the Content Inside the Card */
.card img {
  width: 100%;              /* Makes the image fill the card's width */
  display: block;           /* Removes any extra space below the image */
}
.card-content {
    /* This is crucial: it tells the content area to expand and fill
     any available vertical space inside the card. */
    flex-grow: 1;
    /* We also make this a flex container to position the button inside it. */
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}
.card-content h3 {
  margin-bottom: 0.5rem;
}
.card-content p {
  margin-bottom: 1.5rem;
}
.card-button {
    /* This tells the button to take up all available vertical space
     as its top margin, pushing it to the very bottom. */
    margin-top: auto; 
    /* This prevents the button from stretching to full width,
     keeping its original size. */
    align-self: flex-start;
    display: inline-block;
    background: #156082;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
}
.card-button:hover {
  background: #939393;
}

/* SPLIT LAYOUT */
    .split-layout {
    display: flex;
    gap: 2rem;
    background-color: #fff; /* A background for the whole component */
    padding: 0rem;
    border-radius: 2px;
    }
    .split-image-column {
     /* This is the key change. We are setting a fixed base width. */
    /* flex: [grow] [shrink] [basis]; */
    flex: 0 0 200px; /* Do not grow, do not shrink, start at 200px wide */
    min-height: 450px; /* Ensures a minimum height on desktop */
    /* Background image properties */
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    }
    /* 3. The Right Cards Column */
    .split-cards-column {
    flex: 1; /* Takes up the other half of the space */
    display: flex;
    flex-direction: column; /* Stacks the cards vertically */
    justify-content: space-between; /* Distributes cards evenly to fill the height */
    gap: 1.5rem; /* Space between the cards */
    }
    /* 4. Individual Card Styling */
    .info-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 2px;
    }
    .info-card h3 {
    margin-bottom: 0.5rem;
    }
    .info-card p {
    margin-bottom: 0.5rem;
    }

/* POrtfolio Summary */
.portfolio-summary {
  /* Spacing and Sizing */
  /* max-width: 800px; /* Make it a bit wider than a single card, but not full-width */
  margin: 4rem auto 2rem auto; /* Center it horizontally with nice vertical spacing */
  padding: 2.5rem;
  /* Visual Style - In line with your cards */
  background-color: #ffffff; 
  border: 1px solid #ffffff; 
  border-radius: 2px; /* Consistent with other rounded corners on your site */
  text-align: left; /* Center the text for a "summary" feel */
}
.portfolio-summary h3 {
  /* Style for the heading inside the box */
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}
.portfolio-summary p {
  /* Style for the main paragraph */
  color: #555;
  line-height: 1.7; /* A slightly more open line height for readability */
  margin-bottom: 2rem;
}
.portfolio-summary .summary-button {
  /* Re-using and adapting your button style */
  display: inline-block;
  background: #156082;
  color: #ffffff;
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.3s;
}
.portfolio-summary .summary-button:hover {
  background: #1b7aA5; /* A slightly lighter shade for hover */
  transform: translateY(-2px);
}

/* CTA */ 
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #156082;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    color: #000000;
}


/* contact section */
/* Section styling */
.contact-section {
  background-color: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  max-width: 700px;
  margin: 2rem auto;
}
.contact-section h2, .contact-section p {
  text-align: center;
}
.contact-section p {
  margin-bottom: 2rem;
  color: #666;
}
/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.form-group input,
.form-group textarea {
  width: 100%;
  /* Increased padding for more height and space */
  padding: 1rem 1.2rem; 
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  /* Slightly larger font for better readability */
  font-size: 1.1rem; 
  background-color: #f8f9fa; /* Optional: A very light background can also help them stand out */
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Visual feedback when a field is focused */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #156082;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* Submit button styling */
.submit-button {
  padding: 1rem 2rem;
  background-color: #156082;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start; /* Align button to the left */
  transition: background-color 0.3s;
}
.submit-button:hover {
  background-color: #156082;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .portfolio-grid {
    flex-direction: column; /* Stacks the cards vertically on smaller screens */
    align-items: center;    /* Centers the stacked cards */
    }

    /* 5. Responsive behavior for smaller screens */
    .split-layout {
    flex-direction: column; /* Stacks the image column on top of the cards column */
    }

    .split-image-column {
    min-height: 250px; /* A shorter height is better for mobile */
    }
}