/* Global Responsive Styles */
:root {
    --header-height: 80px;
}

/* Header & Navigation */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 6rem !important;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .sideMenuButton {
        margin-left: 1rem;
    }
}

/* Hero Section */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Service Cards */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 2rem;
    }

    .service-card img {
        height: 200px;
        object-fit: cover;
    }
}

/* Team Section */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }

    .team-card img {
        height: 300px;
        object-fit: cover;
    }
}

/* Portfolio Grid */
@media (max-width: 768px) {
    .portfolio-item {
        margin-bottom: 1.5rem;
    }

    .portfolio-item img {
        height: 250px;
        object-fit: cover;
    }
}

/* Blog Posts */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 2rem;
    }

    .blog-card img {
        height: 200px;
        object-fit: cover;
    }
}

/* Contact Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        margin-top: 2rem;
    }
}

/* Footer */
@media (max-width: 768px) {
    .footer-widget {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Partner Logo Styles */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .partners-slide {
        margin-left: 0 !important;
        gap: 20px !important;
    }
    
    .partner-logo {
        width: calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .partner-logo img {
        max-height: 60px !important;
    }

    /* General Mobile Adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
    h5, .h5 { font-size: 1.1rem; }
    h6, .h6 { font-size: 1rem; }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        width: calc(100% - 20px);
    }
    
    .partner-logo img {
        max-height: 50px !important;
    }

    /* Extra Small Device Adjustments */
    .navbar-brand img {
        height: 5rem !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .cta-content {
        text-align: center;
        padding: 2rem 1rem;
    }
}

/* Fix for Offcanvas Menu */
.offcanvas {
    max-width: 300px;
}

.offcanvas-body {
    padding: 1.5rem;
}

/* Fix for Images */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Fix for Forms */
.form-control {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Fix for Buttons */
.btn {
    white-space: normal;
    word-wrap: break-word;
}

/* Fix for Text Overflow */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fix for Spacing */
.mobile-mb-3 {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .mobile-mb-3 {
        margin-bottom: 3rem;
    }
}

/* Privacy Policy & Terms & Conditions Pages */
.policy-content,
.terms-content {
    padding: 2rem 0;
}

.policy-content h2,
.terms-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.policy-content h3,
.terms-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.policy-content p,
.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
}

.policy-content ul,
.terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li,
.terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content .last-updated,
.terms-content .last-updated {
    font-style: italic;
    color: #888;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .policy-content,
    .terms-content {
        padding: 1.5rem 0;
    }

    .policy-content h2,
    .terms-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .policy-content h3,
    .terms-content h3 {
        font-size: 1.35rem;
        margin: 1.5rem 0 1rem;
    }

    .policy-content p,
    .terms-content p {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .policy-content ul,
    .terms-content ul {
        margin-bottom: 1.25rem;
        padding-left: 1.25rem;
    }

    .policy-content li,
    .terms-content li {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
    }
}

@media (max-width: 576px) {
    .policy-content,
    .terms-content {
        padding: 1rem 0;
    }

    .policy-content h2,
    .terms-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .policy-content h3,
    .terms-content h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.875rem;
    }

    .policy-content p,
    .terms-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .policy-content ul,
    .terms-content ul {
        margin-bottom: 1rem;
        padding-left: 1rem;
    }

    .policy-content li,
    .terms-content li {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .policy-content .last-updated,
    .terms-content .last-updated {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
}

/* Sidebar Menu Styles */
.right-side-vorix-offcanvas {
    width: 100%;
    max-width: 500px;
    background: #fff;
}

.offcanvas-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-header .dark-logo,
.offcanvas-header .light-logo {
    height: 7rem !important;
}

.offcanvas-body {
    padding: 2.5rem;
    overflow-y: auto;
}

.offcanvas-body h4 {
    color: #013064;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.offcanvas-body p {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-info {
    margin-bottom: 2.5rem;
}

.contact-info > div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info .icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.contact-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.contact-info h5 a {
    color: #013064;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info h5 a:hover {
    color: #f1c885;
}

.social-nav {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.social-nav a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #013064;
    transition: all 0.3s ease;
}

.social-nav a:hover {
    background: #f1c885;
    color: #fff;
    transform: translateY(-3px);
}

.cta-btn {
    text-align: center;
}

.cta-btn a {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: #013064;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-btn a:hover {
    background: #f1c885;
    transform: translateY(-3px);
}

/* Mobile Responsive Styles for Sidebar */
@media (max-width: 576px) {
    .right-side-vorix-offcanvas {
        max-width: 100%;
    }

    .offcanvas-header {
        padding: 1.5rem;
    }

    .offcanvas-header .dark-logo,
    .offcanvas-header .light-logo {
        height: 6rem !important;
    }

    .offcanvas-body {
        padding: 2rem;
    }

    .offcanvas-body h4 {
        font-size: 1.5rem;
    }

    .contact-info > div {
        margin-bottom: 1.5rem;
    }

    .contact-info .icon {
        margin-right: 1rem;
    }

    .social-nav {
        gap: 1rem;
    }

    .social-nav a {
        width: 40px;
        height: 40px;
    }

    .cta-btn a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Custom styles for Clay website */

/* Logo styles */
.dark-logo, .light-logo {
    height: 8rem;
}

.footer .dark-logo, .footer .light-logo {
    height: 10rem;
}

/* Text alignment */
.text-justify {
    text-align: justify !important;
}

/* Background images */
.bg-img-32 {
    background-image: url('../img/bg-img/32.jpg');
}

.bg-img-11 {
    background-image: url('../img/bg-img/11.jpg');
}

.bg-img-8 {
    background-image: url('../img/bg-img/8.jpg');
}

.bg-img-12 {
    background-image: url('../img/bg-img/12.jpg');
}

.bg-img-10 {
    background-image: url('../img/bg-img/10.jpg');
}

.bg-img-7 {
    background-image: url('../img/bg-img/7.jpg');
}

.bg-img-9 {
    background-image: url('../img/bg-img/9.jpg');
}

.bg-img-13 {
    background-image: url('../img/bg-img/13.jpg');
}

/* Partner logos */
.partner-logo {
    max-height: 80px;
    width: auto;
}

/* Swiper slides */
.swiper-slide.service-slide {
    height: 28rem;
}

/* Text colors */
.text-primary-color {
    color: #013064;
}

/* Footer styles */
.footer h6 {
    color: #000;
}

/* Map info window */
.map-info-window {
    padding: 10px;
}

.map-info-window strong {
    display: block;
    margin-bottom: 5px;
}

/* Target only descriptive paragraphs */
.cta-content p,
.mission-vision-content p,
.about-content p,
.service-content p,
.team-content p,
.testimonial-content p,
.blog-content p,
.contact-content p,
.footer-content p,
.description-text {
    text-align: justify !important;
    text-justify: inter-word !important;
    -moz-text-align-last: justify !important;
    width: 100%;
    display: block;
}

/* Container padding */
.cta-content,
.mission-vision-content,
.about-content,
.service-content,
.team-content,
.testimonial-content,
.blog-content,
.contact-content,
.footer-content {
    width: 100%;
    padding: 20px;
}

/* Contact Page Responsive Styles */
.contact-form {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
    border-radius: 15px;
}

@media (min-width: 768px) {
    .contact-form {
        padding: 3rem 2rem;
        margin: 3rem 2rem;
    }
}

@media (min-width: 992px) {
    .contact-form {
        padding: 4rem 3rem;
        margin: 4rem 3rem;
    }
}

/* Form Controls */
.contact-form .form-control {
    height: 3.5rem;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-form .form-control {
        height: 4rem;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
}

@media (min-width: 768px) {
    .contact-form textarea.form-control {
        height: 200px;
    }
}

/* Google Maps */
.maps-wrap {
    position: relative;
    height: 300px;
    margin: 2rem 0;
}

.maps-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .maps-wrap {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .maps-wrap {
        height: 500px;
    }
}

/* Loading State for Map */
.maps-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maps-wrap.loaded::before {
    display: none;
}

/* Contact Page Form Position */
.contact-page-form {
    transform: translateY(-100px);
}

@media (max-width: 768px) {
    .contact-page-form {
        transform: translateY(-50px);
    }
}

/* Contact Info Sections */
.contact-info-section {
    position: relative;
}

/* Dividing line between sections */
@media (min-width: 768px) {
    .col-md-6:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%;
        background-color: #000000;
    }
}

@media (max-width: 767px) {
    .col-12:first-child {
        border-bottom: 2px solid #000000;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

.contact-info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.flag-img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.contact-info-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1A1A1A;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card:last-child {
    margin-bottom: 0;
}

.contact-info-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(241, 200, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-info-card p {
    color: #f1c885;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info-card h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info-card h4:last-child {
    margin-bottom: 0;
}

.contact-info-card h4 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card h4 a:hover {
    color: #f1c885;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .contact-info-section h3 {
        font-size: 1.75rem;
    }

    .flag-img {
        width: 225px;
        height: 150px;
    }

    .contact-info-card {
        padding: 2.5rem;
    }

    .contact-info-card .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .contact-info-card p {
        font-size: 1.1rem;
    }

    .contact-info-card h4 {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .contact-info-section h3 {
        font-size: 2rem;
    }

    .flag-img {
        width: 270px;
        height: 180px;
    }

    .contact-info-card {
        padding: 3rem;
    }

    .contact-info-card .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .contact-info-card p {
        font-size: 1.2rem;
    }

    .contact-info-card h4 {
        font-size: 1.3rem;
    }
} 